Commit 9c2bacd7 authored by Mehdi Benallegue's avatar Mehdi Benallegue

Enable to plug the velocity from the device entity to dynamic.

parent 357b1467
......@@ -101,6 +101,9 @@ class Hrp2(AbstractHumanoidRobot):
dynamicType)
self.dimension = self.dynamic.getDimension()
self.plugVelocityFromDevice = True
if self.dimension != len(self.halfSitting):
raise RuntimeError("Dimension of half-sitting: {0} differs from dimension of robot: {1}".format (len(self.halfSitting), self.dimension))
self.initializeRobot()
......
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