Home | Tutorials | Wiki | Issues
Ask Your Question

How to visualize contact forces?

asked 2013-02-17 18:34:44 -0500

Boris gravatar image

Is there anything in API that can visualize the contact forces from contact sensor? If not then how it can be implemented? Basically all I need is to show an axis similar to the ones used with joints.

Also, would it be possible to extend context menu with system GUI plugin to toggle such visualization?

Thanks in advance,


edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2013-02-21 19:21:29 -0500

updated 2013-02-21 19:23:23 -0500

Well I don't know if the code below can help you, but maybe serves as a start point to solve your question.




The code is a proof of concept about using contact visuals passing by messages. Probably you should collect information about contact using the sensor and fill correctly the message fields.

You may enable "Contacts" in menu "View". I am using Gazebo 1.4 (compiled from source).


I hope that it helps you.

edit flag offensive delete link more


That's it. I keep forgetting about existence of main menu in Ubuntu. Thanks!

Boris gravatar imageBoris ( 2013-02-21 23:21:59 -0500 )edit
Login/Signup to Answer

Question Tools

1 follower


Asked: 2013-02-17 18:34:44 -0500

Seen: 37,353 times

Last updated: Feb 21 '13