Commit 075e068f authored by Carlos Mastalli's avatar Carlos Mastalli
Browse files

[bugfix] Compatibility with numpy matrix too

parent 6931e4a3
Pipeline #8211 passed with stage
in 17 minutes and 27 seconds
......@@ -154,7 +154,7 @@ def loadTalosLegs():
robot.visual_data = pinocchio.GeometryData(g2)
# Load SRDF file
robot.q0 = np.array(np.resize(robot.q0, robot.model.nq)).T
robot.q0 = robot.q0[:robot.model.nq]
readParamsFromSrdf(robot, modelPath + SRDF_SUBPATH, False)
assert ((m2.armature[:6] == 0.).all())
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