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