Commits

German Larrain committed 245bb87

fifth example: must use collision.near_callback's mu parameter equal to 50 instead of 500. A warning was added to the module docstrings.

  • Participants
  • Parent commits c77c51d
  • Branches dev-IROS

Comments (0)

Files changed (2)

File ars/model/simulator/collision.py

 	do collide and creates contact joints (c_joint) if they do, except if they are connected.
 	"""
 	c_joint_bounce = 0.2
-	c_joint_mu = 500 # 0-5 = very slippery, 50-500 = normal, 5000 = very sticky
+	c_joint_mu = 50 # 0-5 = very slippery, 50-500 = normal, 5000 = very sticky
 
 	if (ode.areConnected(geom1.getBody(), geom2.getBody())):
 		return

File bin/IROS/example5_vehicle_with_user_input.py

 #===============================================================================
 
 """
-Example #5
+Example #5. To achieve the same results reported in the paper,
+the contact joint mu parameter (in ars.model.simulator.collision near_callback function)
+must be set to 50, instead of the default 500 value.
 """
 import os
 import sys