Quaternion: update to get_gyro_drift() interface

This commit is contained in:
Andrew Tridgell 2012-03-08 18:14:40 +11:00
parent bf16b2926c
commit 2f9af05cfa
1 changed files with 1 additions and 1 deletions

View File

@ -56,7 +56,7 @@ public:
// notice the sign reversals here // notice the sign reversals here
return Vector3f(-_gyro_corrected.x, -_gyro_corrected.y, _gyro_corrected.z); return Vector3f(-_gyro_corrected.x, -_gyro_corrected.y, _gyro_corrected.z);
} }
Vector3f get_integrator(void) { Vector3f get_gyro_drift(void) {
// notice the sign reversals here // notice the sign reversals here
return Vector3f(-gyro_bias.x, -gyro_bias.y, gyro_bias.z); return Vector3f(-gyro_bias.x, -gyro_bias.y, gyro_bias.z);
} }