mirror of
https://github.com/elephantrobotics/mycobot_ros.git
synced 2026-07-14 09:00:53 +00:00
21 lines
641 B
XML
21 lines
641 B
XML
<?xml version="1.0"?>
|
||
<launch>
|
||
|
||
|
||
<!-- urdf文件,模型文件的路径-->
|
||
<arg name="firefighter" default="$(find mycobot_description)/urdf/mycobot_pi/mycobot_urdf.urdf"/>
|
||
|
||
|
||
|
||
<arg name="gui" default="False" />
|
||
<param name="robot_description" textfile="$(arg model)" />
|
||
<param name="use_gui" value="$(arg gui)"/>
|
||
<node name="joint_state_publisher" pkg="joint_state_publisher" type="joint_state_publisher" ></node>
|
||
<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 urdf_tutorial)/urdf.rviz" />
|
||
</launch>
|