Created
May 27, 2019 10:28
-
-
Save Eric97/759eec4f635dfa04ac6bbeb1eec9fa0e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rmf@rmf-P52 ~/rmf $ ros2 run robot_traffic_control sector_controller | |
[INFO] [sector_controller]: entering spin loop... Ctrl+C to exit | |
[INFO] [sector_controller]: received map | |
[INFO] [sector_controller]: found 1 future conflicts | |
[INFO] [sector_controller]: {'r0_name': 'Sesto_3', 'r1_name': 'Sesto_0', 't': 0, 'x': 16.946022271822226, 'y': -18.70198922110956, 'z': -4.483459275061996e-06, 'dist': 1.1600211204973963, 'sim_pos_0_idx': 0, 'sim_pos_1_idx': 0, 't_0': 0, 't_1': 0, 'step_type_0': 'idle', 'step_type_1': 'idle'} | |
[INFO] [sector_controller]: resolving conflict {'r0_name': 'Sesto_3', 'r1_name': 'Sesto_0', 't': 0, 'x': 16.946022271822226, 'y': -18.70198922110956, 'z': -4.483459275061996e-06, 'dist': 1.1600211204973963, 'sim_pos_0_idx': 0, 'sim_pos_1_idx': 0, 't_0': 0, 't_1': 0, 'step_type_0': 'idle', 'step_type_1': 'idle'} | |
winners: ['Sesto_3'] | |
[INFO] [sector_controller]: rerouting Sesto_0 | |
Traceback (most recent call last): | |
File "/home/rmf/rmf/build/ros2/install/robot_traffic_control/lib/robot_traffic_control/sector_controller", line 11, in <module> | |
load_entry_point('robot-traffic-control==0.0.0', 'console_scripts', 'sector_controller')() | |
File "/home/rmf/rmf/build/ros2/install/robot_traffic_control/lib/python3.6/site-packages/sector_controller/sector_controller.py", line 714, in main | |
node.main() | |
File "/home/rmf/rmf/build/ros2/install/robot_traffic_control/lib/python3.6/site-packages/sector_controller/sector_controller.py", line 701, in main | |
self.tick() | |
File "/home/rmf/rmf/build/ros2/install/robot_traffic_control/lib/python3.6/site-packages/sector_controller/sector_controller.py", line 406, in tick | |
self.resolve_conflict(conflict) | |
File "/home/rmf/rmf/build/ros2/install/robot_traffic_control/lib/python3.6/site-packages/sector_controller/sector_controller.py", line 496, in resolve_conflict | |
phr.task_id = self.robot_states[loser].task_queue[0].task_id | |
IndexError: list index out of range |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment