Randy Mackay
807e930251
Copter: throw uses motor spooling instead of interlock
9 years ago
Paul Riseborough
1aade494fc
AP_State: enable use of motor interlock during throw mode
9 years ago
Luis Vale Gonçalves
3199829d45
Copter: revisions to text strings sent to GCS
9 years ago
Randy Mackay
1b29a1af46
Copter: consolidate setting of using-iterlock state
9 years ago
Lucas De Marchi
2c38e31c93
Remove use of PSTR
...
The PSTR is already define as a NOP for all supported platforms. It's
only needed for AVR so here we remove all the uses throughout the
codebase.
This was automated with a simple python script so it also converts
places which spans to multiple lines, removing the matching parentheses.
AVR-specific places were not changed.
9 years ago
Randy Mackay
a403e5aef0
Copter: fix severity of super simple message to GCS
10 years ago
Ivale
6c74981010
Copter: report simple mode status to GCS as text
10 years ago
Randy Mackay
42c202a08f
Copter: move set_land_complete_maybe to landing_detector.cpp
10 years ago
Jonathan Challinger
fb82ac3eb3
Copter: rework land detector logic
10 years ago
Andrew Tridgell
278883c521
Copter: finished conversion to .cpp files
...
Pair-Programmed-With: Randy Mackay <rmackay9@yahoo.com>
10 years ago
Andrew Tridgell
356ece3402
Copter: rename .pde files to .cpp files
10 years ago
Robert Lefebvre
41a6cc64ff
Copter: Log Emergency Stop and Motor Interlock status
10 years ago
Robert Lefebvre
4e51ce6d75
Copter: rename "estop" to "emergency stop".
...
No functional change
10 years ago
Robert Lefebvre
16cf9471ae
Copter: Remove ap.motors_interlock, use only flag in AP_Motors
10 years ago
Robert Lefebvre
7349827eb1
Copter: Add Aux Switch E-Stop Function
10 years ago
Robert Lefebvre
7d745587a4
Copter: Add using_interlock flag, employ it in arming process
10 years ago
Robert Lefebvre
e4c5915330
Copter: initial creation of motor_interlock
10 years ago
Randy Mackay
fbfc94cf69
Copter: remove GPS glitch and failsafe
...
The EKF failsafe now captures all failures that could lead to a bad
position including GPS glitches and a bad compass meaning we do not need
this protection in the main flight code.
10 years ago
Randy Mackay
e081b9d1c7
Copter: home is set becomes three state
10 years ago
Randy Mackay
b9977a1115
Copter: add land_complete_maybe flag
11 years ago
Randy Mackay
bca309eb1e
Copter: replace takeoff_complete with landed_complete
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
32f53624d6
Copter: rename low_battery to failsafe.battery
11 years ago
Randy Mackay
9435eb4a15
Copter: remove unused flags and consolidate ap and ap_system
11 years ago
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
12 years ago
Randy Mackay
dab4f032f9
Copter: integrate BattMonitor
12 years ago
Randy Mackay
7cc8a9038f
Copter: move failsafe flags into structure
12 years ago
Randy Mackay
4c8227c050
Copter: update AP_Notify for gps failsafe and glitching
12 years ago
Randy Mackay
152f5da880
Copter: integrate AP_Notify batt and radio failsafes
12 years ago
Randy Mackay
52ef77393c
Copter: integrate Toshiba_LED_PX4
12 years ago
Randy Mackay
0f8f5bc048
Copter: remove unused ap.gps_status flag
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
c3daf78340
Copter: reset loiter target when landed
12 years ago
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.
12 years ago
Randy Mackay
bb7aec2600
Copter: log compass failur to dataflash
12 years ago
Randy Mackay
cca05ee8ae
Copter: start dataflash logging when arming
...
Stop nearly empty logs from being produced.
Removed redundant armed bit from ap state.
12 years ago
Randy Mackay
bab9fa25e5
Copter: add GCS failsafe
12 years ago
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
12 years ago
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
12 years ago
Randy Mackay
f9539384a1
Copter: rename failsafe to failsafe_radio
...
Makes way for separation of failsafes for throttle, gps and gcs
12 years ago
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
12 years ago
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.
12 years ago
rmackay9
7a5e4b8549
ArduCopter: stop unnecessary updates of target altitude and knock-on effect of too many EV message in dataflash log
12 years ago
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
12 years ago
Andrew Tridgell
bcae83c4f6
ACM: make it possible to run CLI on radio port in ArduCopter
12 years ago
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
12 years ago
Jason Short
bfca0ff9bc
ACM: added ap_state.pde
12 years ago