Publish robot joint trajectory by publishing JointState positions to joint_state
Hi, I am trying to write a simple controller that outputs a series of waypoints and send it to the robot in rviz. Even if I set the publishing frequency very high, the robot’s motion is very jerky and not smooth, even if the waypoints are smooth. I am publishing jointState message that contains position messages, is there any reason for this? Thanks!
JointState
messages aren't really intended to encode desired state. They're used to report current state.