Commit 8a2c5195 authored by Florent Lamiraux's avatar Florent Lamiraux Committed by Florent Lamiraux florent@laas.fr
Browse files

Set translation joints as unbounded in Freeflyer and planar joints.

parent 9740cc1a
......@@ -890,6 +890,9 @@ namespace hpp
joint = objectFactory_.createJointTranslation3 (mat);
joint->name (jointName);
jointsMap_[jointName] = joint;
joint->isBounded (0, false);
joint->isBounded (1, false);
joint->isBounded (2, false);
joint->lowerBound (0, -numeric_limits<double>::infinity());
joint->upperBound (0, +numeric_limits<double>::infinity());
joint->lowerBound (1, -numeric_limits<double>::infinity());
......@@ -928,6 +931,8 @@ namespace hpp
joint = objectFactory_.createJointTranslation2 (mat);
joint->name (jointName);
jointsMap_[jointName] = joint;
joint->isBounded (0, false);
joint->isBounded (1, false);
joint->lowerBound (0, -numeric_limits<double>::infinity());
joint->upperBound (0, +numeric_limits<double>::infinity());
joint->lowerBound (1, -numeric_limits<double>::infinity());
......
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