40 namespace data_processing {
44 m_reader_ptr = std::make_shared<sick::data_processing::ReadWriteHelper>();
51 const uint8_t* data_ptr(buffer.
getBuffer().data());
68 if (byte ==
'R' || byte ==
'Y')
82 if (field_type == 4 || field_type == 14)
86 else if (field_type == 5 || field_type == 15)
100 return m_reader_ptr->readuint16_tLittleEndian(data_ptr, 82);
void setIsValid(bool is_valid)
Sets if the field data is valid.
A packetbuffer for the raw data from the sensor.
Field data for warning and protective fields.
void setIsProtectiveField(bool is_protective_field)
Set if a field is protective field.
const VectorBuffer & getBuffer() const
Getter to return the VectorBuffer saved in the PacketBuffer.
void setIsWarningField(bool is_warning_field)
Set if a field is a warning field.
void setFieldSetIndex(uint16_t &field_set_index)
Sets the index of the field set where the field belongs to.