Andrew Tridgell
5df38d0298
AP_RCProtocol: added using_uart() method
3 years ago
Andrew Tridgell
522173328c
AP_RCProtocol: added failsafe_active() API
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
Peter Barker
411ed0f50e
AP_RCProtocol: use data structure for serial configurations
3 years ago
Peter Barker
5e18f98b8e
AP_RCProtocol: number all of the RC Protocols supported
...
Needed this as soon as we got the RC_PROTOCOL bitmask
3 years ago
Peter Barker
63f87a863c
AP_RCProtocol: use switch statement for 3-frame check
...
Forces new protocol implementer to consider whether a 3-frame check is
required
3 years ago
Andrew Tridgell
67fd862a8c
AP_RCProtocol: check for RC protocol switching enable
...
by default don't allow protocol switching after initial protocol is
found
3 years ago
Hwurzburg
c5f53fc0b6
AP_RCProtocol: add Link Quality reporting to RC protocols
4 years ago
Patrick José Pereira
8f96580e9d
AP_RCProtocol: Add missing const in member functions
...
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
4 years ago
Andy Piper
e6d0e38129
AP_RCProtocol: allow handshake to initiate RC connection. Support listen-only SRXL2 devices.
...
only bootstrap when SRXL2 is the only configured protocol (RC_PROTOCOLS=256)
remove spurious 0 initializers
4 years ago
Andrew Tridgell
a8770a5a82
AP_RCProtocol: added FPort2 protocol support
4 years ago
Andrew Tridgell
2779b26e6e
AP_RCProtocol: fixed the "3 good frames" test
...
require 3 consecutive good frames, not 3 frames total, to declare the
weak protocols as detected
5 years ago
Andrew Tridgell
e0ec46f06d
AP_RCProtocol: support a mask of enabled RC protocols
5 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
Andy Piper
68c6a3b03d
AP_RCProtocol: SRXL2 support
5 years ago
Andrew Tridgell
8e67c3459a
AP_RCProtocol: added multi-channel read() API
...
and use pulse_input_enable() to disable pulse input when not needed
5 years ago
Andrew Tridgell
fd5ff97b59
AP_RCProtocol: support FPort telemetry data
...
get SPort data from AP_FrSky_Telem
5 years ago
Andrew Tridgell
a72eaabc96
AP_RCProtocol: support FPort RSSI
5 years ago
Andrew Tridgell
9332c08c46
AP_RCProtocol: added FPort protocol support
5 years ago
Mirko Denecke
fe46dc34d4
AP_RCProtocol: remove duplicated definition from protocol_detected
5 years ago
Andrew Tridgell
c8de2ec9c7
AP_RCProtocol: added update() method for use by SITL
6 years ago
Andrew Tridgell
2b856abdd1
AP_RCProtocol: support an additional uart on RC input
...
this will allow for any UART to be configured as an additional RC
input source
6 years ago
PraiseSatan
bad5fb418d
AP_RCProtocol: added ibus RX support to recieve channel data from ibus transmitters.
6 years ago
Andrew Tridgell
0f4c54aaa6
AP_RCProtocol: fixed a overflow in SRXL decoder
...
thanks to coverity 343308 and Peter for noticing
6 years ago
Tom Pittenger
a597c2972c
AP_RCprotocol: unify singleton naming to _singleton and get_singleton()
6 years ago
Andrew Tridgell
a8e6a09903
AP_RCProtocol: expose protocol name mapping
6 years ago
Andrew Tridgell
eb78d4fa26
AP_RCProtocol: added destructor
...
for use by test suite
6 years ago
Andrew Tridgell
faf8f73437
AP_RCProtocol: added process_pulse_list()
...
this provides more efficient processing of RC pulses
6 years ago
Andrew Tridgell
e1385573b1
AP_RCProtocol: return protocol name string
6 years ago
Andrew Tridgell
d87bef16a2
AP_RCProtocol: require 3 good frames for weak CRC protocols
6 years ago
Andrew Tridgell
68c9f52b3e
AP_RCProtocol: allow selection of protocols for pulse input
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
c767828f11
AP_RCProtocol: prevent mixing of byte and pulse input
6 years ago
Andrew Tridgell
56d0d6b9be
AP_RCProtocol: make singleton
...
used by iomcu
6 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
Siddharth Purohit
f99bd32b51
RC_Protocol: add detection of sumd protocol over sigread
7 years ago
Alexander Malishev
47451be875
AP_RCProtocol: add support for non-inverted s-bus
7 years ago
Patrick José Pereira
c755d341f4
AP_RCProtocol: Remove unused variable
...
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
7 years ago
Andrew Tridgell
bccea9c8b9
AP_RCProtocol: support DSM bind
7 years ago
Andrew Tridgell
f87668c15c
AP_RCProtocol: lock onto a single protocol to reduce CPU cost
7 years ago
bugobliterator
bad9f2b4c9
AP_RCProtocol: add library to process RC signals
7 years ago
Andrew Tridgell
8b6bab7b17
HAL_Chibios: added ChibiOS HAL
...
this is based on initial work by Sid, reset here for easier merging
7 years ago
Gustavo Jose de Sousa
025082b280
AP_HAL_Linux: add port to Intel Aero
...
Contributions from:
- Gustavo Jose de Sousa <gustavo.sousa@intel.com>
- José Roberto de Souza <jose.souza@intel.com>
- Lucas De Marchi <lucas.demarchi@intel.com>
- Patrick J.P <patrick.pereira@intel.com>
9 years ago
Daniel Ricketts
249d95b413
AP_Math: add Polygon_outside and Polygon_complete functions
9 years ago
Lucas De Marchi
ab1fa4b435
AP_Math: reorganize headers
...
Sort and add pragma once where needed.
9 years ago
uncrustify
9ccb38260d
uncrustify libraries/AP_Math/polygon.h
13 years ago
Andrew Tridgell
42522baf9f
geofence: store fence points as int32_t
...
this keeps maximum precision in fence boundaries
13 years ago
Andrew Tridgell
9b6bab8904
AP_Math: better polygon algorithm
...
this one seems to do better with single precision floating point
13 years ago
Andrew Tridgell
85e295332f
AP_Math: added Polygon_complete() function
...
used to veryify user supplied boundaries
13 years ago