Skip to content

Commit

Permalink
Optional argument for starting rviz with moveit_planning_execution
Browse files Browse the repository at this point in the history
  • Loading branch information
marcoesposito1988 committed Nov 18, 2015
1 parent e2c03da commit c2834a8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion iiwa_moveit/launch/moveit_planning_execution.launch
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
<arg name="robot_name" default="iiwa"/>
<!-- Model of the iiwa to use : iiwa7, iiwa14 -->
<arg name="model" default="iiwa7"/>
<arg name="rviz" default="true" />

<!-- | Load the robot_description parameter before launching ROS-I nodes. | -->
<include file="$(find iiwa_moveit)/launch/planning_context.launch">
Expand Down Expand Up @@ -63,7 +64,7 @@
<arg name="model" value="$(arg model)" />
</include>

<include file="$(find iiwa_moveit)/launch/moveit_rviz.launch">
<include if="$(arg rviz)" file="$(find iiwa_moveit)/launch/moveit_rviz.launch">
<arg name="config" value="true"/>
</include>

Expand Down

0 comments on commit c2834a8

Please sign in to comment.