Add a parameter to delay landing in the event of a Failsafe #9502
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.
Landing during a failsafe is a useful feature. But, sometimes it may be unnecessary. For example, we are flying close to home and the transmitter battery dies. The aircraft could have landed before the battery in the transmitter is replaced. For rotary wings this is not so much of a problem. But for fixed wing, the landing is a controlled spiral crash. However, with both platforms, a human controlled landing would always be the better option.
This PR adds the option to delay the landing procedure start time.
nav_rth_fs_landing_delay
allows a delay in seconds to be set. This is only used during FS operation, so will not affect landing on RTH. As an additional safeguard. If the battery is in the WARNING or CRITIAL states. The landing will not delay any further.Fixes #4123 #8893