refactored constraint plotting to remove superfluous property

This commit is contained in:
2026-03-31 22:10:43 -07:00
parent 0bcdd73882
commit 8da65278a2
6 changed files with 22 additions and 19 deletions
-5
View File
@@ -132,11 +132,6 @@ function [obj] = constrainMotion(obj)
idx = idx + 6;
end
if coder.target('MATLAB')
% Save off h function values (logging only not needed in compiled mode)
obj.h(:, obj.timestepIndex) = [h(triu(true(nAgents), 1)); reshape(hObs, [], 1); h_xMin; h_xMax; h_yMin; h_yMax; h_zMin; h_zMax;];
end
% Add communication network constraints
hComms = NaN(nAgents, nAgents);
hComms(logical(eye(nAgents))) = 0;