Commit Graph

77 Commits

Author SHA1 Message Date
Peter Barker 62dc5280ba AP_Parachute: remove AUX_FUNC entries based on feature defines 2024-09-08 00:55:43 +10:00
Andrii Fil ed6ddf725d AP_Parachute: optional (CHUTE_OPTIONS:1) disarm defore parachute release 2024-04-10 21:55:51 +10:00
Iampete1 5b6d86c278 AP_Parachute: do relay conversion if ever enabled 2024-02-07 19:07:29 +11:00
Peter Barker 1cc2517e1e AP_Parachute: allow compilation with HAL_LOGGING_ENABLED false 2024-01-17 18:25:55 +11:00
Henry Wurzburg c9b8be7213 AP_Parachute:upate metadata in line with new relay functions 2024-01-02 11:46:46 +11:00
Iampete1 5a5ee0c44c AP_Parachute: move to new relay functions 2023-12-19 10:01:01 +11:00
muramura e25d4dcad5 AP_Parachute: Change to Boolean value 2023-11-11 09:06:42 +09:00
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
jackhong12 4a4f361a17 all: use CLASS_NO_COPY() macro 2022-10-04 11:23:04 +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
david sastre f8b6d4b0ac AP_Parachute: Fix singleton panic message 2020-05-05 07:43:02 +10:00
murata 1fdcab2b5a AP_Parachute: Change the tab code to whitespace 2020-04-27 09:29:45 +09:00
Andrew Tridgell 77fab986ea AP_Parachute: default to parachute enabled 2020-01-18 13:48:48 +11:00
Andrew Tridgell d546877d3f AP_Parachute: fixed example build 2020-01-18 13:48:48 +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
Peter Barker 610bcb3387 AP_Parachute: remove un-needed initialisations 2018-07-23 13:53:33 +09:00
Andrew Tridgell e798b38271 AP_Parachute: removed create() method for objects
See discussion here:

  https://github.com/ArduPilot/ardupilot/issues/7331

we were getting some uninitialised variables. While it only showed up in
AP_SbusOut, it means we can't be sure it won't happen on other objects,
so safest to remove the approach

Thanks to assistance from Lucas, Peter and Francisco
2017-12-14 08:12:28 +11:00
Lucas De Marchi 31db77e47b global: use static method to construct AP_Parachute 2017-09-26 03:01:21 +01:00
Lucas De Marchi 88dea049b4 AP_Parachute: add static create method 2017-09-26 03:01:21 +01:00
Lucas De Marchi 13d7f58036 global: use static method to construct AP_Relay 2017-09-26 03:01:21 +01:00
Patrick José Pereira 1eeea82e31 AP_Parachute: Add function to return _release_in_progress status
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2017-07-26 17:51:34 +01: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
Pierre Kancir 7abd22a33e AP_Parachute: example fix travis warning
missing function declaration
implicit cast
some style fix
2017-04-13 19:56:16 +01:00
murata 60b63bb69e AP_Parachute: Unify from print or println to printf. 2017-01-27 18:20:22 +11: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
Lucas De Marchi ae53920e5b build: don't build examples with old build system
We currently check examples are buildable with waf which doesn't need
the libraries to be specified in a make.inc file.  Having the makefiles
there is misleading since people try to build and realize the build is
broken.
2016-10-11 13:03:08 +11:00
Tom Pittenger ebe829614d AP_Parachute: set param "Enable" to be FLAG_ENABLE 2016-08-04 11:31:21 -07:00
Randy Mackay 71692044f8 AP_Parachute: resolve compile warning re init order 2016-04-22 21:32:35 +09: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
Lucas De Marchi b180f3a83f AP_Parachute: replace header guard with pragma once 2016-03-16 18:40:42 +11:00
Gustavo Jose de Sousa c2e3f05dbf waf: ardupilotwaf: prefix build context methods with ap_
It helps to distinguish between things from waf and things from ardupilotwaf.
2016-01-22 20:10:29 -02:00
Gustavo Jose de Sousa 3d22490397 waf: examples: use methods from bld instead of ardupilotwaf 2016-01-22 20:10:29 -02:00
Gustavo Jose de Sousa d281067bcc waf: make example binaries be placed in 'examples' dir
This commit makes examples' wscripts use ardupilotwaf.example() instead of
ardupilot.program().
2016-01-15 16:46:41 -02:00
Lucas De Marchi a096703b06 Global: don't link with AP_Progmem
AP_Progmem is not used anymore.
2015-12-27 15:58:12 -02:00
Caio Marcelo de Oliveira Filho 6e7b73610d waf: add waf support 2015-12-03 07:54:30 +11:00