4712
38ea1296ca
Update serial-4way-if to v20005
...
Reservation of an MCU_ID area to simplificate adding of upcoming BLHeli_32 MCU.
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
yaapu
59c5bbc8b8
AP_BLHeli: added missing ack to MSP_SET_MOTOR message
4 years ago
Andy Piper
2395018000
AP_BLHeli: don't log invalid bi-dir dshot values as they are never used
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
Peter Barker
6cdee8c830
AP_BLHeli: read more efficiently from telemetry UART
5 years ago
Peter Barker
3bf1ac5918
AP_BLHeli: trim annoying LF from debug "Bad CRC" line
5 years ago
Peter Barker
a073469423
AP_BLHeli: use new UARTDriver discard_input method
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
2c5b0ffa29
AP_BlHeli: always report test results and report band channel once
5 years ago
Peter Hall
d5843ff03a
AP_BLHeli: stop motors if conection lost in motor test
5 years ago
Peter Hall
38f68c4eba
AP_Blheli: allow connection with mixed reversible and normal
5 years ago
Peter Hall
956c3f29a3
AP_BLHeli: allow connection with reversable ESCs
5 years ago
Randy Mackay
1b79f102b6
AP_BLHeli: log motor temp as zero
5 years ago
Andrew Tridgell
3750ed2925
AP_BLHeli: fixed critical errors caused by BLHeli code
5 years ago
Randy Mackay
5b8d7a35e7
AP_BLHeli: minor style fix for get_average_moto_frequency_hz
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
vierfuffzig
c97f785443
AP_BLHeli: fix eRPM conversion
5 years ago
Henry Wurzburg
880285dad4
AP_BLHeli: Change descriptions in SERVO_BLH_PORT param to actual AP port
5 years ago
vierfuffzig
b89c60d5b0
AP_BLHeli: fix watchdog resets with telemetry active from non-multirotor motors
5 years ago
Michael du Breuil
a1fda8bc76
AP_BLHeli: Update to support newer targets and protocols
6 years ago
Tom Pittenger
cc88e65fc3
AP_BLHeli: rename dataflash to logger
6 years ago
Randy Mackay
9eaef98321
AP_BLHeli: use AP_Logger::Write_ESC
6 years ago
Tom Pittenger
0f311ba04f
AP_BLHeli: unify singleton naming to _singleton and get_singleton()
6 years ago
Peter Barker
b47733142f
GLOBAL: rename DataFlash_Class to AP_Logger
6 years ago
Andrew Tridgell
8cca632b67
AP_BLHeli: adjust for new UART locking API
6 years ago
Randy Mackay
b306e08455
AP_BLHeli: default TRATE to 10hz
...
This only takes effect if BLHeli is enabled with SERVO_BLH_MASK <> 0 or SERVO_BLH_AUTO = 1
6 years ago
Randy Mackay
b1c2229430
AP_BLHeli: add BLHeli to parameter descriptions
6 years ago
Randy Mackay
4bceabb333
AP_BLHeli: minor formatting fixes
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
Dr.-Ing. Amilcar do Carmo Lucas
6b2ad734b6
AP_BLHeli: correct SERVO_BLH_POLES parameter value range metadata
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
a2351bf99f
AP_BLHeli: log bad telem CRCs
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
84d76cf915
AP_BLHeli: removed special handling of oneshot125
7 years ago
Andrew Tridgell
fff143d83e
AP_BLHeli: default protocol timeout to 0
...
this gives best compatibility with BLHeliSuite
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
61d513e91b
AP_BLHeli: use get_esc_scaling() for motor range
...
this fixes an issue with blhelisuite init when min is not 1000
7 years ago
Andrew Tridgell
c17338473d
AP_BLHeli: unlock uart on InterfaceExit
7 years ago