Effort display in Rviz

asked 2013-11-09 02:53:07 -0500

Matz gravatar image

updated 2013-11-14 10:13:04 -0500

tfoote gravatar image

Hi, I have a correctly working urdf model that i use inside rviz to display a robot and i would to add the visual effort indication as this http:// wiki.ros.org/rviz/DisplayTypes/Effort but when i try to enable it nothing happens (the topic are correctly publishing the effort data and there is no errors, the joint are continuous)

this is the joint states message that report also the effort

header: seq: 39879 stamp: secs: 1384008918 nsecs: 173034906 frame_id: '' name: ['pan', 'tilt', 'hub_f_l', 'hub_f_r', 'hub_p_l', 'hub_p_r', 'shaft_f_l', 'shaft_f_r', 'shaft_p_l', 'shaft_p_r'] position: [-0.19993987679481506, -0.3998797535896301, 0.17936893275759974, 0.1979537816102363, 0.17858727416318004, 0.1996941781970845, 0.0, 0.0, 0.0, 0.0] velocity: [0.19993987679481506, 0.19993987679481506, 0.0, -0.0, -0.0, 0.0, 0.0, 0.0, 0.0, 0.0] effort: [0.0, 0.0, -0.1875, -0.375, -0.1875, -0.125, 0.0, 0.0, 0.0, 0.0]

edit retag flag offensive close merge delete

Comments

There's at least something wrong with the Effort display doc, as geometry_msgs has no Effort message type.

Adolfo Rodriguez T gravatar image Adolfo Rodriguez T  ( 2013-11-10 21:44:05 -0500 )edit

yes, I also see it. This mean that this function is deprecated or only is there a new way to pubblish effort to rviz?

Matz gravatar image Matz  ( 2013-11-10 21:48:01 -0500 )edit