Skip to content
Snippets Groups Projects
Unverified Commit 819f8c12 authored by Justin Carpentier's avatar Justin Carpentier Committed by GitHub
Browse files

Merge pull request #1135 from jmirabel/urdf_initialize_limits

[URDF] Don't leave velocity and acceleration limits uninitialized.
parents 155aba33 e3d8608d
No related branches found
No related tags found
No related merge requests found
......@@ -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,
......
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