Maximum number of contacts Gazebo ROS
Where and how can we set maximum number of contacts in Gazebo?
By default the max. num. of contacts is 20 "rosparam get /gazebo/max_contacts" Setting the parameter to any other ( ex. 100) " rosparam set /gazebo/max_contacts 100 " does not affect the simulation results, I am always getting 20 contacts using gazebo plugin bumpers.
Calling service rosservice call /gazebo/setphysicsproperties and setting maxcontacts to 100 does not work. After calling service rosservice call /gazebo/getphysicsproperties the maxcontacts is still 20.
in https://bitbucket.org/osrf/gazebo/src...
// MAX_CONTACT_JOINTS truncates <max_contacts> specified in SDF #define MAX_CONTACT_JOINTS 32
might be one reason which limits the number of contacts generated ?