Gazebo | Ignition | Community
Ask Your Question
1

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

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

AndreiHaidu gravatar image

Hi,

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
0

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

Question Tools

1 follower

Stats

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

Seen: 703 times

Last updated: Feb 21 '14