mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-06-27 18:00:35 +08:00
Fixed backside automode typo.
This commit is contained in:
@@ -167,7 +167,7 @@ void BlockMultiModeBacksideAutopilot::update()
|
||||
// the setpoint should update to loitering around this position
|
||||
|
||||
// handle autopilot modes
|
||||
if (_status.main_state != MAIN_STATE_AUTO) {
|
||||
if (_status.main_state == MAIN_STATE_AUTO) {
|
||||
|
||||
// calculate velocity, XXX should be airspeed,
|
||||
// but using ground speed for now for the purpose
|
||||
|
||||
Reference in New Issue
Block a user