Commit 99ec288d authored by Pierre Fernbach's avatar Pierre Fernbach
Browse files

Add bounds on leg_5_joints that match the security of the controller

parent 08874d37
......@@ -404,6 +404,11 @@ class Robot(Parent):
self.urdfSuffix, self.srdfSuffix)
if name is not None: = name
# Even though the bound in the urdf is greater than this values,
# the controller do not tolerate values outside of this bounds
self.setJointBounds('leg_left_5_joint', [-1.26, 0.768])
self.setJointBounds('leg_right_5_joint', [-1.26, 0.768])
# Save urdf values for the bounds that may be modified
self.joint1L_bounds_prev = self.getJointBounds('leg_left_1_joint')
self.joint6L_bounds_prev = self.getJointBounds('leg_left_6_joint')
self.joint2L_bounds_prev = self.getJointBounds('leg_left_2_joint')
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment