mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-05-23 13:24:03 +08:00
[nav] in_flight detection is not implemented in fixedwing firmware (#2641)
this case the nav_home to fail in vertical control
This commit is contained in:
committed by
GitHub
parent
0252f04d5f
commit
2b0f2c330a
@@ -424,7 +424,7 @@ void nav_home(void)
|
||||
NavCircleWaypoint(WP_HOME, FAILSAFE_HOME_RADIUS);
|
||||
/** Nominal speed */
|
||||
nav_pitch = 0.;
|
||||
if (autopilot_in_flight() && autopilot.launch) {
|
||||
if (autopilot.launch) {
|
||||
v_ctl_mode = V_CTL_MODE_AUTO_ALT;
|
||||
} else {
|
||||
v_ctl_mode = V_CTL_MODE_AUTO_THROTTLE;
|
||||
|
||||
Reference in New Issue
Block a user