mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-21 16:18:29 -04:00
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
|
||||
euler_angles();
|
||||
|
||||
// update trig values including _cos_roll, cos_pitch
|
||||
update_trig();
|
||||
}
|
||||
|
||||
// update the DCM matrix using only the gyros
|
||||
|
Loading…
Reference in New Issue
Block a user