Skip to content
Snippets Groups Projects
Commit 02df5464 authored by Florent Lamiraux's avatar Florent Lamiraux
Browse files

Compute Jacobian of operational points and of center of mass at initialization.

parent e2d0ee17
No related branches found
No related tags found
1 merge request!1[major][cpp] starting point to integrate pinocchio
......@@ -173,6 +173,8 @@ class AbstractHumanoidRobot (object):
# --- center of mass ------------
self.dynamic.com.recompute(0)
self.dynamic.Jcom.recompute(0)
self.featureCom = FeatureGeneric(self.name + '.feature.com')
plug(self.dynamic.com, self.featureCom.errorIN)
plug(self.dynamic.Jcom,
......@@ -190,6 +192,7 @@ class AbstractHumanoidRobot (object):
self.tasks = dict()
for op in self.OperationalPoints:
self.dynamic.signal(op).recompute(0)
self.dynamic.signal('J'+op).recompute(0)
self.features[op] = \
FeaturePosition(self.name + '.feature.' + op,
self.dynamic.signal(op),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment