Skip to content

Commit

Permalink
fixed plot
Browse files Browse the repository at this point in the history
  • Loading branch information
kasperg3 committed Aug 27, 2024
1 parent 76e9845 commit 69b7d17
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion trajallocpy/Utility.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ def plotAgents(self, robot_list: list[CBBA.agent]):
def plotAgent(self, robot: CBBA.agent, total_number_of_robots):
task_x = []
task_y = []
p, _ = Agent.getTravelPath(robot.state, robot.getPathTasks(), robot.environment)
p, _, _ = Agent.getTravelPath(robot.state, robot.getPathTasks(), robot.environment)

for s in p:
task_x.append(s[0])
Expand Down

0 comments on commit 69b7d17

Please # to comment.