The Robot Application Programming Interface Delegate Project
|
Static Public Member Functions | |
static double | anglePiToPi (double angle) |
ensure angle is in range of -pi to pi | |
static double | angleZeroToTwo (double angle) |
ensure angle is in range of 0 to pi*2 | |
static double[] | rotationMatrixToEuler (final float[] rmat, double[] retVal) |
See The Matrix and Quaternions FAQ at http://www.flipcode.com/documents/matrfaq.html#Q37 Assumes order of Y*P*R. | |
static float[] | eulerToRotationMatrix (double[] euler, float[] retVal) |
see The Matrix and Quaternions FAQ at http://www.flipcode.com/documents/matrfaq.html#Q36 Assumes order of Y*P*R | |
static float[] | identity3x3 (float[] retVal) |
Static Public Attributes | |
static final double | RAD2DEG = 180.0/Math.PI |
static final double | DEG2RAD = Math.PI/180.0 |
static final double | TWO_PI = Math.PI * 2.0 |
static final double | HALF_PI = Math.PI / 2.0 |
static final double | EPSILON = 0.0005 |
static double anglePiToPi | ( | double | angle | ) | [static] |
static double angleZeroToTwo | ( | double | angle | ) | [static] |
static float [] eulerToRotationMatrix | ( | double[] | euler, |
float[] | retVal | ||
) | [static] |
static float [] identity3x3 | ( | float[] | retVal | ) | [static] |
static double [] rotationMatrixToEuler | ( | final float[] | rmat, |
double[] | retVal | ||
) | [static] |
rmat | 3x3 row major rotation matrix |
retVal | double array with at least 3 elements. If null, a 3 element array will be allocated for return value |
final double DEG2RAD = Math.PI/180.0 [static] |
final double EPSILON = 0.0005 [static] |
final double HALF_PI = Math.PI / 2.0 [static] |
final double RAD2DEG = 180.0/Math.PI [static] |
final double TWO_PI = Math.PI * 2.0 [static] |