Commit e3d8608d authored by Joseph Mirabel's avatar Joseph Mirabel
Browse files

[URDF] Don't leave velocity and acceleration limits uninitialized.

parent 155aba33
......@@ -159,6 +159,9 @@ namespace pinocchio
{
max_effort << joint->limits->effort;
max_velocity << joint->limits->velocity;
} else {
max_effort << infty;
max_velocity << infty;
}
model.addJointAndBody(UrdfVisitorBase::CONTINUOUS, axis,
......
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