Heli autorotation restructure mode and improve speed controller #28209
+577
−534
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.
This PR is the next step in bringing on the autorotation flight mode. It builds on the work done in #27786 and is dependant upon it. Hence, the diff looks very large at the moment.
The following changes have been made:
Testing has been in Real flight only.
The majority of this PR is still behind the SITL only wall.
Special attention should be paid to the changes in AP_MotorsHeli_Single, _Dual & _Quad whereby I have slightly modified the way we detect the collective is on land col min. A modification to the autorotation auto test highlighted that this flag was not tripping when collective was being constrained to land col min. This bit is not SITL only