![]() |
Mapper
0.9.0
API documentation
|
Functions | |
| void | matrixMultiplication (float *A, float *B, float *result) |
| void | getOrientation (float *R, float *values) |
| Ported from android.hardware.SensorManager.getOrientation(). More... | |
| void | getRotationMatrixFromOrientation (float *orientation, float *result) |
| From http://www.thousand-thoughts.com/2012/03/android-sensor-fusion-tutorial/2/ Should be optimized ... More... | |
| bool | getRotationMatrix (float *R, float *gravity, float *geomagnetic) |
| Ported from android.hardware.SensorManager.getRotationMatrix(). More... | |
| void | getRotationMatrixFromVector (float *R, float *rotationVector) |
| Ported from android.hardware.SensorManager.getRotationMatrixFromVector(). More... | |
| void OpenOrienteering::SensorHelpers::getOrientation | ( | float * | R, |
| float * | values | ||
| ) |
Ported from android.hardware.SensorManager.getOrientation().
Computes the device's orientation based on the rotation matrix.
When it returns, the array values is filled with the result:
| bool OpenOrienteering::SensorHelpers::getRotationMatrix | ( | float * | R, |
| float * | gravity, | ||
| float * | geomagnetic | ||
| ) |
Ported from android.hardware.SensorManager.getRotationMatrix().
Computes the inclination matrix I as well as the rotation matrix R transforming a vector from the device coordinate system to the world's coordinate system [...]
| void OpenOrienteering::SensorHelpers::getRotationMatrixFromOrientation | ( | float * | orientation, |
| float * | result | ||
| ) |
From http://www.thousand-thoughts.com/2012/03/android-sensor-fusion-tutorial/2/ Should be optimized ...
| void OpenOrienteering::SensorHelpers::getRotationMatrixFromVector | ( | float * | R, |
| float * | rotationVector | ||
| ) |
Ported from android.hardware.SensorManager.getRotationMatrixFromVector().
Helper function to convert a rotation vector to a rotation matrix.
| void OpenOrienteering::SensorHelpers::matrixMultiplication | ( | float * | A, |
| float * | B, | ||
| float * | result | ||
| ) |
1.8.13