From 1ccad5c8022fb299c416e28f6ab9768d8cf6fca4 Mon Sep 17 00:00:00 2001 From: Pierre Manceron Date: Sun, 26 Jun 2016 16:37:13 -0400 Subject: [PATCH] Register the IK chains using the new method --- software/poppy_ergo_jr/poppy_ergo_jr.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/software/poppy_ergo_jr/poppy_ergo_jr.py b/software/poppy_ergo_jr/poppy_ergo_jr.py index 642dd9a..31db991 100644 --- a/software/poppy_ergo_jr/poppy_ergo_jr.py +++ b/software/poppy_ergo_jr/poppy_ergo_jr.py @@ -22,9 +22,10 @@ def setup(cls, robot): c = IKChain.from_poppy_creature(robot, motors=robot.motors, passiv=[], - tip=[0, 0, -0.07]) + tip=[0, 0, -0.07], + name="chain") - robot.chain = c + c.register(robot) robot.attach_primitive(SafePowerUp(robot), 'safe_power_up')