Skip to content
Snippets Groups Projects
Commit ad0d4d99 authored by Rohan Budhiraja's avatar Rohan Budhiraja
Browse files

[bugfix on bugfix] so stupid. size of robot.q0 is nq, not nv

parent e9be63a7
No related branches found
No related tags found
No related merge requests found
......@@ -100,7 +100,7 @@ def loadTalosLegs(modelPath='/opt/openrobots/share'):
# Load SRDF file
robot.q0=np.matrix(np.resize(robot.q0, robot.model.nv)).T
robot.q0=np.matrix(np.resize(robot.q0, robot.model.nq)).T
readParamsFromSrdf(robot, modelPath+SRDF_SUBPATH, False)
assert((m2.armature[:6]==0.).all())
......
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