Peter Barker
7b6fef16aa
Copter: remove redundant PreArm: in check_failed calls
6 years ago
Peter Barker
cc8912255e
Copter: move checking of fence up
6 years ago
Peter Barker
cac87b8e0b
Copter: use attitude and position controller prearm checks
6 years ago
IamPete1
ba3d1bc6c7
Copter: move E-stop state to SRV_Channel
6 years ago
bnsgeyer
07d9e8c224
Copter: Tradheli-removed hard coding of motor interlock to channel 8
6 years ago
murata
77389d9a91
Copter: remove dup return from arming prox check
6 years ago
Peter Barker
a90cfc7db7
Copter: clarify prearm failure messages
6 years ago
Peter Barker
e7e56dde7a
Copter: move handling of RC switches into RC_Channel
7 years ago
Peter Barker
df83cb034e
Copter: use ArmingMethod enumeration
7 years ago
Peter Barker
a1f29e92d1
Copter: use singletons in AP_Arming
7 years ago
Peter Barker
7785a962dc
Copter: fix inconsistent setting of AP_Notify::flags.pre_arm_gps_check
7 years ago
Peter Barker
291102360a
Copter: use check_failed function
7 years ago
Andrew Tridgell
b8d47f346e
Copter: fixed interlock check on helis
...
the motors check is always false when disarmed, so can't be used for
arming check
7 years ago
bnsgeyer
86440b20ba
Copter: Tradheli - disables inverted flight option for single and dual heli frames
7 years ago
Michael du Breuil
291531e056
Copter: Support new battery failsafes
7 years ago
Dr.-Ing. Amilcar do Carmo Lucas
5f9879fae1
Copter: remove more parameters when ACRO is disabled
7 years ago
Peter Barker
45f2312bfe
Copter: move home state into AP_AHRS
7 years ago
Ebin
185f41d5bd
Copter arm_checks(): PreArm in error msg changed to Arm
7 years ago
Dr.-Ing. Amilcar Do Carmo Lucas
b27c00dc5f
Copter: add option to disable ACRO mode
7 years ago
Andrew Tridgell
30572692c4
Copter: added ALLOW_ARM_NO_COMPASS
...
for skyviper-f412
7 years ago
Dr.-Ing. Amilcar Do Carmo Lucas
def098bd8a
Copter: obey ADSB_ENABLED == DISABLED
7 years ago
Randy Mackay
0f6762bbd2
Copter: PSC_ACCZ param name shortened
7 years ago
Randy Mackay
8d6f8e4d9c
Copter: move pos-control pids to pos-control library
7 years ago
Peter Barker
077b062701
Copter: change pre-arm checks to allow interlock to be enabled
...
With this change we will continue to tell the user their interlock is
enabled, but we will not fail the pre-arm checks.
This will mean that the blinking-LED indicators will show the vehicle as
armable (flashing green / flashing blue), even if the interlock would
prevent arming.
This has the advantage that you don't need your vehicle in the
"dangerous" state to work out whether arming will work when you attempt
to arm it.
Note that we repeat the interlock switch check in the arming checks, and
it WILL fail if the interlock switch is enabled.
7 years ago
Peter Barker
7b637334f4
Copter: eliminate mode_has_manual_throttle
7 years ago
Peter Barker
ef1489e87a
Copter: eliminate mode_requires_gps
7 years ago
Peter Barker
a4859e13c1
Copter: eliminate mode_allows_arming
7 years ago
Peter Barker
527a536b78
Copter: FlightMode - remove function parameters
...
Use current control_mode in place of parameters
Once conversion is complete these functions will disappear
7 years ago
ChrisBird
1f1bb61bfa
Copter: Add PreArm - PID Parameter check
...
This addresses the enhancement requested in: https://github.com/ArduPilot/ardupilot/issues/2424
It checks various PID values to check if they are zero, if they are and the corresponding rate forward feed is zero then it flags it as PreArm failure.
It has been added to the parameter check, so can be overridden if required.
7 years ago
Peter Barker
3846da5e23
Copter: remove redundant terrain checks
...
Now taken care of by continuous prearm checks
7 years ago
Peter Barker
d537461934
Copter: remove redundant battery checks
...
Now taken care of by continuous prearm checks
7 years ago
Peter Barker
b3b1680e11
Copter: remove redundant fence checks
...
Now checked as part of continuous prearm
7 years ago
Peter Barker
04af1cb331
Copter: remove redundant baro checks
...
Now checked as part of continuous prearm checks
7 years ago
Peter Barker
b5c907312c
Copter: remove redundant gps checks
...
Now tested as part of continuous pre-arm checks
7 years ago
Peter Barker
d563a9dd5d
Copter: remove redundant INS checks
...
Now checked by continuous prearm checks
7 years ago
Peter Barker
d3b73f8557
Copter: correct notification of pre-arm-gps-check failure
7 years ago
Peter Barker
818faa92d4
Copter: rc calibration checks are called by AP_Arming
7 years ago
Peter Barker
9b52c9b670
Copter: prearm logging checks are called in parent class
7 years ago
Peter Barker
49dd5f4f80
Copter: prearm board voltage checks are called in parent class
7 years ago
Peter Barker
b8802ec5c2
Copter: prearm gps checks are called in parent class
7 years ago
Peter Barker
7c0869fa19
Copter: prearm ins checks are called in parent class
7 years ago
Peter Barker
cb8fa41cb1
Copter: prearm compass checks are called in parent class
7 years ago
Peter Barker
30c1a040d7
Copter: prearm baro checks are called in parent class
7 years ago
Peter Barker
c129445ff6
Copter: call common prearm checks
7 years ago
Peter Barker
7b3e111f85
Copter: continuously run pre-arm checks
...
Stop "latching" the prearm checks, so if the checks start to fail
the craft becomes non-armable.
7 years ago
Peter Barker
b0c7766197
Copter: continuously reevaluate rc calibration checks
...
Stop "latching" calibration checks - if an RC radio's calibration
changes after it passes once, these patches allow the rc calibraiton
checks to then fail.
8 years ago
Peter Barker
0a2177de58
Copter: move Copter RC checking code into library
8 years ago
Randy Mackay
167ced1279
Copter: battery arming checks call parent AP_Arming
8 years ago
Randy Mackay
f97e43919b
Copter: add gps glitch notification and pre-arm check
8 years ago
Peter Barker
89478d5a28
Copter: ensure logging is working as part of arming checks
8 years ago