-
Notifications
You must be signed in to change notification settings - Fork 19.8k
AP_Arming: turn ARMING_CHECK into ARMING_SKIPCHK #31568
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
Open
tpwrules
wants to merge
20
commits into
ArduPilot:master
Choose a base branch
from
tpwrules:pr/arming-skipchk
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
38ce279
AP_Arming: rehabilitate AP_Arming init
tpwrules 0af2e7a
AP_Vehicle: rehabilitate AP_Arming init
tpwrules eb75557
Tools/Replay: remove unused configure function
tpwrules c775feb
Tools/Replay: add AP_Arming object to replay vehicle
tpwrules e1d8e7b
ArduSub: remove old ARMING_CHECK conversion
tpwrules c712827
Rover: remove old ARMING_CHECK conversion
tpwrules 455d1d8
autotest: don't fiddle with ARMING_CHECK in BeaconPosition
tpwrules 5f2ab50
AP_Param: expand `get_param_by_index` index
tpwrules d74770e
AP_Arming: turn ARMING_CHECK into ARMING_SKIPCHK
tpwrules 7fbc4c3
ArduCopter: turn ARMING_CHECK into ARMING_SKIPCHK
tpwrules a7ebc19
ArduPlane: turn ARMING_CHECK into ARMING_SKIPCHK
tpwrules f24de53
ArduSub: turn ARMING_CHECK into ARMING_SKIPCHK
tpwrules e2ac184
Blimp: turn ARMING_CHECK into ARMING_SKIPCHK
tpwrules 92dd130
Rover: turn ARMING_CHECK into ARMING_SKIPCHK
tpwrules c57b571
autotest: use ARMING_SKIPCHK
tpwrules af044d0
AP_HAL_ESP32: use ARMING_SKIPCHK in stampfly default params
tpwrules a7c2533
AP_HAL_ChibiOS: manually convert ARMING_SKIPCHK in default params
tpwrules fdf3c68
SITL/examples: update to use ARMING_SKIPCHK in params
tpwrules e923c99
Tools/Frame_params: manually convert ARMING_SKIPCHK
tpwrules f498b13
AP_Beacon: use ARMING_SKIPCHK in sitl params
tpwrules File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
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.
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.
We should actually have a closer look at these - they may be historical and no-longer-needed
You can arm Copter without RC. Adding RC in here means you can see an RC and then lose it and still be able to arm. I don't know if that's desired behaviour
The voltage/battery checks are weird, too, as there shouldn't be a battery monitor set up by default.
@Williangalvani
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.
I would be happy to let Sub to default to all checks enabled if Willian approves.
On the other hand, doing that does break half the tests.
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.
@peterbarker
We could use battery bit to allow user to skip arming voltage check (but maybe not low/critical) ex. for performing a lot of short missions on one battery.
That may be the case for some users ex. performing test hover prior to auto mission without RC control. This should would require 0-ing RC input state if it isn't seen when disarmed.