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

Add a proxy method push in Solver -> Solver.sot.push.

parent 31105012
No related branches found
No related tags found
1 merge request!1[major][cpp] starting point to integrate pinocchio
...@@ -32,3 +32,8 @@ class Solver: ...@@ -32,3 +32,8 @@ class Solver:
plug(self.sot.signal('control'), robot.device.signal('control')) plug(self.sot.signal('control'), robot.device.signal('control'))
plug(self.robot.device.state, plug(self.robot.device.state,
self.robot.dynamic.position) self.robot.dynamic.position)
def push(self, taskName):
"""
Proxy method to push a task in the sot
"""
self.sot.push(taskName)
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