mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
Plane: let AHRS update orientation in its own time
This commit is contained in:
parent
fca544a14a
commit
cfff881013
@ -296,8 +296,6 @@ void Plane::one_second_loop()
|
|||||||
iomcu.setup_mixing(&rcmap, g.override_channel.get(), g.mixing_gain, g2.manual_rc_mask);
|
iomcu.setup_mixing(&rcmap, g.override_channel.get(), g.mixing_gain, g2.manual_rc_mask);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// make it possible to change orientation at runtime
|
|
||||||
ahrs.update_orientation();
|
|
||||||
#if HAL_ADSB_ENABLED
|
#if HAL_ADSB_ENABLED
|
||||||
adsb.set_stall_speed_cm(aparm.airspeed_min * 100); // convert m/s to cm/s
|
adsb.set_stall_speed_cm(aparm.airspeed_min * 100); // convert m/s to cm/s
|
||||||
adsb.set_max_speed(aparm.airspeed_max);
|
adsb.set_max_speed(aparm.airspeed_max);
|
||||||
|
Loading…
Reference in New Issue
Block a user