DUNE: Uniform Navigational Environment
2017.01.0
|
Message Parser for DMS.
Classes | |
struct | DMSState |
Public Types | |
enum | DMSParserStates { PS_PREAMBLE, PS_DATA, PS_CS } |
Public Member Functions | |
DriverDMS (void) | |
~DriverDMS (void) | |
bool | parse (uint8_t byte) |
bool | translate (void) |
std::string | translate_feadback (void) |
char * | enable_output (void) |
char * | disable_output (void) |
char * | set_sample_ps (int value) |
Public Attributes | |
DMSState | m_dms |
|
inline |
|
inline |
|
inline |
Disable Output data of DMS.
Referenced by Sensors::DMS::Task::checkConnectionDMS(), Sensors::DMS::Task::configDMS(), and Sensors::DMS::Task::onResourceRelease().
|
inline |
Enable Output data of DMS.
Referenced by Sensors::DMS::Task::configDMS().
|
inline |
Parse message received.
References PS_CS, PS_DATA, and PS_PREAMBLE.
Referenced by Sensors::DMS::Task::checkSerialPort().
|
inline |
Set number of channels/second.
Referenced by Sensors::DMS::Task::configDMS().
|
inline |
Filter data received of DMS board.
References Sensors::DMS::DriverDMS::DMSState::channel, m_dms, and Sensors::DMS::DriverDMS::DMSState::value.
Referenced by Sensors::DMS::Task::processInput().
|
inline |
Referenced by Sensors::DMS::Task::processInput().
DMSState Sensors::DMS::DriverDMS::m_dms |
DMS state.
Referenced by Sensors::DMS::Task::processInput(), and translate().