DUNE: Uniform Navigational Environment
2016.05.0
|
Classes | |
struct | Channel |
Public Member Functions | |
Driver (Tasks::Task *task, const std::string &uart_dev, unsigned uart_baud) | |
~Driver (void) | |
bool | samplingStart (double timeout) |
bool | samplingStop (double timeout) |
bool | setSamplingRate (double value, double timeout) |
bool | detectionStart (double timeout) |
bool | detectionRead (double timeout) |
bool | setCalculatedChannels (double timeout) |
bool | readSample (double timeout=1.0) |
std::vector< Channel > ::const_iterator | beginChannels (void) const |
std::vector< Channel > ::const_iterator | endChannels (void) const |
|
inline |
Constructor.
[in] | task | parent task. |
[in] | uart_dev | serial port device. |
[in] | uart_baud | serial port baud rate. |
|
inline |
Destructor.
|
inline |
Referenced by Sensors::SmartX::Task::updateStateMachine().
|
inline |
Read detection results.
Referenced by Sensors::SmartX::Task::updateStateMachine().
|
inline |
Start detection procedure.
Referenced by Sensors::SmartX::Task::updateStateMachine().
|
inline |
Referenced by Sensors::SmartX::Task::updateStateMachine().
|
inline |
Referenced by Sensors::SmartX::Task::updateStateMachine().
|
inline |
Start sampling.
Referenced by Sensors::SmartX::Task::updateStateMachine().
|
inline |
Stop sampling.
Referenced by Sensors::SmartX::Task::updateStateMachine().
|
inline |
Referenced by Sensors::SmartX::Task::updateStateMachine().
|
inline |
Set sampling rate.
[in] | value | sampling frequency in Hz. |
Referenced by Sensors::SmartX::Task::updateStateMachine().