File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -170,13 +170,19 @@ def init_robot(self):
170170 "/dashboard_client/program_running" : IsProgramRunning ,
171171 "/dashboard_client/play" : Trigger ,
172172 "/dashboard_client/stop" : Trigger ,
173- "/controller_manager/list_controllers" : ListControllers ,
174173 }
175174 self .service_clients = {
176175 srv_name : waitForService (self .node , f"{ srv_name } " , srv_type )
177176 for (srv_name , srv_type ) in dashboard_interfaces .items ()
178177 }
179178
179+ self .service_clients ["/controller_manager/list_controllers" ] = waitForService (
180+ self .node ,
181+ "/controller_manager/list_controllers" ,
182+ ListControllers (),
183+ timeout = TIMEOUT_WAIT_SERVICE_INITIAL ,
184+ )
185+
180186 # Add first client to dict
181187 self .service_clients ["/dashboard_client/power_on" ] = power_on_client
182188
You can’t perform that action at this time.
0 commit comments