We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 78d115b commit f59c6d2Copy full SHA for f59c6d2
example_15/test/test_multi_controller_manager_launch.py
@@ -83,14 +83,20 @@ def tearDown(self):
83
def test_node_start(self, proc_output):
84
check_node_running(self.node, "robot_state_publisher")
85
86
- def test_controller_running_cm1(self, proc_output):
+ def test_controller_running(self, proc_output):
87
88
cnames = [
89
"forward_position_controller",
90
"joint_state_broadcaster",
91
]
92
- check_controllers_running(self.node, cnames, "/rrbot_1")
93
- check_controllers_running(self.node, cnames, "/rrbot_2")
+ check_controllers_running(self.node, cnames, "/rrbot_1", "active")
+ check_controllers_running(self.node, cnames, "/rrbot_2", "active")
94
+
95
+ cnames = [
96
+ "position_trajectory_controller",
97
+ ]
98
+ check_controllers_running(self.node, cnames, "/rrbot_1", "inactive")
99
+ check_controllers_running(self.node, cnames, "/rrbot_2", "inactive")
100
101
def test_check_if_msgs_published(self):
102
check_if_js_published("/rrbot_1/joint_states", ["rrbot_1_joint1", "rrbot_1_joint2"])
0 commit comments