APM:Libraries
|
#include "AP_RCProtocol_SBUS.h"
Go to the source code of this file.
Classes | |
struct | sbus_bit_pick |
Macros | |
#define | SBUS_FRAME_SIZE 25 |
#define | SBUS_INPUT_CHANNELS 16 |
#define | SBUS_FLAGS_BYTE 23 |
#define | SBUS_FAILSAFE_BIT 3 |
#define | SBUS_FRAMELOST_BIT 2 |
#define | SBUS_RANGE_MIN 200.0f |
#define | SBUS_RANGE_MAX 1800.0f |
#define | SBUS_TARGET_MIN 1000.0f |
#define | SBUS_TARGET_MAX 2000.0f |
#define | SBUS_SCALE_FACTOR ((SBUS_TARGET_MAX - SBUS_TARGET_MIN) / (SBUS_RANGE_MAX - SBUS_RANGE_MIN)) |
#define | SBUS_SCALE_OFFSET (int)(SBUS_TARGET_MIN - (SBUS_SCALE_FACTOR * SBUS_RANGE_MIN + 0.5f)) |
Variables | |
static const struct sbus_bit_pick | sbus_decoder [SBUS_INPUT_CHANNELS][3] |
#define SBUS_FAILSAFE_BIT 3 |
Definition at line 59 of file AP_RCProtocol_SBUS.cpp.
Referenced by AP_RCProtocol_SBUS::sbus_decode().
#define SBUS_FLAGS_BYTE 23 |
Definition at line 58 of file AP_RCProtocol_SBUS.cpp.
Referenced by AP_RCProtocol_SBUS::sbus_decode().
#define SBUS_FRAME_SIZE 25 |
Definition at line 56 of file AP_RCProtocol_SBUS.cpp.
#define SBUS_FRAMELOST_BIT 2 |
Definition at line 60 of file AP_RCProtocol_SBUS.cpp.
Referenced by AP_RCProtocol_SBUS::sbus_decode().
#define SBUS_INPUT_CHANNELS 16 |
Definition at line 57 of file AP_RCProtocol_SBUS.cpp.
Referenced by AP_RCProtocol_SBUS::sbus_decode().
#define SBUS_RANGE_MAX 1800.0f |
Definition at line 64 of file AP_RCProtocol_SBUS.cpp.
#define SBUS_RANGE_MIN 200.0f |
Definition at line 63 of file AP_RCProtocol_SBUS.cpp.
#define SBUS_SCALE_FACTOR ((SBUS_TARGET_MAX - SBUS_TARGET_MIN) / (SBUS_RANGE_MAX - SBUS_RANGE_MIN)) |
Definition at line 70 of file AP_RCProtocol_SBUS.cpp.
Referenced by AP_RCProtocol_SBUS::sbus_decode().
#define SBUS_SCALE_OFFSET (int)(SBUS_TARGET_MIN - (SBUS_SCALE_FACTOR * SBUS_RANGE_MIN + 0.5f)) |
Definition at line 71 of file AP_RCProtocol_SBUS.cpp.
Referenced by AP_RCProtocol_SBUS::sbus_decode().
#define SBUS_TARGET_MAX 2000.0f |
Definition at line 67 of file AP_RCProtocol_SBUS.cpp.
#define SBUS_TARGET_MIN 1000.0f |
Definition at line 66 of file AP_RCProtocol_SBUS.cpp.
|
static |
Definition at line 90 of file AP_RCProtocol_SBUS.cpp.