mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-16 05:43:34 +08:00
Fix orb poll
This commit is contained in:
committed by
Lorenz Meier
parent
7fd5aae834
commit
17a089af31
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user