Commit e6b6a283 authored by Olivier Stasse's avatar Olivier Stasse

Add argument "rviz" to display_sot.launch

parent 9ebc5c04
<launch> <launch>
<arg name="input_topic" default="/sot_hpp/state"/> <arg name="input_topic" default="/sot_hpp/state"/>
<arg name="output_prefix" default="/sot"/> <arg name="output_prefix" default="/sot"/>
<arg name="rviz" default="false"/>
<node pkg="roscontrol_sot_talos" name="republish" type="republish" args="$(arg input_topic) $(arg output_prefix)/joint_state true"/> <node pkg="roscontrol_sot_talos" name="republish" type="republish" args="$(arg input_topic) $(arg output_prefix)/joint_state true"/>
...@@ -13,5 +14,5 @@ ...@@ -13,5 +14,5 @@
<param name="tf_prefix" value="$(arg output_prefix)" /> <param name="tf_prefix" value="$(arg output_prefix)" />
</node> </node>
<node pkg="rviz" type="rviz" name="rviz" /> <node if="$(arg rviz)" pkg="rviz" type="rviz" name="rviz" />
</launch> </launch>
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment