From 17a089af31d7e69668b7406b66be04851a53eede Mon Sep 17 00:00:00 2001 From: Sander Smeets Date: Thu, 22 Dec 2016 01:11:44 +0100 Subject: [PATCH] Fix orb poll --- src/modules/fw_att_control/fw_att_control_main.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/modules/fw_att_control/fw_att_control_main.cpp b/src/modules/fw_att_control/fw_att_control_main.cpp index 6a8507a1c8..cad93bc788 100644 --- a/src/modules/fw_att_control/fw_att_control_main.cpp +++ b/src/modules/fw_att_control/fw_att_control_main.cpp @@ -871,6 +871,8 @@ FixedwingAttitudeControl::task_main() vehicle_land_detected_poll(); + battery_status_poll(); + // the position controller will not emit attitude setpoints in some modes // we need to make sure that this flag is reset _att_sp.fw_control_yaw = _att_sp.fw_control_yaw && _vcontrol_mode.flag_control_auto_enabled;