Randy Mackay
46118b59d7
TradHeli: integrate motor lib changes
11 years ago
Randy Mackay
f0f6e85b39
Copter: ARMING_CHECK made into bitmask
...
Allows arming checks to be individually enabled or disabled for baro,
compass, GPS, INS, parameters, RC and board voltage
11 years ago
Randy Mackay
fe822ba0b6
Copter: pre-arm check of INS health
11 years ago
Jason Short
371dc8c616
Copter: Drift Mode
...
Changes Toy mode declarations to Drift mode.
Requires GPS, Mode 2 transmitter
Drift mode mixes Roll, Pitch and Yaw into a single stick on mode two transmitters.
11 years ago
Randy Mackay
0778454434
Copter: disarm routine shortcut
...
Extra check so we only run the disarm check when we are actually armed.
The ground stations sometimes send many disarm messages which can be
ignored
11 years ago
Jason Short
520a535c21
Copter: TOY mode updates
11 years ago
Andrew Tridgell
f6f6caafc8
Copter: int gyros on arm, not on first boot
...
this makes first boot much faster
11 years ago
Randy Mackay
977983904f
Copter: arming check that throttle is above failsafe
11 years ago
Randy Mackay
94f301181e
Copter: recalc distance to home during arming
...
fixes an rare edge case in which the fence could trigger immediately
after arming
11 years ago
Randy Mackay
6b9b5c5617
Copter: pre-arm check speed is less than 50cm/s
11 years ago
Randy Mackay
0cbedded0d
Copter: autotune to use 2pos switch only
...
method of recording state also changed
other code clean-up
pair programmed withe Leonard
11 years ago
Randy Mackay
bf74a64fec
Copter: add GPS glitch to arming checks
11 years ago
Randy Mackay
f56617710f
Copter: pre-arm RC checks ch3's min and max
12 years ago
Randy Mackay
efc02161c4
Copter: add safe switch arming check
12 years ago
Randy Mackay
ba92c4891a
Copter: make AutoTune a compile-time option
12 years ago
Randy Mackay
31cea0140d
Copter: Leonard's AutoTuning for Roll and Pitch
12 years ago
Randy Mackay
a53d28e018
Copter: remove support for dmp ahrs
12 years ago
Andrew Tridgell
d9fe0552f0
Copter: allow Vcc checks on Pixhawk
12 years ago
Randy Mackay
a68966e077
Copter: integrate sprayer pump test
12 years ago
Randy Mackay
1d55fa6818
Copter: add arm check of GPS hdop when in Loiter
12 years ago
Randy Mackay
52ef77393c
Copter: integrate Toshiba_LED_PX4
12 years ago
Randy Mackay
e985253f1a
Copter: integrate notify
12 years ago
Randy Mackay
fe56ac3839
Copter: only allow auto_trim in STABILIZE
12 years ago
Randy Mackay
34e874282e
Copter: only check hdop when circular fence enabled
12 years ago
Randy Mackay
d000967a76
Copter: pre-arm check for gps hdop < 2
12 years ago
Randy Mackay
6969ab573d
Copter: configurable max lean angle
...
ANGLE_MAX parameter allows limiting the roll and pitch angles during
manual and auto flight modes to anywhere from 10 to 80 degrees
12 years ago
Randy Mackay
39ab4f62ef
Copter: add SPORT mode
12 years ago
Olivier-ADLER
87d062905e
Copter: 3 positions switch support for CH7 and CH8 - new 3 positions SIMPLE / SUPERSIMPLE mode
...
3 positions modes must use mode number >= 100
pre-arm check correction for CH7 - CH8 check
12 years ago
Randy Mackay
c173f0c7d9
Copter: change CH7/CH8 pre-arm check string
12 years ago
Randy Mackay
dbc18ee900
Copter: allow arming in AltHold and Loiter if landed
12 years ago
Olivier-ADLER
bf6120d8b7
Copter: Move CH7 - CH8 check from read_aux_switches() to pre_arm_checks.
...
Moving this to pre-arm checks save some processing time and is safer.
12 years ago
Randy Mackay
e6412b6996
Copter: do not spin motors during arming process
12 years ago
Jonathan Challinger
9f51a4a4f7
Copter: Cancel arming if throttle input above cruise_throttle.
12 years ago
Jonathan Challinger
2725f219cb
Copter: Warn user with motors while copter is arming
12 years ago
Randy Mackay
2b5f6e2668
Copter: pre-arm checks for rc ch 1~4 min and max
12 years ago
Randy Mackay
213472102c
Copter: pre-arm check of throttle failsafe value
...
Check throttle min is above throttle failsafe trigger and that trigger
is above ppm encoder's loss-of-signal value of 900
12 years ago
Randy Mackay
ed3bf2c1e7
Copter: relax pre-arm checks for mag field
...
previously it was 50% ~ 150% of expected mag field but now expanded to
35% ~ 165%.
12 years ago
Randy Mackay
79d2fe6271
Copter: double flash arming light when pre-arm checks fail
...
Hardly my finest work but it's temporary because we're going to replace
all the led, buzzer etc with a library called AP_Notify in the near
future.
12 years ago
Dr Gareth Owen
4c6d6ea96e
changed yaw reset to when armed to not use initial_simple_bearing
12 years ago
Randy Mackay
e3cd494709
Copter: remove debug message
12 years ago
Randy Mackay
7b50ecc73c
Copter: pre-arm check for mag field length
12 years ago
Randy Mackay
a1821c89e7
Copter: pre-arm check for board voltage < 5.8V
12 years ago
Randy Mackay
c6e383be0f
Copter: disable board voltage pre-arm check for PX4
12 years ago
Randy Mackay
c3d21a457f
Copter: add pre-arm board voltage check
...
Copter will not arm unless board voltage is over 4.5V
12 years ago
Randy Mackay
6ecd2d74a3
Copter: beep twice during arming
12 years ago
Randy Mackay
ec7ee47099
Copter: scaling stability patch
12 years ago
Randy Mackay
4fa101292a
Copter: add baro health to pre-arm checks
12 years ago
Randy Mackay
bd44c2f73d
Copter: all pre-arm checks to be disabled
...
set ARMING_CHECK parameter to zero to disable
12 years ago
Randy Mackay
43c377ca67
Copter: add compass calibration to pre-arm check
12 years ago
Randy Mackay
6efdabb104
Copter: move auto disarm into a separate function
12 years ago