Commit 924990c1 authored by Joseph Mirabel's avatar Joseph Mirabel Committed by Joseph Mirabel
Browse files

In prologue, set robot bounds (position, velocity and effort)

parent e200c73a
......@@ -106,6 +106,18 @@ class Talos(AbstractHumanoidRobot):
self.device = device
# TODO For position limit, we remove the first value to get
# a vector of the good size because SoT use euler angles and not
# quaternions...
self.device.setPositionBounds (
self.device.setVelocityBounds (
self.pinocchioModel.velocityLimit .T.tolist()[0])
self.device.setTorqueBounds (
self.pinocchioModel.effortLimit .T.tolist()[0])
self.halfSitting = initialConfig
plug(self.device.state, self.dynamic.position)
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