19 lines
685 B
Text
19 lines
685 B
Text
|
<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>
|