mirror of
https://github.com/elephantrobotics/mycobot_ros.git
synced 2026-07-05 19:47:04 +00:00
29 lines
1.2 KiB
XML
29 lines
1.2 KiB
XML
<launch>
|
|
<arg name="port" default="/dev/ttyUSB0" />
|
|
<arg name="baud" default="115200" />
|
|
|
|
<arg name="model" default="$(find mycobot_ros)/urdf/mycobot_urdf.urdf"/>
|
|
<arg name="rvizconfig" default="$(find mycobot_ros)/config/mycobot_with_marker.rviz" />
|
|
<arg name="gui" default="false" />
|
|
|
|
<arg name="num" default="0" />
|
|
|
|
<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" />
|
|
<!-- Show in Rviz -->
|
|
<node name="rviz" pkg="rviz" type="rviz" args="-d $(arg rvizconfig)" required="true" />
|
|
|
|
<!-- mycobot-topics -->
|
|
<include file="$(find mycobot_ros)/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="mycobot_ros" type="listen_real_of_topic.py" />
|
|
<!-- vision node -->
|
|
<node name="opencv_camera" pkg="mycobot_ros" type="opencv_camera" args="$(arg num)"/>
|
|
<node name="detect_marker" pkg="mycobot_ros" type="detect_marker.py" />
|
|
<node name="following_marker" pkg="mycobot_ros" type="following_marker.py" />
|
|
</launch>
|