Maxim Buzdalov
0022c3aa72
AP_ESC_Telem: add support for Extended DShot Telemetry v2
2024-05-15 17:29:19 +10:00
Andy Piper
6deff406e0
AP_ESC_Telem: don't set up parameters on iofirmware
...
add direct accessor for telemetry data to be used by iomcu
don't update telemetry data if no data
2023-12-18 19:02:52 +11:00
Mykhailo Kuznietsov
c779d0b879
AP_ESC_Telem: Fix some typos
...
Fixed some typos found in the code.
2023-10-12 18:30:42 +11:00
Tom Pittenger
dbe0aac73f
AP_ESC_Telem: update_telem_data to be public
2023-08-22 16:14:36 -07: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
Michael du Breuil
3de912f2b8
AP_ESC_Telem: Add support for a max rpm check on the motors running check
2023-05-02 10:23:55 +10:00
Tom Pittenger
9019fa2f8d
AP_ESC_Telem: simplify AP_TemperatureSensor integration
2023-01-31 10:52:23 +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
Andrew Tridgell
3512ea792f
AP_ESC_Telem: support set_rpm_scale() call for scripting
2022-09-13 07:48:19 +10: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
Andy Piper
b9280630f5
AP_ESC_Telem: add are_motors_running() based on rpm feedback
...
add spin armed rpm to SITL
use floats for rpm in API calls
implement is_telemetry_active()
simulate ESC telemetry in SITL
2022-09-07 17:03:03 +01:00
Andrew Tridgell
ec31a13275
AP_ESC_Telem: expose update_rpm() for scripting
2022-07-13 17:33:00 +10:00
Andrew Tridgell
cd8ff2b37a
AP_ESC_Telem: added ESC_TLM_MAV_OFS parameter
...
this allows for the ESC telemetry to be remapped to a lower range for
GCS displays. Users often want their quadplane ESCs to show up as ESCs
1 to 8 instead of the high numbers used internally
2022-06-10 13:46:43 +10:00
Andrew Tridgell
aedf465049
AP_ESC_Telem: support ESC telem for ESCs 13 to 32
...
also fix a mavlink buffer starvation issue
2022-06-10 13:46:43 +10:00
Andrew Tridgell
d33734ee85
AP_ESC_Telem: more changes for 32 bit servo mask
2022-05-22 12:07:37 +10:00
Dr.-Ing. Amilcar do Carmo Lucas
72a69ec274
AP_ESC_Telem: implement get_active_esc_mask()
...
Co-authored-by: Peter Barker <pb-gh@barker.dropbear.id.au>
2021-08-13 16:22:37 +10:00
Pierre Kancir
a0175441a0
AP_ESC_Telem: fix out of bound access
2021-08-12 11:20:24 +10:00
Michel Pastor
26c6224b2e
AP_ESC_Telem: add method to get the temperature of the motor with highest temperature
2021-07-06 12:18:21 +10:00
Michel Pastor
f9b149e793
AP_ESC_Telem: add method to get average motor RPM
2021-07-06 12:18:21 +10:00
yaapu
b4d54cf565
AP_ESC_Telem: added methods to get average rpm data by motor mask
2021-07-02 15:35:05 +10:00
Andrew Tridgell
ac2080ff93
AP_ESC_Telem: don't send mavlink msgs if we've never data any data
2021-06-08 12:30:30 +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
Randy Mackay
35737d484e
AP_ESC_Telem: wrapper for ESCs with feedback
2020-02-12 11:58:34 +09:00