diff --git a/scripts/run_locomote.py b/scripts/run_locomote.py index 7de1dc4ad87e8a856dd6ad3a329ea48b67218807..8b1616338ab7a7de1a955c25923f032af4d2a78e 100644 --- a/scripts/run_locomote.py +++ b/scripts/run_locomote.py @@ -65,9 +65,9 @@ if cfg.DISPLAY_COM_TRAJ: import hpp_wholebody_motion.wholebody.tsid_invdyn as wb 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" - q_t = wb.generateWholeBodyMotion(cs_initGuess,v,cp.fullBody) + q_t,v_t,a_t = wb.generateWholeBodyMotion(cs_initGuess,v,cp.fullBody) 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: raw_input("Press Enter to display the whole body motion ...")