update arm ctrl rm py

This commit is contained in:
LiuzhengSJ
2026-07-06 14:18:34 +01:00
parent a875ef6280
commit e3ca28fb99
8 changed files with 94 additions and 21 deletions

View File

@ -73,13 +73,27 @@ def generate_launch_description():
'''
ros2 launch harvest_arm_rm rm_arm_rviz.launch.py
ros2 topic pub /action/arm sensor_msgs/msg/JointState "
while true; do
ros2 topic pub /action/arm sensor_msgs/msg/JointState "
header:
stamp:
sec: 2
nanosec: 0
sec: $(date +%s)
nanosec: $(date +%N)
frame_id: ''
name: []
position: [1.0, 82.6, -20.28, 32.15, -50.28, -17.28, -64.055, 20.62, 1.0]
velocity: []
effort: []
" --once
sleep 1
done
'''