Andrew Tridgell
7716754c61
Revert "AP_RCProtocol: change default SBUS frame gap to 4ms"
...
This reverts commit af9e96c619
.
revert as this causes a problem on some receivers such as the Frsky R9
fixes #19899
3 years ago
Andrew Tridgell
af9e96c619
AP_RCProtocol: change default SBUS frame gap to 4ms
...
this is to cope with some newer receivers such as the skydroid H16
which produces SBUS frames with gaps over 2ms
without this change we get can RC failsafes constantly
3 years ago
Peter Barker
409147a291
AP_RCProtocol: add support for DJI Fast SBUS
...
It's just SBUS... but with increased opportunities for corruption
3 years ago
Andrew Tridgell
36dcc0d16d
AP_RCProtocol: make SBUS frame gap configurable
4 years ago
Andy Piper
4e88adf86e
AP_RCProtocol: TBS CRSF implementation
...
refactor rc channels decoding into backend
refactor SBUS to use decode_11bit_channels()
only support big-endian
don't include CRSF in iomcu
5 years ago
Andrew Tridgell
087da57858
AP_RCProtocol: added logging of RC prototol input bytes
5 years ago
Andrew Tridgell
b7dd255050
AP_RCProtocol: small improvement to SBUS parsing robustness
...
ensure that if we see a frame gab that we reset input buffer
6 years ago
Andrew Tridgell
5baf4c42ea
AP_RCProtocol: fixed decoding of SBUS switch channels
...
these are not used now, but may be in the future
6 years ago
Andrew Tridgell
d4c2945a48
AP_RCProtocol: increased robustness of SBUS parsing
...
take full advantage of the frame gap to reduce CPU and the chance of a
bad decode
6 years ago
Andrew Tridgell
137253ac2c
AP_RCProtocol: fixed SBUS failsafe
...
thanks to Nate for spotting this
6 years ago
Andrew Tridgell
87cf160875
AP_RCProtocol: switched SBUS to SoftSerial decoder
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
Michael du Breuil
4aff747b28
AP_RCProtocol: Fix out of bounds write, CID 308323 and 308333
7 years ago
Andrew Tridgell
1dcac14b1e
AP_RCProtocol: cleanup code style
...
using Tools/CodeStyle/ardupilot-astyle.sh
7 years ago
Siddharth Purohit
baff7291ce
AP_RCProtocol: add support for srxl and st24 protocol
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
d6b9ab7756
AP_RCProtocol: tidy up frontend/backend split
7 years ago
bugobliterator
bad9f2b4c9
AP_RCProtocol: add library to process RC signals
7 years ago
Lucas De Marchi
b0ddf81687
Remove stdbool.h include for C++ sources
...
This header is not needed in our C++ sources.
8 years ago
Mathieu OTHACEHE
152edf7189
Global: remove mode line from headers
...
Using a global .dir-locals.el file is a better alternative than
reincluding the same emacs header in every file of the project.
8 years ago
Lucas De Marchi
71e10c9132
AP_HAL_Linux: fix include order
...
Sort include alphabetically and make them in order:
Main header
system headers
library headers
local headers
While reordering, change a include of endian.h to our sparse-endian.h
which is more reliant to toolchain changes.
9 years ago
Ricardo de Almeida Gonzaga
2236640f66
AP_HAL_Linux: Fix typos
9 years ago
Andrew Tridgell
39fadad7d6
HAL_Linux: fixed build warnings
10 years ago
Andrew Tridgell
42e9dc3c31
HAL_Linux: added SBUS decoder from PX4 project
...
thanks Lorenz!
10 years ago