Ardupilot2/libraries/RC/AP_RC.h
jasonshort 20987c1b89 added servo_in
git-svn-id: https://arducopter.googlecode.com/svn/trunk@401 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-09-06 06:14:24 +00:00

32 lines
431 B
C++

#ifndef AP_RC_h
#define AP_RC_h
#include <inttypes.h>
#include "WProgram.h"
#include "RC.h"
class AP_RC : public RC
{
public:
AP_RC();
void init();
void read_pwm();
void output();
void set_ch_pwm(uint8_t ch, uint16_t pwm);
void trim();
int16_t radio_in[4];
int16_t radio_min[4];
int16_t radio_trim[4];
int16_t radio_max[4];
int16_t servo_in[4];
float servo_out[4];
private:
uint16_t _timer_out;
};
#endif