bitsim
Model, simulate, estimate and control robots in C++
Loading...
Searching...
No Matches
bitsim::boards::RCTransmitterBase Class Referenceabstract

Sends the commands of a radio transmitter to a quadrotor: the laptop takes the place of the hand-held transmitter. More...

#include <rc_transmitter_base.h>

Inheritance diagram for bitsim::boards::RCTransmitterBase:

Public Member Functions

virtual ~RCTransmitterBase ()=default
virtual void send (const control::RCCommand &command, real_t time)=0
 Send a command at time [s], the clock of the application.
virtual std::string backend_type_str () const =0
 The name of the backend, such as SIMULATION.

Detailed Description

Sends the commands of a radio transmitter to a quadrotor: the laptop takes the place of the hand-held transmitter.

A backend decides where the commands go. SIM_RCLink delivers them to a simulated quadrotor; a backend for real hardware would send them to a board with a radio that speaks the drone's protocol. The application sends a command at least as often as the receiver's failsafe timeout, or the drone disarms.

Constructor & Destructor Documentation

◆ ~RCTransmitterBase()

virtual bitsim::boards::RCTransmitterBase::~RCTransmitterBase ( )
virtualdefault

Member Function Documentation

◆ backend_type_str()

virtual std::string bitsim::boards::RCTransmitterBase::backend_type_str ( ) const
pure virtual

The name of the backend, such as SIMULATION.

Implemented in bitsim::boards::SIM_RCLink, and quadrotor_rc_simulation::SIM_RCLink.

◆ send()

virtual void bitsim::boards::RCTransmitterBase::send ( const control::RCCommand & command,
real_t time )
pure virtual

Send a command at time [s], the clock of the application.

Implemented in bitsim::boards::SIM_RCLink, and quadrotor_rc_simulation::SIM_RCLink.


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