MAV'RIC
|
Public Member Functions | |
virtual bool | init (void)=0 |
Virtual function to intialize a satellite receiver. | |
virtual void | bind (const radio_protocol_t radio_protocol)=0 |
Virtual function to bind a satellite with a remote. | |
virtual int16_t | channel (const uint8_t channel_number) const =0 |
Return a channels' value. | |
virtual uint32_t | last_update (void) const =0 |
Return the last update time in microseconds. | |
virtual uint32_t | dt (void) const =0 |
Return the time difference between the last 2 updates in microseconds. |
virtual void Satellite::bind | ( | const radio_protocol_t | radio_protocol | ) | [pure virtual] |
Virtual function to bind a satellite with a remote.
radio_protocol | Define in which protocol the remote has to be binded |
Implemented in Spektrum_satellite.
virtual int16_t Satellite::channel | ( | const uint8_t | channel_number | ) | const [pure virtual] |
Return a channels' value.
channel_number | The channel ID |
Implemented in Spektrum_satellite.
virtual uint32_t Satellite::dt | ( | void | ) | const [pure virtual] |
Return the time difference between the last 2 updates in microseconds.
Implemented in Spektrum_satellite.
virtual uint32_t Satellite::last_update | ( | void | ) | const [pure virtual] |
Return the last update time in microseconds.
Implemented in Spektrum_satellite.