40 namespace data_processing {
44 m_reader_ptr = std::make_shared<sick::data_processing::ReadWriteHelper>();
51 const uint8_t* data_ptr(buffer.
getBuffer().data());
59 return m_reader_ptr->readuint32_tLittleEndian(data_ptr, 16);
64 return m_reader_ptr->readuint32_tLittleEndian(data_ptr, 20);
uint32_t readEndAngle(const uint8_t *data_ptr) const
bool parseTCPSequence(const datastructure::PacketBuffer &buffer, datastructure::ConfigData &config_data) const
Parses a tcp sequence to read the persistent configuration of the sensor.
A packetbuffer for the raw data from the sensor.
const VectorBuffer & getBuffer() const
Getter to return the VectorBuffer saved in the PacketBuffer.
std::shared_ptr< sick::data_processing::ReadWriteHelper > m_reader_ptr
Config data for current and persistent sensor config.
void setStartAngle(const int32_t &start_angle)
Set the start angle of the configuration.
uint32_t readStartAngle(const uint8_t *data_ptr) const
ParseMeasurementPersistentConfigData()
Constructor of the parser.
void setEndAngle(const int32_t &end_angle)
Set the end angle of the configuration.