Peter Barker
85652f69e9
AP_Parachute: allow more libraries to compile with no HAL_GCS_ENABLED
2023-09-05 22:23:51 +10:00
Peter Barker
2adb4fef5a
AP_Parachute: add option to disable relay and servorelay libraries
2023-06-20 09:36:39 +10:00
Peter Barker
4776ae653c
AP_Parachute: use relay singleton in Parachute
2023-01-03 10:19:54 +11:00
Iampete1
2241766ed6
AP_Parachute: params always use set method
2022-08-03 13:43:48 +01:00
Andrew Tridgell
c5ff9ac23f
AP_Parachute: added arming check for chute released
2021-11-18 15:21:15 +11:00
Andrew Tridgell
68c1f0db35
AP_Parachute: fixed printf format errors
2021-08-05 09:43:35 +10:00
Andrew Tridgell
95cbb69d3c
AP_Parachute: added CHUTE_OPTIONS
...
allow for servo release forever to cope with high altitude drops where
servo may be frozen
2021-07-22 07:49:14 +10:00
Andrew Tridgell
8660e98b57
AP_Parachute: added arming_checks()
2021-07-22 07:48:12 +10:00
Randy Mackay
4b7709f11d
AP_Parachute: move sink rate check to new method
...
also remove unused critical_sink accessor
2020-10-06 16:14:59 +11:00
Randy Mackay
17d4e797fb
AP_Parachute: formatting fixes
2020-10-06 16:14:59 +11:00
Andrew Tridgell
c3263d057f
AP_Parachute: make configurable in hwdef.dat
2020-01-18 13:48:48 +11:00
Peter Barker
04c005a213
AP_Parachute: cope with change in namespace of LogEvent enum
2019-11-05 08:19:26 +08:00
Vinicius Knabben
040fa3e10a
AP_Parachute: Added time check for sink rate to avoid glitches
...
Signed-off-by: Vinicius Knabben <viniciusknabben@hotmail.com>
2019-04-30 10:04:58 +10:00
Vinicius Knabben
c710002bc9
AP_Parachute: Added parachute release at critical sink rate
...
Signed-off-by: Vinicius Knabben <viniciusknabben@hotmail.com>
2019-04-30 10:04:58 +10:00
Peter Barker
005ec5cd4d
AP_Parachute: move responsibility for parachute deployment up
2019-02-13 09:25:27 +09:00
Dr.-Ing. Amilcar Do Carmo Lucas
89a0d2aa3b
AP_Parachute: Improve the PWM parameters descriptions
2017-06-06 11:06:26 +10:00
Dr.-Ing. Amilcar Do Carmo Lucas
5a2a82437a
AP_Parachute: Use SI units conventions in parameter units
...
Follow the rules from:
http://physics.nist.gov/cuu/Units/units.html
http://physics.nist.gov/cuu/Units/outside.html
and
http://physics.nist.gov/cuu/Units/checklist.html
one further constrain is that only printable (7bit) ASCII characters are allowed
2017-05-17 18:07:25 +10:00
Andrew Tridgell
7706741b9b
AP_Parachute: adapt to new RC_Channel API
2017-01-12 17:39:37 +11:00
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.
2016-10-24 09:42:01 -02:00
Tom Pittenger
ebe829614d
AP_Parachute: set param "Enable" to be FLAG_ENABLE
2016-08-04 11:31:21 -07:00
Rimvydas Naktinis
df922dacfa
Plane: Suppress throttle when parachute release initiated, not after release.
2016-04-21 09:53:22 -07:00
Andrew Tridgell
894e07a0bd
AP_Parachute: added CHUTE_DELAY_MS parameter
...
on fixed wing it may take quite some time for the propeller to stop
2016-03-29 05:48:40 +11:00
Caio Marcelo de Oliveira Filho
d186704724
AP_Parachute: use millis/micros/panic functions
2015-11-20 12:33:26 +09:00
Lucas De Marchi
831d8acca5
Remove use of PROGMEM
...
Now variables don't have to be declared with PROGMEM anymore, so remove
them. This was automated with:
git grep -l -z PROGMEM | xargs -0 sed -i 's/ PROGMEM / /g'
git grep -l -z PROGMEM | xargs -0 sed -i 's/PROGMEM//g'
The 2 commands were done so we don't leave behind spurious spaces.
AVR-specific places were not changed.
2015-10-30 14:35:16 +09:00
Andrew Tridgell
aee2543b75
AP_Parachute: fixed release bug
...
if release() is called within 1 millisecond of update() the release
wouldn't happen
2015-10-27 16:06:34 +11:00
Andrew Tridgell
0d9715cfe8
AP_Parachute: added a released() function
...
used to help with throttle suppression in plane
2015-10-27 16:06:34 +11:00
Gustavo Jose de Sousa
c6eb15f443
AP_Parachute: standardize inclusion of libaries headers
...
This commit changes the way libraries headers are included in source files:
- If the header is in the same directory the source belongs to, so the
notation '#include ""' is used with the path relative to the directory
containing the source.
- If the header is outside the directory containing the source, then we use
the notation '#include <>' with the path relative to libraries folder.
Some of the advantages of such approach:
- Only one search path for libraries headers.
- OSs like Windows may have a better lookup time.
2015-08-11 16:38:21 +10:00
myly10
7bb079b348
AP_Parachute.cpp: Typo correction.
2015-02-13 16:16:10 +09:00
Randy Mackay
542ec29e49
Parachute: set servo or relay to off position on every update
...
This resolves the issue of the parachute servo's position not being
initialised to the off position due to an ordering problem of the
auxiliary servos being initialised after the parachute object.
2014-10-18 17:26:23 +09:00
Randy Mackay
06bef6e3b8
Parachute: clear release time when enabled
...
This resolves an issue in which the parachute could be suddenly released
when the user enabled the parachute. The sequence that could have
caused this bad behaviour were (1) the parachute is triggered (2) the
user disables the parachute in the 0.5sec between the trigger and the
actual release, (3) the user re-enables the parachute and the old
release time from (1) is used.
2014-04-24 19:22:11 +09:00
Randy Mackay
3600bed47a
Parachute: relay parameter description update
2014-04-07 13:37:14 +09:00
Randy Mackay
879d447404
Parachute: alt_min units to meters
2014-04-07 13:37:11 +09:00
Randy Mackay
95579229ed
Parachute: add 0.5sec delay before parachute is released
...
This allows a short warning to the user through the new parachute_release tone
2014-04-07 13:37:05 +09:00
Randy Mackay
a639df0256
Parachute: set AP_Notify parachute_release flag
2014-04-07 13:37:02 +09:00
Randy Mackay
699b84e8ca
Parachute: minor comment changes
2014-04-07 13:36:58 +09:00
Randy Mackay
9d807802cc
Parachute: initial draft library
2014-04-07 13:36:25 +09:00