Skip to content
Snippets Groups Projects
Commit d30bd45f authored by Pierre Fernbach's avatar Pierre Fernbach
Browse files

[main] adapt to changes in wb script

parent bf044662
No related branches found
No related tags found
No related merge requests found
...@@ -65,9 +65,9 @@ if cfg.DISPLAY_COM_TRAJ: ...@@ -65,9 +65,9 @@ if cfg.DISPLAY_COM_TRAJ:
import hpp_wholebody_motion.wholebody.tsid_invdyn as wb import hpp_wholebody_motion.wholebody.tsid_invdyn as wb
if cfg.USE_CROC_COM: if cfg.USE_CROC_COM:
assert cfg.USE_CROC_INIT_GUESS, "You must generate CROC initial guess if you want to use it as reference for the COM" assert cfg.USE_CROC_INIT_GUESS, "You must generate CROC initial guess if you want to use it as reference for the COM"
q_t = wb.generateWholeBodyMotion(cs_initGuess,v,cp.fullBody) q_t,v_t,a_t = wb.generateWholeBodyMotion(cs_initGuess,v,cp.fullBody)
else : else :
q_t = wb.generateWholeBodyMotion(cs_com,v,cp.fullBody) q_t,v_t,a_t = wb.generateWholeBodyMotion(cs_com,v,cp.fullBody)
if cfg.DISPLAY_WB_MOTION: if cfg.DISPLAY_WB_MOTION:
raw_input("Press Enter to display the whole body motion ...") raw_input("Press Enter to display the whole body motion ...")
......
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