Gazebo | Ignition | Community
Ask Your Question
0

Change the maximum number of collisions detected in a contact

asked 2014-03-18 13:15:29 -0500

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

I am trying to perform some feature extraction with collision data between two object with meshes previously edited in blender to provide many edges. The problem is that I just can get 10 data of contact through: contacts.positionsize() and I need to have more collision points. I am also not clear what this command gives as result: contacts.contactsize(). I will like to get as more contacts as possible for extract the feature in contact and try to run a decent simulation.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2014-03-25 18:32:04 -0500

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

Try setting the "max_contacts" for the collision objects in SDF.

http://gazebosim.org/sdf/1.4.html#max_contacts117

edit flag offensive delete link more

Question Tools

Stats

Asked: 2014-03-18 13:15:29 -0500

Seen: 278 times

Last updated: Mar 25 '14