Home | Tutorials | Wiki | Issues
Ask Your Question

How to set up a callback for contact event? ( ConnectContact() being deprecated )

asked 2013-05-22 09:00:22 -0600

AndreiHaidu gravatar image


Is there a new way to set up a callback function in case of a contact, similar to the deprecated ConnectContact()? Or I have to add a ContactSensor to the model?

I am using Gazebo 1.8.0.

Thanks, Andrei

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2014-02-21 17:07:36 -0600

nkoenig gravatar image

You have to use the ContactManager, as seen in this example

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower


Asked: 2013-05-22 09:00:22 -0600

Seen: 396 times

Last updated: Feb 21 '14