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
Peter Barker
e45efeb829
Copter: move starting of new logs into DataFlash
8 years ago
Peter Barker
cbde87b390
Copter: remove pointless pre_arm_gps_checks function
8 years ago
Peter Barker
baaad8df94
Copter: use common board_voltage_checks code
8 years ago
Peter Barker
a7bc111485
Copter: use common baro arming check function
8 years ago
Peter Barker
592729733e
Copter: eliminate GCS_MAVLINK::send_statustext_all
8 years ago
Tom Pittenger
25b014524a
Copter: use send_text method on the GCS singleton
8 years ago
Peter Barker
f60389d4aa
Copter: use send_text method on the GCS singleton
8 years ago
Randy Mackay
dfe3922d82
Copter: modify pre-arm check wording
...
- slight wording change to RC pre-arm check
- shorten Accelerometers to Accels to allow failure message to fit on MP HUD
8 years ago
Randy Mackay
bff9189afc
Copter: fixup fence pre-arm checks
...
- require GPS if polygon fence is enabled
- fence pre-arm failure shows failure message
- tell user fence is enabled which is why GPS is required
8 years ago
Lucas De Marchi
cc7633f272
ArduCopter: replace board ifdef with feature ifdef
8 years ago
Lucas De Marchi
b17acfee12
Add aerofc support
...
Flight Controller board that comes on Intel Aero RTF Drone.
8 years ago
Randy Mackay
b30d743812
Copter: AP_Arming calls parent's gps checks
...
Allows removing some duplicate code
8 years ago
Randy Mackay
51c00f8144
Copter: use only downward facing rangefinder
8 years ago
Peter Barker
01b1916de5
Copter: ensure logging is working as part of prearm
8 years ago
Peter Barker
e7d3219a58
Copter: check all channels have been configured, not just throttle
8 years ago
Peter Barker
ab13b3beaf
Copter: make rc checks verbose on failure
8 years ago
Peter Barker
078866046a
Copter: correct rc-arming checks concerning trims
...
Trims should always be between min and max
8 years ago
Randy Mackay
becc56da0b
Copter: AP_Arming internal references start with underscore
8 years ago
Randy Mackay
cc217550c0
Copter: rename arming_checks to AP_Arming
8 years ago
Randy Mackay
a52db9f29d
Copter: fix motors_checks to AP_Arming
8 years ago
Randy Mackay
ee9588c674
Copter: fix proximity arming checks
8 years ago
Randy Mackay
b89d3564c7
Copter: move set_pre_arm_check to arming_checks
8 years ago
Peter Barker
ac980fdd47
Copter: use compass_checks from AP_Arming
...
User-visible changes:
- checks will fail if calibration is in progress
- PX4FMU_V1 will now have COMPASS_OFFSETS_MAX of 600, not 500
- if the primary compass is not set to be used then compass checks will always pass
8 years ago
Peter Barker
f3a31b988a
Copter: use ins_checks from AP_Arming
...
Functionality changes:
- gyros and accels only have to be consistent in last 10 seconds to pass
- ins.use_accel() is honoured when checking for consistency
- ins.use_gyro() is honoured when checking for consistency
- threshold is trippled rather than doubled for accel cal checks
- checks are reordered
8 years ago
Peter Barker
bd6ffc025e
Copter: start conversion to AP_Arming_Copter
8 years ago
Andrew Tridgell
0f6d0c5ba9
Copter: combined tri, single, coax and multicopter into a single build
...
this allows copter to be just 2 builds, one for heli, and one for
everything else
8 years ago
Peter Barker
a233024e05
Copter: fix compilation when fence andd proximity are disabled
...
This adds AC_AVOID_ENABLED; avoidance must be disabled if either
of fence or proximity are disabled.
Parameter definitions have been reordered to avoid compiler warnings;
this make sthe numbering non-linear
8 years ago
Randy Mackay
01bcf5e528
Copter: add arming checks for motor setup
8 years ago
Randy Mackay
dbbf6cae5c
Copter: arming check ignores proximity if avoidance disabled
8 years ago
Randy Mackay
218c8b2d16
Copter: proximity pre-arm check displays closet object
8 years ago
Randy Mackay
bf0e7fb3a9
Copter: add compass health to arming check
8 years ago
Mathieu OTHACEHE
152edf7189
Global: remove mode line from headers
...
Using a global .dir-locals.el file is a better alternative than
reincluding the same emacs header in every file of the project.
8 years ago
Randy Mackay
0aab175051
Copter: move proximity to g2
8 years ago
murata
f705bd0d83
Copter: reduce intermediate storage of arming_check results
8 years ago
Randy Mackay
89c660eab5
Copter: add pre-arm check for proximity sensor
8 years ago
Randy Mackay
337461c16c
Copter: pre-arm check of GPS configuration
8 years ago
Peter Barker
f67d247a46
Copter: factor pre-arm checks, continue testing after a failure
...
The functional change here is that we continue to run later checks
when a check fails.
The user-visible effect of that is that your GCS will tell you about
all pre-arm failures, not just the first.
This makes things work a little more like Plane, in preparation for
using AP_Arming.
9 years ago
Tom Pittenger
4cd66d54d1
Copter: fixed adsb pre-arm error text. "Arm" and "PreArm" were swapped
9 years ago
Randy Mackay
c3d71f733c
Copter: remove get_takeoff_trigger_throttle
...
get_pilot_desired_climbrate can be used instead.
9 years ago
Jonathan Challinger
80f3541933
Copter: add configurable arming delay
9 years ago
Randy Mackay
807e930251
Copter: throw uses motor spooling instead of interlock
9 years ago
Randy Mackay
1161417d7f
Copter: add GUIDED_NOGPS flight mode
...
This mode is a cut down version of Guided mode that only accepts attitude commands.
This mode does not require a GPS lock
9 years ago