APM:Libraries
RCInput.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include "AP_HAL_Empty.h"
4 
6 public:
7  RCInput();
8  void init();
9  bool new_input();
10  uint8_t num_channels();
11  uint16_t read(uint8_t ch);
12  uint8_t read(uint16_t* periods, uint8_t len);
13 
14  bool set_override(uint8_t channel, int16_t override);
15  void clear_overrides();
16 };
bool set_override(uint8_t channel, int16_t override)
Definition: RCInput.cpp:32
uint8_t num_channels()
Definition: RCInput.cpp:15
uint16_t read(uint8_t ch)
Definition: RCInput.cpp:19
bool new_input()
Definition: RCInput.cpp:11
void clear_overrides()
Definition: RCInput.cpp:36
void init()
Definition: RCInput.cpp:8