Skip to content

Commit 395a09c

Browse files
committed
Merge branch 'main' into tool_contact
2 parents 8b46761 + 79252cf commit 395a09c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

ur_robot_driver/launch/ur_control.launch.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,9 @@ def controller_spawner(controllers, active=True):
184184
controllers_active.append(initial_joint_controller.perform(context))
185185
controllers_inactive.remove(initial_joint_controller.perform(context))
186186

187+
if use_mock_hardware.perform(context) == "true":
188+
controllers_active.remove("tcp_pose_broadcaster")
189+
187190
controller_spawners = [
188191
controller_spawner(controllers_active),
189192
controller_spawner(controllers_inactive, active=False),

0 commit comments

Comments
 (0)