diff --git a/src/main/java/com/neuronrobotics/sdk/addons/kinematics/math/RotationNR.java b/src/main/java/com/neuronrobotics/sdk/addons/kinematics/math/RotationNR.java index 8de27039..8b698fc1 100644 --- a/src/main/java/com/neuronrobotics/sdk/addons/kinematics/math/RotationNR.java +++ b/src/main/java/com/neuronrobotics/sdk/addons/kinematics/math/RotationNR.java @@ -372,9 +372,9 @@ private double getAngle(int index){ return getStorage().getAngles(getOrder(), getConvention())[index]; } catch (CardanEulerSingularityException e) { try { - return eulerFix( Math.toRadians(5), index); + return eulerFix( Math.toRadians(0.001), index); } catch (CardanEulerSingularityException ex) { - return eulerFix( Math.toRadians(-5), index); + return eulerFix( Math.toRadians(-0.001), index); } }