Skip to content

Commit

Permalink
Added arg to enable/disable launch of ursim
Browse files Browse the repository at this point in the history
  • Loading branch information
urmahp committed Dec 22, 2023
1 parent ba05c02 commit a946c3b
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions ur_robot_driver/test/driver.test
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,18 @@
-->
<arg name="robot_ip" default="192.168.56.101"/>
<arg name="robot_type" default="ur5e"/>
<arg name="launch_ursim" default="true"/>

<include file="$(find ur_robot_driver)/launch/$(arg robot_type)_bringup.launch">
<arg name="robot_ip" value="$(arg robot_ip)"/>
<arg name="headless_mode" value="true"/>
<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"/>
</include>

<node name="ursim" pkg="ur_client_library" type="start_ursim.sh" respawn="false" output="screen">
</node>
<group if="$(arg launch_ursim)">
<node name="ursim" pkg="ur_client_library" type="start_ursim.sh" respawn="false" output="screen">
</node>
</group>

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

0 comments on commit a946c3b

Please sign in to comment.