|
| HILTransceiver (USART &hilSerial, HILPhasesManager< FlightPhases, SimulatorData, ActuatorData > *hilPhasesManager) |
| Construct a serial connection attached to a control algorithm.
|
|
void | setActuatorData (ActuatorData actuatorData) |
| sets the actuator data and then wakes up the MatlabTransceiver thread in order to send the data back to the simulator (called by the control algorithm)
|
|
const SimulatorData * | getSensorData () const |
| returns the reference of the SimulatorData
|
|
bool | isDmaEnabled () |
|
| HILTransceiverBase (USART &hilSerial) |
| Construct a serial connection attached to a control algorithm.
|
|
int | getLostUpdates () const |
| Returns the number of lost updates.
|
|
int64_t | getTimestampSimulatorData () const |
| Returns the value in ns of the timestamp of the last received simulatorData.
|
|
| ActiveObject (unsigned int stacksize=miosix::STACK_DEFAULT_FOR_PTHREAD, miosix::Priority priority=miosix::MAIN_PRIORITY) |
|
virtual | ~ActiveObject () |
|
virtual bool | start () |
| Start the thread associated with this active object.
|
|
virtual void | stop () |
| Signals the runner thread to terminate and joins the thread.
|
|
bool | isRunning () |
|
template<class FlightPhases, class SimulatorData, class ActuatorData>
class Boardcore::HILTransceiver< FlightPhases, SimulatorData, ActuatorData >
HILTransceiver is a Singleton and provides an easy interface for the control algorithms to send and receive data during a simulation.
Definition at line 89 of file HILTransceiver.h.