DUNE: Uniform Navigational Environment
2019.02.0
|
Public Member Functions | |
Task (const std::string &name, Tasks::Context &ctx) | |
void | onUpdateParameters (void) |
void | onResourceAcquisition (void) |
void | onResourceRelease (void) |
void | onResourceInitialization (void) |
void | onActivation (void) |
void | onDeactivation (void) |
unsigned | getIndex (unsigned value, const unsigned *table, unsigned table_size) |
void | setFrequency (unsigned value) |
void | setRange (unsigned value) |
void | setDataGain (unsigned value) |
void | setBalanceGain (unsigned value) |
void | ping (Side side) |
void | pingBoth (void) |
void | task (void) |
Public Attributes | |
TCPSocket * | m_sock |
uint8_t | m_sdata [c_sdata_size] |
uint8_t | m_rdata_hdr [c_rdata_hdr_size] |
uint8_t | m_rdata_ftr [c_rdata_ftr_size] |
IMC::SonarData | m_ping |
Arguments | m_args |
|
inline |
|
inline |
Referenced by setFrequency(), and setRange().
|
inline |
|
inline |
|
inline |
References m_sock.
|
inline |
References Sensors::Imagenex872::Arguments::addr, m_args, m_sock, pingBoth(), and Sensors::Imagenex872::Arguments::port.
|
inline |
References m_sock.
|
inline |
References Sensors::Imagenex872::Arguments::addr, Sensors::Imagenex872::Arguments::bal_gain, Sensors::Imagenex872::Arguments::dat_gain, Sensors::Imagenex872::Arguments::frequency, m_args, m_sock, Sensors::Imagenex872::Arguments::port, Sensors::Imagenex872::Arguments::range, setBalanceGain(), setDataGain(), setFrequency(), and setRange().
|
inline |
References m_ping, m_rdata_ftr, m_rdata_hdr, m_sdata, m_sock, Sensors::Imagenex872::SD_TCP_PKT, Sensors::Imagenex872::SIDE_PORT, and Sensors::Imagenex872::SIDE_STARBOARD.
Referenced by pingBoth().
|
inline |
References ping(), Sensors::Imagenex872::SIDE_PORT, and Sensors::Imagenex872::SIDE_STARBOARD.
Referenced by onResourceInitialization(), and task().
|
inline |
References m_sdata, and Sensors::Imagenex872::SD_BAL_GAIN.
Referenced by onUpdateParameters().
|
inline |
References m_sdata, and Sensors::Imagenex872::SD_DAT_GAIN.
Referenced by onUpdateParameters().
|
inline |
References getIndex(), m_ping, m_sdata, and Sensors::Imagenex872::SD_MODE_FREQ.
Referenced by onUpdateParameters().
|
inline |
References getIndex(), m_ping, m_sdata, and Sensors::Imagenex872::SD_RANGE.
Referenced by onUpdateParameters().
|
inline |
References m_ping, and pingBoth().
Arguments Sensors::Imagenex872::Task::m_args |
Referenced by onResourceInitialization(), onUpdateParameters(), and Task().
IMC::SonarData Sensors::Imagenex872::Task::m_ping |
Referenced by ping(), setFrequency(), setRange(), Task(), and task().
uint8_t Sensors::Imagenex872::Task::m_rdata_ftr[c_rdata_ftr_size] |
Referenced by ping().
uint8_t Sensors::Imagenex872::Task::m_rdata_hdr[c_rdata_hdr_size] |
Referenced by ping().
uint8_t Sensors::Imagenex872::Task::m_sdata[c_sdata_size] |
Referenced by ping(), setBalanceGain(), setDataGain(), setFrequency(), setRange(), and Task().
TCPSocket* Sensors::Imagenex872::Task::m_sock |
Referenced by onResourceAcquisition(), onResourceInitialization(), onResourceRelease(), onUpdateParameters(), and ping().