Gazebo | Ignition | Community
Ask Your Question

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

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

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 -0500

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 -0500

Seen: 598 times

Last updated: Feb 21 '14