Gazebo | Ignition | Community
Ask Your Question
0

Get collision state of model without contact sensor

asked 2019-02-01 00:25:26 -0500

mkro0616 gravatar image

Hello everyone. I am wondering if it is possible to check the collision state of a urdf-model in Gazebo without contact sensor. For example, can I implement a world plugin where show which 'model:link' contacts another 'model:link'?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2019-02-01 11:42:55 -0500

chapulina gravatar image

You could subscribe to ~/physics/contacts and check for the contacts you want.

edit flag offensive delete link more

Question Tools

Stats

Asked: 2019-02-01 00:25:26 -0500

Seen: 1,638 times

Last updated: Feb 01 '19