Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added arg to enable/disable launch of ursim #679

Merged
merged 1 commit into from
Dec 22, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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