Peter Barker
8af84cf236
AP_ICEngine: add and use AP_ICENGINE_ENABLE
3 years ago
Andrew Tridgell
0731b5cfa0
AP_ICEngine: fixed RPM filter rate and plane.G_Dt
...
AP_ICEngine runs at 10Hz, so we need to use 10 for the filter.
As this runs in a constructor it also caused memoisation of the wrong
AP_Scheduler _loop_period_s which resulted in plane.G_Dt always being
1/50, which is a much more serious issue
this is a temporary fix, we need a better one soon
3 years ago
Andrew Tridgell
798ab5d859
AP_ICEngine: added option for throttle control while disarmed
...
this uses the passed in base throttle when disarmed
3 years ago
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.
3 years ago
Peter Barker
61e65ca5f2
AP_ICEngine: add tests for ICE Planes
3 years ago
TunaLobster
53a5043ac4
AP_ICEngine: Change throttle_override to pass in current throttle value
3 years ago
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.
3 years ago
Peter Barker
0ea46a93a1
AP_ICEngine: tidy includes
3 years ago
Peter Barker
677466e60b
AP_ICEngine: include cleanups
3 years ago
TunaLobster
642bd85306
AP_ICEngine: spelling and grammer fixes inc in param description
4 years ago
Hwurzburg
0ffa83b2dd
AP_ICEngine: add note about ICE_STARTCHN_MIN param
4 years ago
Tom Pittenger
8019cc160a
AP_ICEngine: make it obvious that update_idle_gov does nothing if disabled
4 years ago
Pierre Kancir
9362039feb
AP_ICEngine: use AUX_PWM_TRIGGER_LOW and AUX_PWM_TRIGGER_HIGH
4 years ago
Andrew Tridgell
96dd354131
AP_ICEngine: check for valid RC input for ICE
4 years ago
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
4 years ago
Dan Laks
54c827a792
AP_ICEngine: Initialize start_chan_last_value and catch RC values less than 800
4 years ago
Andrew Tridgell
23da0ea8b6
AP_ICEngine: add debounce to RC input for ICE_START_CHAN
4 years ago
Andrew Tridgell
a93aa27cc1
AP_ICEngine: convert to new get_rpm() API
5 years ago
Peter Barker
370e378bf6
AP_ICEngine: correct IDLE_DB parameter documentation
5 years ago
Andrew Tridgell
5098e3f79e
AP_ICEngine: added ICE_OPTIONS
...
option to kill ignition on RC failsafe. This is needed for some RC
model clubs
5 years ago
Andrew Tridgell
ebf0c48903
AP_ICEngine: added idle governor
5 years ago
Patrick José Pereira
b54399b9a7
AP_ICEngine: Add missing header guard
...
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
6 years ago
tom pittenger
cd920c7609
AP_ICEngine: sanity check param values
6 years ago
IamPete1
3b9125956e
AP_ICEngine: add idle throttle percentage
6 years ago
Tom Pittenger
4f41aa19bf
AP_ICEngine: add singleton and remove unnecessary variable init
6 years ago
Tom Pittenger
79c78ba965
AP_ICEngine: ICE to use ahrs singleton
6 years ago
Randy Mackay
d4a05c8ada
AP_ICEngine: minor format and typo fixes
6 years ago
Peter Barker
80a4083fc7
AP_ICEngine: use rc() method to get rc singleton
7 years ago
Michael du Breuil
ddd32d3339
AP_ICEngine: Use RC_Channels instead of hal.rcin
7 years ago
Peter Barker
1beb1550ae
AP_IceEngine: eliminate GCS_MAVLINK::send_statustext_all
8 years ago
Dr.-Ing. Amilcar Do Carmo Lucas
6ac8aeff05
AP_ICEngine: 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
8 years ago
Michael du Breuil
42b6ca9eed
AP_ICEngine: Update for AHRS NED changes
8 years ago
Andrew Tridgell
04ce73d8d7
AP_ICEngine: adapt to new RC_Channel API
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
Randy Mackay
7d0cac15fb
AP_ICEngine: add casting to avoid compiler warnings
9 years ago
Andrew Tridgell
d25396543c
AP_ICEngine: report takeoff height set
9 years ago
Andrew Tridgell
461be7ff0e
AP_ICEngine: added IC engine control library
9 years ago