From 5b6bd6ca890e36e1af91fd31ca90e7f63496afe5 Mon Sep 17 00:00:00 2001
From: Florent Lamiraux <florent@laas.fr>
Date: Mon, 8 Apr 2013 13:06:53 +0200
Subject: [PATCH] Add comTask into dictionary tasks of class HumanoidRobot for
 compatibility

---
 src/dynamic_graph/sot/dynamics/humanoid_robot.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/dynamic_graph/sot/dynamics/humanoid_robot.py b/src/dynamic_graph/sot/dynamics/humanoid_robot.py
index c72bbe8..7e26b99 100755
--- a/src/dynamic_graph/sot/dynamics/humanoid_robot.py
+++ b/src/dynamic_graph/sot/dynamics/humanoid_robot.py
@@ -381,6 +381,7 @@ class AbstractHumanoidRobot (object):
             for i in w[1:]:
                 memberName += i.capitalize()
             setattr(self, memberName, self.features[op])
+        self.tasks ['com'] = self.comTask
 
         # --- balance task --- #
         self.tasks ['balance'] =\
-- 
GitLab