mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-08-01 20:27:57 +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