Randy Mackay
2d5d74b7a8
AP_BLHeli: add reboot required to some parameters
3 years ago
Andrew Tridgell
075f349156
AP_BLHeli: bring in hal.h
3 years ago
Andy Piper
ddfef6944b
AP_BLHeli: correct documentation for passthrough port
...
pre-emptively setup serial passthrough to increase BLHeliSuite reliability
3 years ago
Andrew Tridgell
604f2430f8
AP_BLHeli: allow for no uart in update()
3 years ago
Andrew Tridgell
778de59fff
AP_BLHeli: allow build as part of AP_Periph
3 years ago
Andy Piper
63cea29af3
AP_BLHeli: convert APM_BUILD_COPTER_OR_HELI() to APM_BUILD_COPTER_OR_HELI
3 years ago
Iampete1
2b402ed2d7
AP_BLHeli: use is_dshot_protocol in place of >= AP_HAL::RCOutput::MODE_PWM_DSHOT150
3 years ago
Iampete1
436f9a3f46
AP_BLHeli: move OTYPE to use RCOutput::MODE not AP_Motors::PWM_TYPE
3 years ago
Iampete1
9106835c93
AP_BLHeli: use motors is_digital_pwm_type helper
3 years ago
Gone4Dirt
a97cafbaad
AP_BLHeli: Add APM_BUILD_Heli
3 years ago
Andy Piper
ca477d09ed
AP_BLHeli: ensure correct rotation through telemetry ESCs
4 years ago
Iampete1
ffe91fc80e
AP_BLHeli: update rover motors include
4 years ago
bugobliterator
e8e5f49640
AP_BLHeli: fix casting without ensuring alignment
4 years ago
Dr.-Ing. Amilcar do Carmo Lucas
120081f7ab
AP_BLHeli: fix compilation when HAL_WITH_ESC_TELEM == 0
4 years ago
Andy Piper
4a05e65367
AP_BLHeli: ensure digital motor masks are setup correctly regardless of AUTO setting
4 years ago
Andy Piper
9eea3f1030
AP_BLHeli: add auto support to rover
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
235c8a2d0c
AP_BLHeli: make sure telemetry is requested when there is only one motor
4 years ago
Andy Piper
f8495df0af
AP_BLHeli: convert servo indexing to FMU indexing for ESC telemetry
4 years ago
Andy Piper
4929caa241
AP_BLHeli: if there are no digital outputs disable telemetry
4 years ago
Andy Piper
df1086c4f3
AP_BLHeli: clean-up up digital outputs settings
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
Andy Piper
9f5dbfb092
AP_BLHeli: index bi-dir dshot channels through the motor map
...
error if no digital mask has been set for bi-dir dshot
4 years ago
Andy Piper
a9f442b4c1
AP_BLHeli: make sure there is delay between MSP send and receive to avoid reading our own data
4 years ago
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