Commit 2e4c82da authored by olivier stasse's avatar olivier stasse

Merge pull request #11 from mehdi-benallegue/master

Enable to plug the velocity from the device entity to dynamic.
parents 357b1467 9c2bacd7
......@@ -101,6 +101,9 @@ class Hrp2(AbstractHumanoidRobot):
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))
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