Skip to content
Snippets Groups Projects
Commit 06e4ec98 authored by Carlos Mastalli's avatar Carlos Mastalli
Browse files

[hyq] Hardcoded HyQ's q0

parent 79976b2f
No related branches found
No related tags found
No related merge requests found
......@@ -119,4 +119,5 @@ def loadHyQ(modelPath='examples/hyq_description'):
robot = RobotWrapper.BuildFromURDF(FILENAME+modelPath+URDF_SUBPATH, [modelPath],
pinocchio.JointModelFreeFlyer())
# TODO define default position inside srdf
return robot
robot.q0.flat[7:] = [0., 0.75, -1.5, 0., -0.75, 1.5, 0., 0.75, -1.5, 0., -0.75, 1.5]
return robot
\ No newline at end of file
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