add how to use in readme

This commit is contained in:
LiuzhengSJ
2026-06-29 11:28:13 +01:00
parent fbf1e54b67
commit ed0f332883
2 changed files with 34 additions and 2 deletions

View File

@ -11,4 +11,21 @@ Several ros2 packages are list:
| harvest_arm_rm | The driver package for the arm (take the realman-rm75 for an example). Receive joint command, and feedback arm state. | __IN__: /action/arm, the command including enable, target joint, and tool. __Out__: /Observation/arm, the state of the robot, including measured arm joint positions, joint speed, timer counter, etc. | | harvest_arm_rm | The driver package for the arm (take the realman-rm75 for an example). Receive joint command, and feedback arm state. | __IN__: /action/arm, the command including enable, target joint, and tool. __Out__: /Observation/arm, the state of the robot, including measured arm joint positions, joint speed, timer counter, etc. |
| harvest_arm_ctrl | The kinematic part of the arm, containing forward/inverse kinematics. Transformation from pose to joint. The security regulations/constraints are deployed. | - | | harvest_arm_ctrl | The kinematic part of the arm, containing forward/inverse kinematics. Transformation from pose to joint. The security regulations/constraints are deployed. | - |
| harvest_arm_retarget | Transformation among different frames. Convert target into robot arm frame. | - | | harvest_arm_retarget | Transformation among different frames. Convert target into robot arm frame. | - |
------------------------------------------------------------------ ------------------------------------------------------------------
### Build
```
mkdir -p ~/harvest_arm_ws/src
cd ~/harvest_arm_ws/src
git clone https://git.nicecart.ai/ZhengLiu-cart/HarvestingRealman.git
cd ~/harvest_arm_ws
colcon build --symlink-install
```
### Run
`ros2 launch harvest_arm_rm rm_arm_rviz.launch.py`

View File

@ -67,4 +67,19 @@ def generate_launch_description():
realman_arm_node, realman_arm_node,
realman_rviz_node, realman_rviz_node,
rviz_node, rviz_node,
]) ])
'''
ros2 launch harvest_arm_rm rm_arm_rviz.launch.py
ros2 topic pub /action/arm sensor_msgs/msg/JointState "
header:
stamp:
sec: 2
nanosec: 0
position: [1.0, 82.6, -20.28, 32.15, -50.28, -17.28, -64.055, 20.62, 1.0]
" --once
'''