Skip to content

Commit

Permalink
Disable warning
Browse files Browse the repository at this point in the history
  • Loading branch information
diegoferigo committed Nov 2, 2020
1 parent 875808e commit 2effcb7
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions dart/dynamics/detail/GenericJoint.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -1467,18 +1467,6 @@ void GenericJoint<ConfigSpaceT>::setRestPosition(size_t index, double q0)
return;
}

if (Base::mAspectProperties.mPositionLowerLimits[index] > q0
|| Base::mAspectProperties.mPositionUpperLimits[index] < q0)
{
dtwarn << "[GenericJoint::setRestPosition] Value of _q0 [" << q0
<< "], is out of the limit range ["
<< Base::mAspectProperties.mPositionLowerLimits[index] << ", "
<< Base::mAspectProperties.mPositionUpperLimits[index]
<< "] for index [" << index << "] of Joint [" << this->getName()
<< "].\n";
return;
}

GenericJoint_SET_IF_DIFFERENT(mRestPositions[index], q0);
}

Expand Down

0 comments on commit 2effcb7

Please sign in to comment.