Andrew Tridgell
1bf7c9ee77
AP_ESC_Telem: added stale() method for ESC telem
...
prevents use of stale data when close to zero time
2023-11-03 08:08:31 +11:00
Michael du Breuil
935fad54ad
AP_ESC_Telem: Fix some time wrap issues that can lead to using stale data if a ESC stops responding
2023-08-08 09:53:48 +10:00
Peter Barker
b931617650
AP_ESC_Telem: add and use an AP_ESC_Telem_config.h
2023-03-10 08:48:24 +11:00
Peter Barker
bd91294337
AP_ESC_Telem: neaten definition of HAL_WITH_ESC_TELEM
2023-01-25 22:30:55 +11:00
James O'Shannessy
dec9f486ed
AP_ESC_Telem: Use SRV_Channel_config to extract the number of expected channels available
...
Removes duplication of definitions of available channels
Co-authored-by: Simon Maddison <81274690+Sypaq-MadMan@users.noreply.github.com>
2022-12-01 11:09:58 +11:00
Tom Pittenger
89bcd65603
AP_ESC_Telem: allow external libraries, like AP_TemperatureSensor, to override the temperature
2022-10-18 10:05:31 +11:00
jackhong12
4a4f361a17
all: use CLASS_NO_COPY() macro
2022-10-04 11:23:04 +11:00
Andy Piper
2de992dcf1
AP_ESC_Telem: avoid FPE on macos
...
use floats for rpm in API calls
2022-09-07 17:03:03 +01:00
Andrew Tridgell
df56d8a8dd
AP_ESC_Telem: don't default ESC telem on for AP_Periph
...
require it to be enabled specifically. Otherwise we end up with ESC
status msgs in GPS modules
2022-08-28 11:43:01 +10:00
Andrew Tridgell
3a1fc0f338
AP_ESC_Telem: disable ESC telem with zero channels
...
this prevents a build error and saves flash
2022-06-10 13:46:43 +10:00
murata
fb8582e98e
AP_ESC_Telem: correct spelling mili -> milli
2022-01-31 08:55:29 +09:00
Dr.-Ing. Amilcar do Carmo Lucas
bb9a81d32e
AP_ESC_Telem: dummy empty class to be used when HAL_WITH_ESC_TELEM == 0
2021-06-09 21:42:51 +10:00
Andy Piper
8df4e0f127
AP_ESC_Telem: generalise ESC telemetry to allow harmonic notch handling with other ESCs
...
refactor to capture and output slewed rpm values
enable with HAL_WITH_ESC_TELEM
move notch calculation to front end
refactor telemetry data into frontend
cope with blended data
add mavlink send function
log telemetry data in frontend
add SITL ESC telemetry
record volts, amps and consumption as floats
report telemetry transmission errors
disable ESC Telemetry inclusion when there is no need for it
move ESC_Telem logging to the AP_ESC_Telem class (by amilcar.lucas@iav.de )
various cleanups (by amilcar.lucas@iav.de )
add support for raw ESC rpm
check RPM validity for mavlink output
Use const when applicable
2021-05-12 17:01:11 +10:00