40 namespace data_processing {
50 const std::shared_ptr<std::vector<uint8_t>
const> vec_ptr = buffer.
getBuffer();
51 std::vector<uint8_t>::const_iterator data_ptr = vec_ptr->begin();
124 std::vector<uint32_t>
127 std::vector<uint32_t> result;
128 for (uint8_t i = 0; i < 4; i++)
A packetbuffer for the raw data from the sensor.
std::shared_ptr< std::vector< uint8_t > const > getBuffer() const
Getter to return a copy of the data saved in the PacketBuffer.
uint32_t readUint32LittleEndian(std::vector< uint8_t >::const_iterator it)
Read an unsigned 32-bit integer at offset in little endian encoding.
uint8_t readUint8(std::vector< uint8_t >::const_iterator it)
Read an unsigned 8-bit integer at offset.
uint16_t readUint16LittleEndian(std::vector< uint8_t >::const_iterator it)
Read an unsigned 16-bit integer at offset in little endian encoding.