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

Only load descriptions if desired #202

Open
wants to merge 12 commits into
base: develop
Choose a base branch
from
3 changes: 2 additions & 1 deletion franka_control/launch/franka_control.launch
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,10 @@
<arg name="robot" default="panda" doc="choose your robot. Possible values: [panda, fr3]"/>
<arg name="arm_id" default="$(arg robot)" />
<arg name="load_gripper" default="true" />
<arg name="load_description" default="true" />
<arg name="xacro_args" default="" />

<param name="robot_description" command="$(find xacro)/xacro $(find franka_description)/robots/$(arg robot)/$(arg robot).urdf.xacro hand:=$(arg load_gripper) arm_id:=$(arg arm_id) $(arg xacro_args)"/>
<param name="robot_description" if="$(arg load_description)" command="$(find xacro)/xacro $(find franka_description)/robots/$(arg robot)/$(arg robot).urdf.xacro hand:=$(arg load_gripper) arm_id:=$(arg arm_id) $(arg xacro_args)"/>

<include file="$(find franka_gripper)/launch/franka_gripper.launch" if="$(arg load_gripper)">
<arg name="robot_ip" value="$(arg robot_ip)" />
Expand Down
2 changes: 1 addition & 1 deletion franka_gazebo/launch/panda.launch
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
<arg name="rviz" default="false" doc="Should RVIz be launched?" />

<!-- Robot Customization -->
<arg name="load_description" default="true" doc="Whether to load robot description" />
<arg name="arm_id" default="panda" doc="Name of the robot to spawn" />
<arg name="use_gripper" default="true" doc="Should a franka hand be mounted on the flange?" />
<arg name="controller" default=" " doc="Which example controller should be started? (One of {cartesian_impedance,model,force,joint_position,joint_velocity}_example_controller)" />
Expand Down Expand Up @@ -55,5 +56,4 @@
<arg name="interactive_marker" value="$(arg interactive_marker)" />

</include>

</launch>