Verified Commit bb5d7ead authored by Justin Carpentier's avatar Justin Carpentier
Browse files

model: init to Ones the rotorGearRatio vector

parent ae4254a2
......@@ -113,7 +113,7 @@ namespace pinocchio
rotorInertia.conservativeResize(nv);
jmodel.jointVelocitySelector(rotorInertia).setZero();
rotorGearRatio.conservativeResize(nv);
jmodel.jointVelocitySelector(rotorGearRatio).setZero();
jmodel.jointVelocitySelector(rotorGearRatio).setOnes();
}
// Init and add joint index to its parent subtrees.
......
Markdown is supported
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