-
Notifications
You must be signed in to change notification settings - Fork 16.8k
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
Arming check duplicate switch options on Rover and Plane problem #14443 #14459
Conversation
looks like I mb know the problem in last case: I should put added check-code after block |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not really sure why we have three PRs for the same change now :-)
Still need to fix the commit messages - and remove trailing whitespace from this one.
Did you want me to finish this one off for you, or do you want to push through?
"Did you want me to finish this one" - sure. I think maybe this code need some refactoring in future eventually:
|
We want to run this test each time to catch someone doing silly immediately they change a parameter. We don't hook parameter sets, so a periodic prearm check is appropriate. |
Well, if you can finish this one should I convert this Pull req to draft ? |
Closes #14443 |
Fixed commit messages, removed whitespace, force-pushed it up. |
Thanks @mmk0102 - we merged this! |
move rc().duplicate_options_exist() from Copter directory to general library AP_Arming.
(have to create new branch cause CI test problem in prev one)
Tested only in positive way: code print me message when it successfully pass :
if (rc().duplicate_options_exist())
for plane and copter in SITL.
To check it in negative I have to set duplicate options from Mavlink console. I dont know such command yet.