Leonard Hall
54a59f581f
Copter: add motor thrust lost check
6 years ago
Peter Barker
9b7b480688
Copter: force log-disarmed on crash check triggering
7 years ago
Peter Barker
f60389d4aa
Copter: use send_text method on the GCS singleton
8 years ago
Randy Mackay
a5ea9420c0
Copter: landing gear position set less often
...
This change means no pwm output is sent to the landing gear servos until the pilot has moved the switch
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
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
Leonard Hall
1f2d17e8e7
Copter: increase chance that parachute will deploy
...
Previously a single moment where the vehicle was within 30deg of the target could cause the parachute release counter to reset to zero. This change makes the parachute release if it is spending at least half it's time with more than a 30degree angle error.
9 years ago
Leonard Hall
3b7658c502
Copter: land and crash detector use thrust angle error
...
The thrust angle error is the difference between our desired thrust vector
and the actual thrust vector
Also some changes to use definitions in place of constants in the checks
9 years ago
Andrew Tridgell
86d8450666
Copter: use loop rate for copter
...
this allows for SCHED_LOOP_RATE below 400 in SITL for copter
9 years ago
dgrat
41661f815f
AP_Math: Replace the pythagorous* functions with a variadic template
...
The new function can deal with a variable number of function parameters.
Additionally, I renamed the functions to norm(), because this is the
standard name used in several other projects.
9 years ago
Randy Mackay
2e669a35e7
Copter: deploy landing gear when parachute is released
9 years ago
Jonathan Challinger
709fcf37cc
Copter: call renamed functions in AC_AttitudeControl
9 years ago
Luis Vale Gonçalves
3199829d45
Copter: revisions to text strings sent to GCS
9 years ago
lvale
549695181c
Copter: revised and uniformization of severity messages
9 years ago
Lucas De Marchi
84da1f5039
Rename gcs_send_text_P to gcs_send_text
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
Andrew Tridgell
ff934d5bca
Copter: added FS_CRASH_CHECK parameter
...
this allows automatic crash detection to be disabled
10 years ago
squilter
767b4da5b6
Copter: update send text severities
10 years ago
Randy Mackay
8f95bc3b67
Copter: parachute check uses lean angle error of 30deg
...
Also slightly restructured
10 years ago
Leonard Hall
4154ecdf18
Copter: use angle error instead of absolute angle
10 years ago
Randy Mackay
8cdfac8fcd
Copter: remove baro and pilot thr from crash checks
...
Add acceleration < 3m/s/s check
Run crash and parachute checks at 400hz
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
Randy Mackay
41077be4ad
Copter: parachute failure message if landed
10 years ago
Randy Mackay
3269cd63cb
Copter: parachute check uses alt-above-home
...
Baro alt is tied to the alt above EKF origin which isn't correct
10 years ago
Andrew Tridgell
26f7ab49e3
Copter: fixed some build warnings
10 years ago
Jonathan Challinger
8e3d163c3d
Copter: Change all zero throttle checks that should be conservative to use ap.throttle_zero
10 years ago
Randy Mackay
9bf9e0ede9
Copter: check parachute is enabled before manual_release
11 years ago
Randy Mackay
01e5ae6e5c
Copter: integrate parachute alt_min units change
11 years ago
Randy Mackay
47c1cb8b99
Copter: log parachute events
11 years ago
Randy Mackay
56768a8d61
Copter: add min alt check to parachute release
11 years ago
Randy Mackay
ac982656fd
Copter: extend crash check to trigger parachute
11 years ago
Randy Mackay
fe26af86de
Copter: crash check works with flip flight mode
11 years ago
Randy Mackay
7b9a48107e
Copter: move angle_max parameter to AP_Vehicle
11 years ago
Randy Mackay
8a6c2a6588
Copter: add alt and throttle checks to crash detector
11 years ago
Randy Mackay
2326b2e5f5
Copter: crash checker
...
Crash is determined to have happened when the copter is 20deg more than
the ANGLE_MAX parameter continuously for more than 2 seconds
Not activated when in ACRO mode or while flipping
11 years ago