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

@ -12,3 +12,20 @@ Several ros2 packages are list:
| 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. | - |
------------------------------------------------------------------
### 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

@ -68,3 +68,18 @@ def generate_launch_description():
realman_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
'''