AP_AHRS: Fixed DCM get_gyro function

Previously incorporated the attitude correction terms into the return. Now only returns the drift-corrected gyro.
This commit is contained in:
Jonathan Challinger 2014-07-13 00:36:27 -07:00 committed by Andrew Tridgell
parent 35e905d003
commit 61987f6655
1 changed files with 1 additions and 1 deletions

View File

@ -40,7 +40,7 @@ public:
// return the smoothed gyro vector corrected for drift
const Vector3f get_gyro(void) const {
return _omega + _omega_P + _omega_yaw_P;
return _omega;
}
// return rotation matrix representing rotaton from body to earth axes