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