12 lines
564 B
XML
12 lines
564 B
XML
|
<launch>
|
||
|
<let name="urdf_path" value="$(find-pkg-share my_robot1_description)/urdf/my_robot1.urdf.xacro"/>
|
||
|
<let name="rviz_config_path" value="$(find-pkg-share my_robot1_description)/rviz/urdf_config.rviz"/>
|
||
|
|
||
|
<node pkg="robot_state_publisher" exec="robot_state_publisher">
|
||
|
<param name="robot_description" value="$(command 'xacro $(var urdf_path)')"/>
|
||
|
</node>
|
||
|
|
||
|
<node pkg="joint_state_publisher_gui" exec="joint_state_publisher_gui" />
|
||
|
|
||
|
<node pkg="rviz2" exec="rviz2" output="screen" args="-d $(var rviz_config_path)" />
|
||
|
</launch>
|