From 58811f1f6a4204a1c59d197daa9fb5fb7f6b25de Mon Sep 17 00:00:00 2001 From: Florent Lamiraux <florent@laas.fr> Date: Wed, 16 Feb 2011 15:42:05 +0100 Subject: [PATCH] Add a proxy method push in Solver -> Solver.sot.push. --- src/dynamic_graph/sot/dynamics/solver.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/dynamic_graph/sot/dynamics/solver.py b/src/dynamic_graph/sot/dynamics/solver.py index 23ff078..51b27b1 100644 --- a/src/dynamic_graph/sot/dynamics/solver.py +++ b/src/dynamic_graph/sot/dynamics/solver.py @@ -32,3 +32,8 @@ class Solver: plug(self.sot.signal('control'), robot.device.signal('control')) plug(self.robot.device.state, self.robot.dynamic.position) + def push(self, taskName): + """ + Proxy method to push a task in the sot + """ + self.sot.push(taskName) -- GitLab