Object managing one RC channel. More...
#include <AP_RcChannel.h>
Public Member Functions | |
AP_RcChannel (const APM_RC_Class &rc, const uint16_t &ch, const float &scale, const uint16_t &pwmMin, const uint16_t &pwmNeutral, const uint16_t &pwmMax, const uint16_t &pwmDeadZone, const bool &filter, const bool &reverse) | |
void | readRadio () |
void | setPwm (uint16_t pwm) |
void | setPosition (float position) |
void | mixRadio (uint16_t infStart) |
uint16_t | getPwm () |
float | getPosition () |
float | getNormalized () |
bool | failSafe () |
Object managing one RC channel.
Definition at line 16 of file AP_RcChannel.h.
AP_RcChannel::AP_RcChannel | ( | const APM_RC_Class & | rc, | |
const uint16_t & | ch, | |||
const float & | scale, | |||
const uint16_t & | pwmMin, | |||
const uint16_t & | pwmNeutral, | |||
const uint16_t & | pwmMax, | |||
const uint16_t & | pwmDeadZone, | |||
const bool & | filter, | |||
const bool & | reverse | |||
) | [inline] |
Constructor
Definition at line 22 of file AP_RcChannel.h.
bool AP_RcChannel::failSafe | ( | ) | [inline] |
Definition at line 51 of file AP_RcChannel.h.
float AP_RcChannel::getNormalized | ( | ) | [inline] |
Definition at line 48 of file AP_RcChannel.h.
float AP_RcChannel::getPosition | ( | ) | [inline] |
Definition at line 47 of file AP_RcChannel.h.
uint16_t AP_RcChannel::getPwm | ( | ) | [inline] |
Definition at line 46 of file AP_RcChannel.h.
void AP_RcChannel::mixRadio | ( | uint16_t | infStart | ) |
Definition at line 59 of file AP_RcChannel.cpp.
void AP_RcChannel::readRadio | ( | ) |
Definition at line 17 of file AP_RcChannel.cpp.
void AP_RcChannel::setPosition | ( | float | position | ) |
Definition at line 53 of file AP_RcChannel.cpp.
void AP_RcChannel::setPwm | ( | uint16_t | pwm | ) |
Definition at line 24 of file AP_RcChannel.cpp.