DUNE: Uniform Navigational Environment
2016.05.0
|
Data logger to Imagenex .837 format.
Public Member Functions | |
Frame837 (void) | |
~Frame837 (void) | |
uint8_t * | getMessageData (void) |
uint8_t * | getFooterData (void) |
size_t | getSize (void) const |
size_t | getMessageSize (void) const |
size_t | getFooterSize (void) const |
void | setTotalBytes (void) |
void | setBytesToRead (void) |
void | setExtendedDataPoints (bool mode) |
void | setStartGain (uint8_t gain) |
void | setPulseLength (uint8_t length) |
void | setDisplayMode (bool xdcr) |
void | setDisplayGain (uint8_t gain) |
void | setSerialStatus (uint8_t status) |
void | setFirmwareVersion (uint8_t version) |
void | setRepRate (void) |
unsigned | getIndexRange (void) |
unsigned | getIndexTiltAngle (void) |
unsigned | getIndexLatitude (void) |
unsigned | getIndexLongitude (void) |
unsigned | getIndexSpeed (void) |
unsigned | getIndexSoundSpeed (void) |
unsigned | getIndexCourse (void) |
unsigned | getIndexMilli (void) |
unsigned | getIndexRoll (void) |
unsigned | getIndexPitch (void) |
unsigned | getIndexHeading (void) |
unsigned | getIndexRepRate (void) |
unsigned | getIndexFrequency (void) |
Public Member Functions inherited from Sensors::Imagenex837B::Frame | |
Frame (void) | |
virtual | ~Frame (void) |
uint8_t * | getData (void) |
virtual void | setRange (uint8_t range) |
void | setProfileTiltAngle (float angle) |
void | setSoundVelocity (float speed) |
void | setSpeed (float speed) |
void | setCourse (float course) |
void | setRoll (float roll) |
void | setPitch (float pitch) |
void | setHeading (float heading) |
void | setRepRate (uint16_t rate) |
void | setGpsData (double lat, double lon) |
void | setDateTime (uint64_t now) |
Additional Inherited Members | |
Protected Member Functions inherited from Sensors::Imagenex837B::Frame | |
void | setFrequency (void) |
Protected Attributes inherited from Sensors::Imagenex837B::Frame | |
std::vector< uint8_t > | m_data |
837 Header Indices.
|
inline |
Constructor.
References Sensors::Imagenex837B::Frame::m_data.
|
inline |
Destructor.
|
inlinevirtual |
Get footer start address.
Reimplemented from Sensors::Imagenex837B::Frame.
References getMessageSize(), and Sensors::Imagenex837B::Frame::m_data.
|
inlinevirtual |
Retrieve footer size.
Reimplemented from Sensors::Imagenex837B::Frame.
Referenced by getSize().
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
Get data start address.
Reimplemented from Sensors::Imagenex837B::Frame.
References Sensors::Imagenex837B::Frame::m_data.
Referenced by Sensors::Imagenex837B::Task::ping().
|
inlinevirtual |
Retrieve message size.
Reimplemented from Sensors::Imagenex837B::Frame.
Referenced by getFooterData(), and getSize().
|
inlinevirtual |
Retrieve the size of the frame.
Reimplemented from Sensors::Imagenex837B::Frame.
References getFooterSize(), and getMessageSize().
Referenced by Sensors::Imagenex837B::Task::writeToFile().
|
inline |
Define number of bytes to read in header.
References HDR_IDX_BYTES_TO_READ_HI, HDR_IDX_BYTES_TO_READ_LO, and Sensors::Imagenex837B::Frame::m_data.
Referenced by setExtendedDataPoints().
|
inline |
Set display gain.
[in] | gain | display gain. |
References HDR_IDX_DISPLAY_GAIN, and Sensors::Imagenex837B::Frame::m_data.
|
inline |
Set display mode.
[in] | xdcr | display mode. |
References HDR_IDX_DISPLAY_MODE, and Sensors::Imagenex837B::Frame::m_data.
Referenced by Sensors::Imagenex837B::Task::setNadirAngle().
|
inlinevirtual |
Change mode according with data points.
Reimplemented from Sensors::Imagenex837B::Frame.
References setBytesToRead(), and setTotalBytes().
Referenced by Sensors::Imagenex837B::Task::setDataPoints().
|
inline |
Set Firmware version.
References HDR_IDX_VERSION, and Sensors::Imagenex837B::Frame::m_data.
Referenced by Sensors::Imagenex837B::Task::writeToFile().
|
inline |
Set pulse length.
[in] | length | pulse length. |
References HDR_IDX_PULSE_LENGTH, and Sensors::Imagenex837B::Frame::m_data.
Referenced by Sensors::Imagenex837B::Task::setRange().
|
inline |
Set repetition rate using local Delta class.
References Sensors::Imagenex837B::Frame::setRepRate(), and DUNE::Math::trimValue().
Referenced by Sensors::Imagenex837B::Task::writeToFile().
|
inline |
Set serial status.
References HDR_IDX_SERIAL_STATUS, and Sensors::Imagenex837B::Frame::m_data.
Referenced by Sensors::Imagenex837B::Task::writeToFile().
|
inline |
Set start gain.
[in] | gain | start gain. |
References HDR_IDX_START_GAIN, and Sensors::Imagenex837B::Frame::m_data.
Referenced by Sensors::Imagenex837B::Task::setStartGain().
|
inline |
Define total bytes in header.
References Sensors::Imagenex837B::Frame::HDR_IDX_TBYTES_HI, Sensors::Imagenex837B::Frame::HDR_IDX_TBYTES_LO, and Sensors::Imagenex837B::Frame::m_data.
Referenced by setExtendedDataPoints().