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

AP_Scripting: tricks-on-a-switch activation cleanup #23922

Merged
merged 1 commit into from Jun 19, 2023

Conversation

kd0aij
Copy link
Contributor

@kd0aij kd0aij commented May 29, 2023

only allow trick execution on switch transition to state 2
Also require that get_relative_position_NED_origin() is non-nil

@kd0aij
Copy link
Contributor Author

kd0aij commented Jun 4, 2023

flight tested by @timtuxworth on 3 June 2023

@kd0aij kd0aij requested a review from Hwurzburg June 4, 2023 13:20
@Hwurzburg
Copy link
Collaborator

This looks OK to me but I won't be able to test it until after I return in the middle of June....want to be sure prearm various situations with ekf/gps conditions don't prevent testing switches...just a test flight won't cover those

@tridge tridge merged commit 154ccf4 into ArduPilot:master Jun 19, 2023
82 checks passed
@kd0aij kd0aij deleted the pr-last_trick_status branch June 20, 2023 02:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants