ros-drivers / flir_ptu

ROS driver for FLIR pan-tilt units
http://wiki.ros.org/flir_ptu_driver
14 stars 37 forks source link

Do not include velocity in the published joint_state messages #51

Closed civerachb-cpr closed 1 year ago

civerachb-cpr commented 1 year ago

The node currently publishes the configured maximum velocity, instead of the joints' actual current speeds. This means that when stationary the velocity is non-zero, which results in errors with nodes that subscribe to the robot_state_publisher. Easiest symptom to see is "twitching" of the model in rviz.

Since the underlying driver does not appear to support querying the actual current speed of the joints, simply omit the velocity (which is optional anyway) and publish the position only.