Skip to content

Commit ff9174b

Browse files
RobertWilbrandtfmauch
authored andcommitted
Wait longer for controllers to load and activate
(cherry picked from commit cef5f3c)
1 parent 133ff37 commit ff9174b

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

ur_robot_driver/test/robot_driver.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff 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(

0 commit comments

Comments
 (0)