mirror of
https://github.com/iNavFlight/inav.git
synced 2025-07-25 17:25:18 +03:00
add groundspeed check
This commit is contained in:
parent
c2a98768c0
commit
3a82e26b8b
1 changed files with 1 additions and 1 deletions
|
@ -318,7 +318,7 @@ static fixedWingLaunchEvent_t fwLaunchState_FW_LAUNCH_STATE_WAIT_DETECTION(timeU
|
|||
|
||||
const bool isBungeeLaunched = isForwardAccelerationHigh && isAircraftAlmostLevel;
|
||||
const bool isSwingLaunched = (swingVelocity > navConfig()->fw.launch_velocity_thresh) && (imuMeasuredAccelBF.x > 0);
|
||||
const bool isForwardLaunched = isGPSHeadingValid() && (imuMeasuredAccelBF.x > 0);
|
||||
const bool isForwardLaunched = isGPSHeadingValid() && (gpsSol.groundSpeed > navConfig()->fw.launch_velocity_thresh) && (imuMeasuredAccelBF.x > 0);
|
||||
|
||||
applyThrottleIdleLogic(false);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue