Skip to content

Commit a946c3b

Browse files
committed
Added arg to enable/disable launch of ursim
1 parent ba05c02 commit a946c3b

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

ur_robot_driver/test/driver.test

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,18 @@
55
-->
66
<arg name="robot_ip" default="192.168.56.101"/>
77
<arg name="robot_type" default="ur5e"/>
8+
<arg name="launch_ursim" default="true"/>
89

910
<include file="$(find ur_robot_driver)/launch/$(arg robot_type)_bringup.launch">
1011
<arg name="robot_ip" value="$(arg robot_ip)"/>
1112
<arg name="headless_mode" value="true"/>
1213
<arg name="stopped_controllers" value="forward_joint_traj_controller forward_cartesian_traj_controller twist_controller pose_based_cartesian_traj_controller joint_based_cartesian_traj_controller"/>
1314
</include>
1415

15-
<node name="ursim" pkg="ur_client_library" type="start_ursim.sh" respawn="false" output="screen">
16-
</node>
16+
<group if="$(arg launch_ursim)">
17+
<node name="ursim" pkg="ur_client_library" type="start_ursim.sh" respawn="false" output="screen">
18+
</node>
19+
</group>
1720

1821
<!--If the default controller changes, this remap has to be adapted, as well-->
1922
<remap from="follow_joint_trajectory" to="/scaled_pos_joint_traj_controller/follow_joint_trajectory" />

0 commit comments

Comments
 (0)