mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-05-09 22:49:53 +08:00
[ahrs] add missing is_aligned flag to float_dcm ahrs
This commit is contained in:
@@ -142,6 +142,7 @@ bool_t ahrs_dcm_align(struct Int32Rates *lp_gyro, struct Int32Vect3 *lp_accel,
|
||||
RATES_FLOAT_OF_BFP(ahrs_dcm.gyro_bias, bias0);
|
||||
|
||||
ahrs_dcm.status = AHRS_DCM_RUNNING;
|
||||
ahrs_dcm.is_aligned = TRUE;
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user