Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Copter: Throw mode check altitude params #25876

Merged
merged 1 commit into from
Jan 9, 2024

Conversation

JanMaciuk
Copy link
Contributor

@JanMaciuk JanMaciuk commented Jan 2, 2024

Allow the user to set altitude restrictions in which a throw can be detected via parameters.
This feature has been really useful preventing accidental throw detection, which I am sure many users struggled with during fully autonomous missions.
The scenario in which we use it is with a VTOL plane which has many copters attached to it.
The copters would tend to detect a throw and attempt to stabilize when still attached to the plane, during transition to fixed wing or turbulence.
The problem is solved by simply setting the throw altitude max parameter below the transition altitude.
Only when the plane descends to perform the drop copters are able to stabilize.
Code modifications are very simple, testing was performed in SITL to ensure the feature works as intended with different parameter values.
This is the second version after all reviews, we used these changes for dropping copters from an autonomous plane in designated altitude range.

ArduCopter/mode_throw.cpp Outdated Show resolved Hide resolved
ArduCopter/mode_throw.cpp Outdated Show resolved Hide resolved
Copy link
Contributor

@rmackay9 rmackay9 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks!

@rmackay9 rmackay9 merged commit 511659e into ArduPilot:master Jan 9, 2024
70 checks passed
@rmackay9
Copy link
Contributor

rmackay9 commented Jan 9, 2024

Merged, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants