You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In kinematics_plugin.cpp::searchPositionIK first the IK solution is found, then the angles may be wrapped (depending on mimic joints), then the position bounds are enforced (line 616), and then the success criteria is checked on line 638
The issue: line 638 is using the success as calculated with the PREVIOUS, non-bounded IK solution, WHICH MAY DIFFER from the state that gets returned to the user's code.
The impact: the user expects the arm to rotate clockwise a maximum of 45 degrees. Instead the combination of wrap + bound leads the robot to rotate -90 degrees and smash expensive end-effectors into a table.
This is related to #21 but this bug can still occur even if the angle wrapping is deactivated, depending on the position bounds.
The fix: success criteria must be rechecked on the final state which would be returned to the user, else dangerous behavior can occur.
The text was updated successfully, but these errors were encountered:
In
kinematics_plugin.cpp::searchPositionIK
first the IK solution is found, then the angles may be wrapped (depending on mimic joints), then the position bounds are enforced (line 616), and then the success criteria is checked on line 638The issue: line 638 is using the success as calculated with the PREVIOUS, non-bounded IK solution, WHICH MAY DIFFER from the state that gets returned to the user's code.
The impact: the user expects the arm to rotate clockwise a maximum of 45 degrees. Instead the combination of wrap + bound leads the robot to rotate -90 degrees and smash expensive end-effectors into a table.
This is related to #21 but this bug can still occur even if the angle wrapping is deactivated, depending on the position bounds.
The fix: success criteria must be rechecked on the final state which would be returned to the user, else dangerous behavior can occur.
The text was updated successfully, but these errors were encountered: