ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
You would see that in certain cases the rostopic pub leads to a syntax " joint_names: - ' ' ". Entering the correct joint names in it will not work and it needs to be in the format "joint_names: [joint1, joint2...so on]"
rostopic pub /panda_arm_controller/command trajectory_msgs/JointTrajectory "header: seq: 0 stamp: secs: 0 nsecs: 0 frame_id: '' joint_names: [panda_joint1, panda_joint2, panda_joint3, panda_joint4, panda_joint5, panda_joint6, panda_joint7] points: - positions: [1.1,1.2,0.2,0.2,0.2,0.2,0.2] velocities: [1,1,1,1,1,1,1] accelerations: [1,1,1,1,1,1,1] effort: [0] time_from_start: {secs: 2, nsecs: 2}"
Hope this helps!
2 | No.2 Revision |
You would see that in certain cases the rostopic pub leads to a syntax " joint_names: - ' ' ". Entering the correct joint names in it will not work and it needs to be in the format "joint_names: [joint1, joint2...so on]"
rostopic pub /panda_arm_controller/command trajectory_msgs/JointTrajectory "header:
seq: 0
stamp:
secs: 0
nsecs: 0
frame_id: ''
joint_names: [panda_joint1, panda_joint2, panda_joint3, panda_joint4, panda_joint5, panda_joint6, panda_joint7]
points:
- positions: [1.1,1.2,0.2,0.2,0.2,0.2,0.2]
velocities: [1,1,1,1,1,1,1]
accelerations: [1,1,1,1,1,1,1]
effort: [0]
time_from_start: {secs: 2, nsecs: Hope this helps!