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
Rover: add Protection from Arming via MAVLink (e.g. Mission Planner) when throttle not at minimum #18688
Comments
I cant replicate this in master, I get: Thanks |
Maybe, I guess that @ktrussell mentions "force arm" on the Mission Planner. |
Sorry for my tardiness. I do not get the Force Arm message shown above. If I have my throttle at full and click on the ARM/DISARM button on the ACTION tab in Mission Planner, ArduRover immediately arms and slams the throttle sticks full on. I just verified again to be sure I was not seeing things. Attached are my current parameters. I am running 4.1.0-RC3. |
@ktrussell you have arming checks disabled. Set It there is some VERY good reason why you do not want all checks you could just enable the RC checks. |
@rmackay9 We could add RC inputs to the mandatory checks? Unless were going to do that we might as well close this... |
@IamPete1 thanks very much for investigating this. With arming checks off it makes sense that this could happen. @ktrussell, I'll close this if that's OK but thanks very much for the report and I'll be notified of responses if we need to review further. |
I verified that with ARMING_CHECK set to 1 (ALL), ArduRover does indeed NOT let me arm if throttle is away from neutral. Then I tried setting it to 64, which is RC Channels, and that also does not let arming happen, so that is the setting I want. I should have just tried it instead of asking. I was led to believe that RC Channels didn't do this, but I am happy it does. I apologize for taking up you guys' time, but thank you! I will look closely at the arming checks. I may be OK with all of them being enabled. |
PROBLEM: The autopilot can be armed from Mission Planner (and presumably any MAVLink source) when the throttle is not at the neutral position.
OBSERVATION: The RC_OPTIONS parameter can be set to prevent arming using the joystick method when the throttle is not in the neutral position, but the vehicle can still be armed from Mission Planner even if the throttle is not at neutral. This can present a potentially dangerous situation.
POTENTIAL SOLUTIONS:
ALTERNATIVES CONSIDERED:
A Lua Script can be written that will immediately disarm if it detects that the autopilot has been armed with the throttle away from neutral. In fact, Yuri_Rage has written such a script. The script is presented here: https://discuss.ardupilot.org/t/how-can-i-prevent-arming-from-mission-planner-if-throttle-is-not-at-0/75965/7
While this script does present some level of protection, it is not as ideal as a built-in feature would be because (1) the vehicle will be momentarily armed until the script catches it, (2) Lua scripts have low priority and are not guaranteed to run, and (3) Lua Scripts can be disabled.
Platform
[ ] All
[ ] AntennaTracker
[ ] Copter
[ ] Plane
[X] Rover
[ ] Submarine
The text was updated successfully, but these errors were encountered: