Skip to content

Commit e8118ad

Browse files
committed
Wait for controller to become active
Otherwise there is a race condition between sending the program ans starting the tests.
1 parent 29842df commit e8118ad

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

ur_robot_driver/test/integration_test_scaled_joint_controller.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,10 @@ def setUp(self):
9797
time.sleep(1)
9898
self.assertTrue(self._io_status_controller_interface.resend_robot_program().success)
9999

100+
self._controller_manager_interface.wait_for_controller(
101+
"scaled_joint_trajectory_controller", "active"
102+
)
103+
100104
#
101105
# Test functions
102106
#

0 commit comments

Comments
 (0)