Robotics StackExchange | Archived questions

how to get info from topic ~/physics/contacts from the world file

Hey

I created a world file that includes three blocks. I want to know the contact normals between them so I subscribed to ~/physics/contacts topic. On the start when I start the gazebo and echo the topic the topic doesn't show any contacts (publish empty messages) although I can see the blocks. the topic start publishing contact normals after I move the blocks or add another one.

Does somebody know why is that happening and how I can fix that?

Thanks in advance

Asked by shpower on 2014-08-30 09:42:04 UTC

Comments

Answers

ODE will cause objects to auto-disable when they are not moving for a certain period of time. Auto-disable can be turned off with by setting the allow_auto_disable tag to 0 (see friction_demo.world for an example).

Asked by scpeters on 2014-09-02 16:24:03 UTC

Comments