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

Afaik, all ros_control controllers periodically publish their internal state to a private state topic.

The code which does that for effort_controllers/JointVelocityController is here.

Subscribing to that topic should get you messages of type control_msgs::JointControllerState, which includes the command field which seems to be what you are after:

# Current output of the controller.
float64 command

See #q323036 for a related question.