mirror of
https://github.com/elephantrobotics/mycobot_ros.git
synced 2026-07-14 09:00:53 +00:00
Add English annotation
This commit is contained in:
parent
2ce20e35fd
commit
7635c92af3
3 changed files with 5 additions and 4 deletions
|
|
@ -9,11 +9,11 @@
|
||||||
|
|
||||||
<param name="robot_description" command="$(find xacro)/xacro --inorder $(arg model)" />
|
<param name="robot_description" command="$(find xacro)/xacro --inorder $(arg model)" />
|
||||||
|
|
||||||
<!-- Combinejoin values to TF ,将值合并到 TF-->
|
<!-- Combinejoin values to TF,将值合并到 TF-->
|
||||||
<node name="robot_state_publisher" pkg="robot_state_publisher" type="robot_state_publisher" />
|
<node name="robot_state_publisher" pkg="robot_state_publisher" type="robot_state_publisher" />
|
||||||
<!-- Show in Rviz -->
|
<!-- Show in Rviz -->
|
||||||
<node name="rviz" pkg="rviz" type="rviz" args="-d $(arg rvizconfig)" required="true" />
|
<node name="rviz" pkg="rviz" type="rviz" args="-d $(arg rvizconfig)" required="true" />
|
||||||
<!-- mycobot-topics, mycobot-话题-->
|
<!-- mycobot-topics, mycobot-话题-->
|
||||||
<include file="$(find mypalletizer_communication)/launch/communication_service.launch">
|
<include file="$(find mypalletizer_communication)/launch/communication_service.launch">
|
||||||
<arg name="port" value="$(arg port)" />
|
<arg name="port" value="$(arg port)" />
|
||||||
<arg name="baud" value="$(arg baud)" />
|
<arg name="baud" value="$(arg baud)" />
|
||||||
|
|
|
||||||
|
|
@ -12,6 +12,6 @@
|
||||||
<param name="use_gui" value="$(arg gui)" />
|
<param name="use_gui" value="$(arg gui)" />
|
||||||
<!-- <rosparam param="source_list" subst_value="true">["joint_states"]</rosparam> -->
|
<!-- <rosparam param="source_list" subst_value="true">["joint_states"]</rosparam> -->
|
||||||
</node>
|
</node>
|
||||||
<!-- Show in Rviz,显示在Rviz -->
|
<!-- Show in Rviz.显示在Rviz -->
|
||||||
<node name="rviz" pkg="rviz" type="rviz" args="-d $(arg rvizconfig)" required="true" />
|
<node name="rviz" pkg="rviz" type="rviz" args="-d $(arg rvizconfig)" required="true" />
|
||||||
</launch>
|
</launch>
|
||||||
|
|
|
||||||
|
|
@ -26,7 +26,8 @@ class Listener(object):
|
||||||
Args:
|
Args:
|
||||||
data (MycobotAngles): callback argument.
|
data (MycobotAngles): callback argument.
|
||||||
"""
|
"""
|
||||||
# ini publisher object. 初始化发布者对象
|
# ini publisher object.
|
||||||
|
# 初始化发布者对象
|
||||||
joint_state_send = JointState()
|
joint_state_send = JointState()
|
||||||
joint_state_send.header = Header()
|
joint_state_send.header = Header()
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue