1#ifndef BITSIM_BOARDS_SIM_RC_LINK_H
2#define BITSIM_BOARDS_SIM_RC_LINK_H
The basic types of bitsim. Code outside this file names Eigen's matrix and vector types only through ...
Sends the commands of a radio transmitter to a quadrotor: the laptop takes the place of the hand-held...
Definition rc_transmitter_base.h:25
real_t timeout() const noexcept
Definition sim_rc_link.h:47
bool in_failsafe(real_t time) const noexcept
True when the receiver has heard nothing for longer than the timeout at time [s].
Definition sim_rc_link.cpp:25
void send(const control::RCCommand &command, real_t time) override
Send a command at time [s], the clock of the application.
Definition sim_rc_link.cpp:18
SIM_RCLink(real_t timeout=0.5)
Definition sim_rc_link.cpp:10
std::string backend_type_str() const override
The name of the backend, such as SIMULATION.
Definition sim_rc_link.h:34
control::RCCommand receive(real_t time) const
What the receiver passes to the flight controller at time [s]: the last command, clamped,...
Definition sim_rc_link.cpp:30
Definition arduino_connector_base.h:15
Definition dc_motor_backend_base.h:9
double real_t
real_t
Definition bitsim_types.h:20
What the sticks of a radio transmitter for a quadrotor say, as a toy drone's transmitter sends them: ...
Definition rc_command.h:20