AHRS_DCM: call update_trig
This commit is contained in:
parent
3dc6ea682c
commit
6946d68318
@ -76,6 +76,9 @@ AP_AHRS_DCM::update(void)
|
|||||||
|
|
||||||
// Calculate pitch, roll, yaw for stabilization and navigation
|
// Calculate pitch, roll, yaw for stabilization and navigation
|
||||||
euler_angles();
|
euler_angles();
|
||||||
|
|
||||||
|
// update trig values including _cos_roll, cos_pitch
|
||||||
|
update_trig();
|
||||||
}
|
}
|
||||||
|
|
||||||
// update the DCM matrix using only the gyros
|
// update the DCM matrix using only the gyros
|
||||||
|
Loading…
Reference in New Issue
Block a user