AHRS_DCM: call update_trig

This commit is contained in:
Randy Mackay 2014-02-08 15:52:20 +09:00
parent 3dc6ea682c
commit 6946d68318

View File

@ -76,6 +76,9 @@ AP_AHRS_DCM::update(void)
// Calculate pitch, roll, yaw for stabilization and navigation
euler_angles();
// update trig values including _cos_roll, cos_pitch
update_trig();
}
// update the DCM matrix using only the gyros