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: remove throttle check for arming in guided #28009

Closed

Conversation

peterbarker
Copy link
Contributor

Co-authored-by: muramura [email protected]

.... but add a guided option to put it back.

Replaces #20999
Closes #20995

We could ignore throttle unconditionally instead of adding the option bit?

New autotest fails before / passes after.

@@ -1140,7 +1144,8 @@ class ModeGuided : public Mode {
DoNotStabilizePositionXY = (1U << 4),
DoNotStabilizeVelocityXY = (1U << 5),
WPNavUsedForPosControl = (1U << 6),
AllowWeatherVaning = (1U << 7)
AllowWeatherVaning = (1U << 7),
ArmingCheckThrottle = (1U << 8),
Copy link
Member

Choose a reason for hiding this comment

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

Needs param description.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Fixed, thanks.

We really should add a sanity check for that.

@IamPete1
Copy link
Member

IamPete1 commented Sep 8, 2024

Is there a case where we could be waiting for the pilot to raise throttle in a takeoff in guided mode?

@rmackay9
Copy link
Contributor

We discussed this on the dev call and we think there is already an RC_OPTIONS that provides the same safety check

@peterbarker peterbarker deleted the pr/netral-throttle-check branch September 10, 2024 01:14
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.

Copter: unable to arm when throttle is maximized in GUIDED mode
4 participants