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
2 years ago
Andy Piper
d6ba508cb9
AP_ESC_Telem: keep RPM updates in the correct order
3 years ago
Andrew Tridgell
0b9c5d6dc1
AP_ESC_Telem: fixed race condition in update_rpm()
...
if another thread updates at the same time then we could get division
by zero
3 years ago
Andrew Tridgell
ec31a13275
AP_ESC_Telem: expose update_rpm() for scripting
3 years ago
Andrew Tridgell
064b6c8a9d
AP_ESC_Telem: use send_struct mavlink function
...
saves some flash, cpu and stack, but means we need a cast
3 years ago
Andrew Tridgell
3a1fc0f338
AP_ESC_Telem: disable ESC telem with zero channels
...
this prevents a build error and saves flash
3 years ago
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
3 years ago
Andrew Tridgell
aedf465049
AP_ESC_Telem: support ESC telem for ESCs 13 to 32
...
also fix a mavlink buffer starvation issue
3 years ago
Andrew Tridgell
d33734ee85
AP_ESC_Telem: more changes for 32 bit servo mask
3 years ago
Peter Barker
82f4faec31
AP_ESC_Telem: remove misleading comment
3 years ago
murata
fb8582e98e
AP_ESC_Telem: correct spelling mili -> milli
3 years ago
VMsunghwan
5bf24cd54c
AP_ESC_Telem : Update Telemetry
...
telemtry -> telemetry
3 years ago
Andrew Tridgell
9da03668ae
AP_ESC_Telem: allow build with AP_Periph
3 years ago
Andy Piper
e8d1326a6d
AP_ESC_Telem: fix raw rpm
...
Co-authored-by: Amilcar Lucas <amilcar.lucas@iav.de>
3 years ago
Andy Piper
9281982b8f
AP_ESC_Telem: log raw RPM information
3 years ago
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>
4 years ago
Pierre Kancir
adf86357aa
AP_ESC_Telem: prevent possible overrun
4 years ago
Pierre Kancir
7739ddefd0
AP_ESC_TELEM: prevent overrun, esc_index should be < to ESC_TELEM_MAX_ESCS
4 years ago
Pierre Kancir
a0175441a0
AP_ESC_Telem: fix out of bound access
4 years ago
bugobliterator
3d6ef2106f
AP_ESC_Telem: change class name from SITL::SITL to SITL::SIM
4 years ago
Andrew Tridgell
b450b59acc
AP_ESC_Telem: mark log messages as streaming
4 years ago
Michel Pastor
26c6224b2e
AP_ESC_Telem: add method to get the temperature of the motor with highest temperature
4 years ago
Michel Pastor
f9b149e793
AP_ESC_Telem: add method to get average motor RPM
4 years ago
yaapu
b4d54cf565
AP_ESC_Telem: added methods to get average rpm data by motor mask
4 years ago
Dr.-Ing. Amilcar do Carmo Lucas
13a97eecd4
AP_ESC_Telem: fix compilation when HAL_WITH_ESC_TELEM == 0
4 years ago
Dr.-Ing. Amilcar do Carmo Lucas
bb9a81d32e
AP_ESC_Telem: dummy empty class to be used when HAL_WITH_ESC_TELEM == 0
4 years ago
Andrew Tridgell
ac2080ff93
AP_ESC_Telem: don't send mavlink msgs if we've never data any data
4 years ago
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
4 years ago
Dr.-Ing. Amilcar do Carmo Lucas
48ab08fb67
AP_ESC_Telem: Fix copy & paste typo
4 years ago
Siddharth Purohit
e9430d7f80
AP_ESC_Telem: move to using CANManager library
5 years ago
Randy Mackay
35737d484e
AP_ESC_Telem: wrapper for ESCs with feedback
5 years ago