Skip to content

Commit a3fddd2

Browse files
author
Felix Exner
committed
Wait for controller_manager services longer
1 parent 27007e9 commit a3fddd2

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

ur_robot_driver/test/urscript_interface.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)