jumeau_pioneer3DX/Projet/pioneer_description/launch/frontier_map.launch

18 lines
685 B
XML

<launch>
<arg name="rviz_name" default="frontier_map"/>
<arg name="model" default="$(find pioneer_description)/urdf/pioneer3dx.xacro"/>
<param name="robot_description" command="$(find xacro)/xacro --inorder $(arg model)"/>
<!-- send fake joint values -->
<node name="joint_state_publisher" pkg="joint_state_publisher" type="joint_state_publisher">
<param name="use_gui" value="FALSE"/>
</node>
<!-- Combine joint values -->
<node name="robot_state_publisher" pkg="robot_state_publisher" type="state_publisher"/>
<!-- Show in Rviz -->
<node name="rviz" pkg="rviz" type="rviz" args="-d $(find pioneer_description)/launch/$(arg rviz_name).rviz"/>
</launch>