Commit f3a58f9d authored by Florent Lamiraux's avatar Florent Lamiraux Committed by Florent Lamiraux florent@laas.fr
Browse files

Update prologue wrt commit c1eb9ed491 in sot-dynamic.

  Since this commit, method push of class Solver takes a task and not anymore
  a task name as input.
parent aa34d534
......@@ -47,9 +47,9 @@ def prologue_hrp2(robot,device):
# The robot is currently in half-sitting, so this script freezes com
# and feet position so that the robot will remain stable while the
# user program is starting.
solver.push(robot.comTask.name)
solver.push(robot.comTask)
for i in s:
solver.push(robot.tasks[i].name)
solver.push(robot.tasks[i])
print("Prologue ran successfully.")
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment