Skip to content
Snippets Groups Projects
Commit 6d3b13c9 authored by Fabian Reister's avatar Fabian Reister
Browse files

Merge branch 'feature/option-to-not-enforce-joint-limits-for-limitless-joints' into 'master'

RobotNode: using "enforceJointLimits" to disable clamping of limitless joints ...

See merge request sw/simox/simox!108
parents 2d74d6aa 71f294f5
No related branches found
No related tags found
No related merge requests found
......@@ -179,7 +179,7 @@ namespace VirtualRobot
VR_ASSERT_MESSAGE(initialized, "Not initialized");
VR_ASSERT_MESSAGE((!std::isnan(q) && !std::isinf(q)), "Not a valid number...");
if (limitless)
if (limitless and enforceJointLimits)
{
// limitless joint: map q to allowed interval
if (q > jointLimitHi)
......
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