codegen fixes, bug fixes, gets running on testbed environment

This commit is contained in:
kdee committed 2026-03-09 21:23:31 -07:00
1 parent 58d87cd16f
commit 1ada914384
38 files changed
+1732 -263

No files matched your search

+3 -1
View File
@@ -23,7 +23,9 @@ function obj = initialize(obj, pos, collisionGeometry, sensorModel, comRange, ma
obj.stepDecayRate = obj.initialStepSize / maxIter;
% Initialize performance vector
obj.performance = [0, NaN(1, maxIter), 0];
if coder.target('MATLAB')
obj.performance = [0, NaN(1, maxIter), 0];
end
% Add spherical geometry based on com range
obj.commsGeometry = obj.commsGeometry.initialize(obj.pos, comRange, REGION_TYPE.COMMS, sprintf("%s Comms Geometry", obj.label));