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:
parent
35e905d003
commit
61987f6655
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user