File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -151,10 +151,14 @@ def tearDownClass(cls):
151151
152152 def init_robot (self ):
153153
154- # Wait longer for the first service clients (for both the driver and the dashboard client) as the robot driver is still starting up
154+ # Wait longer for the first service clients:
155+ # - The robot has to start up
156+ # - The controller_manager has to start
157+ # - The controllers need to load and activate
155158 service_interfaces_initial = {
156159 "/dashboard_client/power_on" : Trigger ,
157160 "/controller_manager/switch_controller" : SwitchController ,
161+ "/io_and_status_controller/set_io" : SetIO ,
158162 }
159163 self .service_clients = {
160164 srv_name : waitForService (
@@ -169,7 +173,6 @@ def init_robot(self):
169173 "/dashboard_client/stop" : Trigger ,
170174 "/dashboard_client/get_robot_mode" : GetRobotMode ,
171175 "/controller_manager/switch_controller" : SwitchController ,
172- "/io_and_status_controller/set_io" : SetIO ,
173176 "/io_and_status_controller/resend_robot_program" : Trigger ,
174177 }
175178 self .service_clients .update (
You can’t perform that action at this time.
0 commit comments