Skip to content

Commit 3b8aaea

Browse files
committed
Wait for controller to be running
1 parent d209a12 commit 3b8aaea

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

ur_robot_driver/test/integration_test_trajectory_until.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,11 +96,13 @@ def init_robot(self):
9696

9797
self._controller_manager_interface.wait_for_controller("tool_contact_controller")
9898

99-
def setUp(self):
99+
def setUp(self, initial_joint_controller):
100100
self._dashboard_interface.start_robot()
101101
time.sleep(1)
102102
self.assertTrue(self._io_status_controller_interface.resend_robot_program().success)
103103

104+
self._controller_manager_interface.wait_for_controller(initial_joint_controller, "active")
105+
104106
#
105107
# Tests
106108
#

0 commit comments

Comments
 (0)