ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Using joint_states for control is not the way things are meant to be done. As the name of the message implies, JointState messages are used to report on current state, not command a desired one.

You'll want to write a FollowJointTrajectory action server for your arm or re-use one, such as ros_control's joint_trajectory_controller. Re-use would be preferred if possible.

A JointTrajectory contains timestamps, positions, velocity and acceleration that, if properly used, should result in synchronised motion of all joints.

Using joint_states for control is not the way things are meant to be done. As the name of the message implies, JointState messages are used to report on current state, not command a desired one.

You'll want to write a FollowJointTrajectory action server for your arm or re-use one, such as ros_control's joint_trajectory_controller. Re-use would be preferred if possible.

A JointTrajectory contains timestamps, positions, velocity and acceleration that, if properly used, should result in synchronised motion of all joints.