Peter Barker
0eb03ba7d5
Copter: make SuperSimple type-safe
5 years ago
Matt Lawrence
c7de86a241
Copter: Update AP_Notify of GCS failsafe
5 years ago
Peter Barker
e6c6189fe5
Copter: cope with change in namespace of LogEvent enum
...
Also move Acro Trainer types into an enum class as the global defines
interfere with the Event names.
Also eliminate the Log_Write_Event wrappers.
5 years ago
Patrick José Pereira
86633e45ff
Copter: Use new RC_Channel AUX_FUNC
...
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
6 years ago
IamPete1
ba3d1bc6c7
Copter: move E-stop state to SRV_Channel
6 years ago
Peter Barker
e7e56dde7a
Copter: move handling of RC switches into RC_Channel
7 years ago
Michael du Breuil
291531e056
Copter: Support new battery failsafes
7 years ago
Peter Barker
45f2312bfe
Copter: move home state into AP_AHRS
7 years ago
Peter Barker
592729733e
Copter: eliminate GCS_MAVLINK::send_statustext_all
8 years ago
murata
8fd9c73b78
Copter: Add SuperSimpleMode "2" to Simple Mode setting.
8 years ago
Randy Mackay
b89d3564c7
Copter: move set_pre_arm_check to arming_checks
8 years ago
Peter Barker
bd6ffc025e
Copter: start conversion to AP_Arming_Copter
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
murata
60137e0f0b
Copter: replace if statement with switch statement
8 years ago
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