35 #ifndef SICK_SAFETYSCANNERS_DATA_PROCESSING_PARSEMEASUREMENTDATA_H 36 #define SICK_SAFETYSCANNERS_DATA_PROCESSING_PARSEMEASUREMENTDATA_H 48 namespace data_processing {
75 std::shared_ptr<sick::data_processing::ReadWriteHelper>
m_reader_ptr;
84 const uint8_t*& data_ptr,
94 #endif // SICK_SAFETYSCANNERS_DATA_PROCESSING_PARSEMEASUREMENTDATA_H bool checkIfPreconditionsAreMet(const datastructure::Data &data) const
bool checkIfDataContainsNeededParsedBlocks(const datastructure::Data &data) const
ParseMeasurementData()
Constructor of the parser.
A packetbuffer for the raw data from the sensor.
bool checkIfMeasurementDataIsPublished(const datastructure::Data &data) const
void setNumberOfBeamsInMeasurementData(const uint8_t *&data_ptr, datastructure::MeasurementData &measurement_data) const
void setScanPointsInMeasurementData(const uint8_t *&data_ptr, datastructure::MeasurementData &measurement_data)
The data class containing all data blocks of a measurement.
Parser for the measurement data from a udp sequence.
void addScanPointToMeasurementData(uint16_t offset, const uint8_t *&data_ptr, datastructure::MeasurementData &measurement_data) const
void setStartAngleAndDelta(const datastructure::Data &data)
Class containing all scanpoints of a single measurement.
void setDataInMeasurementData(const uint8_t *&data_ptr, datastructure::MeasurementData &measurement_data)
datastructure::MeasurementData parseUDPSequence(const datastructure::PacketBuffer &buffer, datastructure::Data &data)
Parses the measurement data if it is enabled.
std::shared_ptr< sick::data_processing::ReadWriteHelper > m_reader_ptr