added communications geometry
This commit is contained in:
@@ -22,7 +22,7 @@ function obj = plot(obj)
|
||||
% Plot objective gradient
|
||||
obj.f = obj.domain.objective.plot(obj.objectivePlotIndices, obj.f);
|
||||
|
||||
% Plot agents and their collision geometries
|
||||
% Plot agents and their collision/communications geometries
|
||||
for ii = 1:size(obj.agents, 1)
|
||||
[obj.agents{ii}, obj.f] = obj.agents{ii}.plot(obj.spatialPlotIndices, obj.f);
|
||||
end
|
||||
|
||||
@@ -12,7 +12,7 @@ function [obj] = updatePlots(obj, updatePartitions)
|
||||
return;
|
||||
end
|
||||
|
||||
% Update agent positions, collision geometries
|
||||
% Update agent positions, collision/communication geometries
|
||||
for ii = 1:size(obj.agents, 1)
|
||||
obj.agents{ii}.updatePlots();
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user