Andrew Tridgell
f3ce44ef2c
AP_BLHeli: more changes for 32 bit servo mask
3 years ago
Iampete1
e03aed3aa7
AP_BLHeli: support upto 32 servo outputs
3 years ago
Andy Piper
03aeca22ec
AP_BLHeli: keep a record of disabled motors
3 years ago
Dr.-Ing. Amilcar do Carmo Lucas
120081f7ab
AP_BLHeli: fix compilation when HAL_WITH_ESC_TELEM == 0
4 years ago
Dr.-Ing. Amilcar do Carmo Lucas
0dbd05505b
AP_BLHeli: Remove duplicated code, use existing AP_Math CRC function
4 years ago
Andy Piper
f8495df0af
AP_BLHeli: convert servo indexing to FMU indexing for ESC telemetry
4 years ago
Andy Piper
4905b5152d
AP_BLHeli: initialize separately so that overrides work
...
make sure that only digital outputs are marked as digital
only rotate telemetry between digital channels
4 years ago
Andy Piper
6d50549476
AP_BLHeli: generalise ESC telemetry to allow harmonic notch handling with other ESCs
...
move part of frequency calculation into AP_ESC_Telem_Backend
factor out duplicate code into AP_ESC_Telem_Backend
remove send_esc_telemetry_mavlink()
log telemetry data in frontend
remove datastructures and API obsoleted by AP_ESC_Telem* (<amilcar.lucas@iav.de>)
record volts, amps and consumption as floats
fix wrong motor channel in telemtry update
4 years ago
Andy Piper
dee4ce3d35
AP_BLHeli: allow both reversed and reversible states to be set
...
change dshot command mask names
mark ESCs active when telemety is returned
set dshot esc type
4 years ago
4712
6956abdb45
Some fixes for AP_BLHeli
...
Added ACK_I_INVALID_CHANNEL as response for cmd_DeviceReset cmd_DeviceInitFlash on bad channel selection
Fixed params for MSP_MOTOR_CONFIG
Adapted some timeouts
4 years ago
Andy Piper
186c28c275
AP_BLHeli: correct bi-dir mask enablement
4 years ago
Andy Piper
f60fdde492
AP_BLHeli: return motor frequencies from bi-dir dshot if available
...
add channel mask to cater for bi-dir dshot
call into rcout to setup bi-dir dshot
log bi-dir telemetry even when regular telemetry is disabled
don't expose bi-dir dshot if not compiled in
4 years ago
Andrew Tridgell
952a3956a9
AP_BLHeli: added have_telem_data() API
4 years ago
yaapu
9efc4602af
AP_BLHeli: integrate MSP protocol with existing blheli inplementation
4 years ago
yaapu
699ffcbcd2
AP_RangeFinder: added support for MSP based range finders
4 years ago
Andy Piper
90acff647c
AP_BLHeli: log telemetry at 10Hz
5 years ago
Andy Piper
07ad4798dc
AP_BLHeli: allow all motor frequencies to be returned
...
cater for ESCs not returning telemetry all the time
slew rpm updates for the harmonic notch
5 years ago
Andrew Tridgell
cf0f95f81e
AP_BLHeli: allow for negative temperatures from BLHeli32 ESCs
...
ESCs can send negative values
5 years ago
Peter Hall
38f68c4eba
AP_Blheli: allow connection with mixed reversible and normal
5 years ago
Andy Piper
b242c5071b
AP_BLHeli: add get_average_motor_frequency_hz() for dynamic filtering
...
correctly calculate rpm from erpm
5 years ago
Tom Pittenger
0f311ba04f
AP_BLHeli: unify singleton naming to _singleton and get_singleton()
6 years ago
Andrew Tridgell
1910f266a6
AP_BLHeli: added SERVO_BLH_REMASK for reversible motors
...
this allows the user to specify which motors are configured as
reversible (3D)
6 years ago
vierfuffzig
83f4f5c347
AP_BLHeli: add motor pole parameter
6 years ago
Andrew Tridgell
53fbdc3750
AP_BLHeli: pass motor mask to serial_setup_output()
7 years ago
Andrew Tridgell
476a40c906
AP_BLHeli: improved reliability of pass-thru support
...
this uses a connection cache to prevent re-connecting to an ESC when
not needed, and allows for pass-thru comms on any port, using
SERVO_BLH_PORT parameter
7 years ago
Andrew Tridgell
05a8a5c173
AP_BLHeli: changes from PR review
7 years ago
Andrew Tridgell
34bbd29f25
AP_BLHeli: send ESC telem packets over MAVLink
7 years ago
Andrew Tridgell
c0e8114f9a
AP_BLHeli: removed extra UDID_START define
7 years ago
Andrew Tridgell
0f2a7108d3
AP_BLHeli: added SERVO_BLH_OTYPE
...
this allows use of BLHeli telemetry on rover, sub and on quadplane fwd
motors
7 years ago
Andrew Tridgell
b77ba8fbd1
AP_BLHeli: improved debug output
...
allow debug on any MAVLink port
also fixed handling of passthru for oneshot125
7 years ago
Andrew Tridgell
7c678bd707
AP_BLHeli: use UART locking
...
this gains exclusive access to the UART while MSP protocol is active to
prevent protocol corruption due to other drivers writing to hal.console
7 years ago
Andrew Tridgell
b7bcee69a3
AP_BLHeli: added telemetry logging support
...
allow telemetry feedback from BLHeli_32 ESCs
7 years ago
Andrew Tridgell
fde092a246
AP_BLHeli: check for rcout serial support
...
don't build AP_BLHeli on HALs that can't support serial output to ESCs
7 years ago
Andrew Tridgell
3daf27db64
AP_BLHeli: expanded test code
7 years ago
Andrew Tridgell
ee94d73e77
AP_BLHeli: added SERVO_BLH_TMOUT parameter
7 years ago
Andrew Tridgell
9aa5a97f26
AP_BLHeli: added test interface
...
and added delay on serial init
7 years ago
Andrew Tridgell
9ba3992d9e
AP_BLHeli: added SERVO_BLHI_AUTO option
...
makes choosing motor mask much easier for multicopters
7 years ago
Andrew Tridgell
a1a83ab768
AP_BLHeli: added ESC serial protocol implementation
...
this implements the MSP and BLHeli protocols for passthru control of
BLHeli ESCs
7 years ago