Public Member Functions

AP_RcChannel Class Reference

Object managing one RC channel. More...

#include <AP_RcChannel.h>

Collaboration diagram for AP_RcChannel:
Collaboration graph
[legend]

List of all members.

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 ()

Detailed Description

Object managing one RC channel.

Definition at line 16 of file AP_RcChannel.h.


Constructor & Destructor Documentation

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.


Member Function Documentation

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.


The documentation for this class was generated from the following files: