Randy Mackay
b9977a1115
Copter: add land_complete_maybe flag
2014-09-19 16:43:15 +09:00
Randy Mackay
bca309eb1e
Copter: replace takeoff_complete with landed_complete
2014-02-15 05:27:43 +11:00
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
2013-11-15 17:13:56 +09:00
Randy Mackay
32f53624d6
Copter: rename low_battery to failsafe.battery
2013-10-13 13:52:52 +09:00
Randy Mackay
9435eb4a15
Copter: remove unused flags and consolidate ap and ap_system
2013-10-08 15:25:14 +09:00
Randy Mackay
0c0de7c53e
Copter: simple mode speedup
...
super simple and simple mode headings separated
g.super_simple converted into a bitmap by flight mode switch position
2013-10-05 18:26:56 +09:00
Randy Mackay
dab4f032f9
Copter: integrate BattMonitor
2013-10-03 11:16:28 +09:00
Randy Mackay
7cc8a9038f
Copter: move failsafe flags into structure
2013-09-26 19:37:15 +09:00
Randy Mackay
4c8227c050
Copter: update AP_Notify for gps failsafe and glitching
2013-09-24 21:41:28 +09:00
Randy Mackay
152f5da880
Copter: integrate AP_Notify batt and radio failsafes
2013-09-11 14:36:38 +09:00
Randy Mackay
52ef77393c
Copter: integrate Toshiba_LED_PX4
2013-08-30 13:01:35 +10:00
Randy Mackay
0f8f5bc048
Copter: remove unused ap.gps_status flag
2013-07-29 16:46:05 +09:00
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
2013-07-29 15:12:10 +09:00
Randy Mackay
c3daf78340
Copter: reset loiter target when landed
2013-07-28 18:18:41 +09:00
Randy Mackay
6a173eb7ad
Copter: remove unused dump_state function
...
Feel free to add this back in when doing debug. Let's not have too much
debug permanently in the code because it makes it harder to read.
2013-05-17 12:11:23 +09:00
Randy Mackay
bb7aec2600
Copter: log compass failur to dataflash
2013-05-13 18:01:30 +09:00
Randy Mackay
cca05ee8ae
Copter: start dataflash logging when arming
...
Stop nearly empty logs from being produced.
Removed redundant armed bit from ap state.
2013-05-03 14:49:55 +09:00
Randy Mackay
bab9fa25e5
Copter: add GCS failsafe
2013-04-29 21:30:22 +09:00
Randy Mackay
1ee825ee9a
Copter: move alt and wp checking to AC_WPNAV
...
RTL fix so that if it starts rtl-ing from above 80m it returns home
while descending instead of descending at initial position.
add get and set_target_alt_for_reporting
2013-04-14 10:39:23 +09:00
Randy Mackay
150046f2b8
Copter: GPS Failsafe implemented
...
Switches to LAND mode 5 seconds after losing GPS if you're in a flight
mode that requires a GPS
2013-03-16 17:27:46 +09:00
Randy Mackay
f9539384a1
Copter: rename failsafe to failsafe_radio
...
Makes way for separation of failsafes for throttle, gps and gcs
2013-03-16 17:14:21 +09:00
Randy Mackay
b4bbae56c6
ArduCopter: reduce redundant event logging
...
We now only write state changes to the dataflash log when they have
changed.
Also replaced <tab> with <space> in AP_State.pde
2013-01-13 00:13:10 +09:00
rmackay9
672fdfbf71
ArduCopter: added ERR dataflash message
...
Failsafe events changed to errors so they are more obvious.
Errors recorded to dataflash for failure to init compass and optical flow sensor.
Errors recorded for pwm failure.
Resolved a compile error when dataflash logging is disabled.
2013-01-02 09:55:37 +11:00
rmackay9
7a5e4b8549
ArduCopter: stop unnecessary updates of target altitude and knock-on effect of too many EV message in dataflash log
2013-01-02 09:19:17 +11:00
rmackay9
a5bb54e36e
ArduCopter: RTL clean-up and slightly improved landing sensor
...
Consolidated RTL state to be captured by rtl_state variable.
Combined update_RTL_Nav and verify_RTL functions which performed the same function but one was for missions, the other for the RTL flight mode.
Renamed some RTL parameters and global variables to have RTL at the front.
Landing detector now checks accel-throttle's I term and/or a very low throttle value
2012-12-06 10:31:52 +09:00
Andrew Tridgell
bcae83c4f6
ACM: make it possible to run CLI on radio port in ArduCopter
2012-11-21 21:41:34 +11:00
rmackay9
258442770d
ArduCopter: flight mode changes ignored while in throttle failsafe
...
reaction time to flight mode changes (when not in failsafe) reduced from 0.6 seconds to 0.1 seconds
2012-11-13 12:50:51 +09:00
Jason Short
bfca0ff9bc
ACM: added ap_state.pde
2012-11-09 22:15:15 -08:00