Andrew Tridgell
d8c0d82857
AP_RCProtocol: allow DSM bind using uart RX pin directly
3 years ago
Andy Piper
1f3c24d436
AP_RCProtocol: put back DSM VTX control and logging, add tests
4 years ago
Andrew Tridgell
78c4e27259
AP_RCProtocol: reverted DSM protocol decoder
...
the new decoder done by Andy is much nicer looking code, but fails to
correctly parse several valid DSM setups, and parses both SBUS and
FPort as DSM, breaking setups that were previously working
5 years ago
Andrew Tridgell
6e1aeb905f
AP_RCProtocol: added another DSM satellite protocol
5 years ago
Andrew Tridgell
1560c33418
AP_RCProtocol: fixed support for spektrum satellite receivers
...
this was broken by the recent DSM protocol decoder change
5 years ago
Andrew Tridgell
380e9d3075
AP_RCProtocol: greatly increase robustness of DSM decoding
...
this prevents other protocols being decoded as DSM
5 years ago
Andy Piper
b697a44aed
AP_RCProtocol: configure VTX when a SRXL2 VTX packet is received
...
support DSM VTX control
5 years ago
Andy Piper
80e1c0ebb0
AP_RCProtocol: decode DSM frame markers to avoid timing related jitters especially in SITL
...
complete re-write of DSM decoding
5 years ago
Andrew Tridgell
087da57858
AP_RCProtocol: added logging of RC prototol input bytes
5 years ago
Peter Barker
4d6f6c09fb
AP_RCProtocol: add missing break statement
5 years ago
Andrew Tridgell
74ca9033e2
AP_RCProtocol: fixed support for 22ms multi-frame DSM
5 years ago
murata
954e6a0c50
AP_RCProtocol: Match output type and variable type
6 years ago
Andrew Tridgell
3f25891fea
AP_RCProtocol: on DSM sync error don't reset channel count
...
this fixes the issue noticed by Andreyl in 3.6.5rc1
6 years ago
Andrew Tridgell
24b23d6784
AP_RCProtocol: make DSM parsing more robust
...
this makes DSM parsing much more robust. It fixes an issue with DSM
input for the Solo, where it occasionally saw glitches
6 years ago
Andrew Tridgell
da0301c208
AP_RCProtocol: fixed DSM parser for 8 channels
...
this ensures we remember channels from the previous frame, avoiding a
bug with more than 7 channels
6 years ago
Andrew Tridgell
3bd27ba094
AP_RCProtocol: use SoftSerial for DSM
6 years ago
Andrew Tridgell
eca4fec2aa
AP_RCProtocol: use pulses as clock for frame timeout
...
for SRXL and DSM we should judge a frame timeout from the pulses,
otherwise lag in the DMA capture can cause a false frame drop
6 years ago
Andrew Tridgell
baf0be6a56
AP_RCProtocol: added check on baudrate in process_byte()
...
and support process_byte() in SBUS input
6 years ago
Andrew Tridgell
ae0ccbcea9
AP_RCProtocol: support byte input for DSM
6 years ago
Andrew Tridgell
1dcac14b1e
AP_RCProtocol: cleanup code style
...
using Tools/CodeStyle/ardupilot-astyle.sh
7 years ago
Alexander Malishev
14db344c12
AP_RCProtocol: improve s-bus parsing
...
This relax s-bus timing requirement to allow not so perfect signals.
Fixes s-bus on s-bus pin in matekf405-wing
Also fixed comment a bit
7 years ago
Andrew Tridgell
bccea9c8b9
AP_RCProtocol: support DSM bind
7 years ago
Andrew Tridgell
d6b9ab7756
AP_RCProtocol: tidy up frontend/backend split
7 years ago
Andrew Tridgell
ff5e00da32
AP_RCProtocol: fixed DSM decoding
7 years ago
bugobliterator
bad9f2b4c9
AP_RCProtocol: add library to process RC signals
7 years ago