Skip to content

Commit f34bf8c

Browse files
committed
less dramatic euler fix
1 parent 2fc3287 commit f34bf8c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/com/neuronrobotics/sdk/addons/kinematics/math/RotationNR.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -372,9 +372,9 @@ private double getAngle(int index){
372372
return getStorage().getAngles(getOrder(), getConvention())[index];
373373
} catch (CardanEulerSingularityException e) {
374374
try {
375-
return eulerFix( Math.toRadians(5), index);
375+
return eulerFix( Math.toRadians(0.001), index);
376376
} catch (CardanEulerSingularityException ex) {
377-
return eulerFix( Math.toRadians(-5), index);
377+
return eulerFix( Math.toRadians(-0.001), index);
378378

379379
}
380380
}

0 commit comments

Comments
 (0)