Commit Graph

28 Commits

Author SHA1 Message Date
Loki077 772cd1dae7 AP_ICEngine: add max retrial of cranking
Added Param MAX_RETRY which If set 0 or less, then there is no limit to retrials. If set to a value greater than 0 then the engine will retry starting the engine this many times before giving up.
2024-09-27 16:12:28 +10:00
Iampete1 98d9890bf1 AP_ICEngine: convert from local servo endpoints and rc channel params 2024-08-27 09:37:34 +10:00
Iampete1 44918b0e75 AP_ICEngine: move to new constant dt low pass filter class 2024-08-20 09:09:41 +10:00
Loki077 94059ed7bc AP_ICEngine: Add Option to Control the direction of Cranking.
Added the 5th bit to the ICE_OPTION parameter to enable CRANK_DIR_REVERSE control, specifically for managing Hirth engine direction using AP_ICEngine_TCA9554.
2024-08-19 20:21:57 +10:00
Iampete1 8ce490d985 AP_ICEngine: move to new relay functions 2023-12-19 10:01:01 +11:00
Pradeep CK 07d76a87fd AP_ICEngine: support relay for ignition and I2C for starter 2023-11-17 13:09:02 +11:00
Michael du Breuil 9486bf2b9c AP_ICEngine: Add a flag to allow starting the engine while disarmed 2023-10-24 14:11:39 -07:00
Michael du Breuil e8deb491de AP_ICEngine: Add an option to disable starting while disarmed 2023-09-27 08:43:27 -07:00
Andrew Tridgell 9c7c995185 AP_ICEngine: added ICE_DISABLED state 2023-09-27 11:43:45 +10:00
Andrew Tridgell 383994c466 AP_ICEngine: allow for ICE with no RPM support 2023-05-30 07:29:55 +10:00
Andrew Tridgell f366cbbcb4 AP_ICEngine: added allow_throttle_while_disarmed() 2022-11-14 11:14:09 +11:00
Peter Barker 8af84cf236 AP_ICEngine: add and use AP_ICENGINE_ENABLE 2022-07-22 08:48:16 +10:00
Andrew Tridgell 798ab5d859 AP_ICEngine: added option for throttle control while disarmed
this uses the passed in base throttle when disarmed
2022-07-18 20:55:56 +10:00
Andrew Tridgell 32e1767647 AP_ICEngine: added option to force low throttle on engine off
this fixes an issue with EFI engines that use low throttle demand to
stop the engine, instead of using an ignition channel. This option
needs to be set on these aircraft to prevent the idle governor or the
fwd throttle integrator in quadplanes from keeping the engine on when
the pilot asks for it to be off.
2022-07-10 06:56:58 +10:00
TunaLobster 53a5043ac4 AP_ICEngine: Change throttle_override to pass in current throttle value 2022-05-26 11:30:41 -07:00
TunaLobster 9e26556408 AP_ICEngine: Add redline governor and RPM filter
Adds a top end governor to protect the engine from exceeding design limits. Similar to idle governor.
Adds a LPF at 0.5 Hz for RPM.
2022-05-26 11:30:41 -07:00
Peter Barker 0ea46a93a1 AP_ICEngine: tidy includes 2022-05-03 09:14:58 +10:00
Andrew Tridgell 890fc96d20 AP_ICEngine: added ICE_STARTCHN_MIN
this gives a min PWM value to trigger an engine stop. It makes RC
glitches leading to engine stop much less likely
2020-09-14 12:20:55 +10:00
Dan Laks 54c827a792 AP_ICEngine: Initialize start_chan_last_value and catch RC values less than 800 2020-09-14 12:20:55 +10:00
Andrew Tridgell 23da0ea8b6 AP_ICEngine: add debounce to RC input for ICE_START_CHAN 2020-09-14 12:20:55 +10:00
Andrew Tridgell 5098e3f79e AP_ICEngine: added ICE_OPTIONS
option to kill ignition on RC failsafe. This is needed for some RC
model clubs
2019-12-18 12:28:41 +11:00
Andrew Tridgell ebf0c48903 AP_ICEngine: added idle governor 2019-11-17 20:10:54 +11:00
Patrick José Pereira b54399b9a7 AP_ICEngine: Add missing header guard
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2019-05-20 23:50:23 +01:00
IamPete1 3b9125956e AP_ICEngine: add idle throttle percentage 2019-04-17 16:48:51 -07:00
Tom Pittenger 4f41aa19bf AP_ICEngine: add singleton and remove unnecessary variable init 2019-02-20 00:51:03 -07:00
Tom Pittenger 79c78ba965 AP_ICEngine: ICE to use ahrs singleton 2019-02-05 15:34:08 +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
Andrew Tridgell 461be7ff0e AP_ICEngine: added IC engine control library 2016-07-25 10:06:03 +10:00