mirror of
https://github.com/elephantrobotics/mycobot_ros.git
synced 2026-07-05 19:47:04 +00:00
27 lines
1 KiB
XML
27 lines
1 KiB
XML
<launch>
|
|
<arg name="port" default="/dev/ttyACM0" />
|
|
<arg name="baud" default="115200" />
|
|
|
|
<arg name="model" default="$(find mycobot_description)/urdf/mecharm_270_m5/mecharm_270_m5_aikit.urdf"/>
|
|
<arg name="rvizconfig" default="$(find mecharm)/config/mecharm.rviz" />
|
|
<!-- <arg name="gui" default="false" /> -->
|
|
|
|
<param name="robot_description" command="$(find xacro)/xacro --inorder $(arg model)" />
|
|
|
|
<!-- Combinejoin values to TF -->
|
|
<node name="robot_state_publisher" pkg="robot_state_publisher" type="state_publisher" >
|
|
<rosparam param="source_list" subst_value="true">["joint_states"]</rosparam>
|
|
</node>
|
|
|
|
<!-- mycobot-topics -->
|
|
<include file="$(find mecharm_communication)/launch/communication_topic.launch">
|
|
<arg name="port" value="$(arg port)" />
|
|
<arg name="baud" value="$(arg baud)" />
|
|
</include>
|
|
|
|
<!-- listen and pub the real angles -->
|
|
<node name="real_listener" pkg="mecharm" type="listen_real_of_topic.py" />
|
|
|
|
<!-- Show in Rviz -->
|
|
<node name="rviz" pkg="rviz" type="rviz" args="-d $(arg rvizconfig)" required="true" />
|
|
</launch>
|