NAV_LAUNCH: add min time before leaving #2677
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
When I'm launching my big wings I often do a over head launch using two hands. Before this patch I was laying my remote control down on the ground so that I could not accidentally bump the roll/pitch stick making the wing leave launch mode prematurely. This patch adds a delay after launch during which launch mode can't be interrupted by the roll/pitch stick. If the aircraft is going to crash or has crashed during the delay the user can still disarm or put the throttle to 0 to stop the motor(s).
This adds the new setting
nav_fw_launch_min_time
representing the described delay in milliseconds set by default to 0.