Serializes the data generated by Lidar sensors. More...
#include <SemanticLidarSerializer.h>
Static Public Member Functions | |
static SharedPtr< SensorData > | Deserialize (RawData &&data) |
static SemanticLidarHeaderView | DeserializeHeader (const RawData &data) |
static size_t | GetHeaderOffset (const RawData &data) |
template<typename Sensor > | |
static Buffer | Serialize (const Sensor &sensor, const data::SemanticLidarData &measurement, Buffer &&output) |
Serializes the data generated by Lidar sensors.
Definition at line 59 of file SemanticLidarSerializer.h.
|
static |
Definition at line 14 of file SemanticLidarSerializer.cpp.
|
inlinestatic |
Definition at line 62 of file SemanticLidarSerializer.h.
References carla::sensor::RawData::begin().
Referenced by carla::sensor::data::SemanticLidarMeasurement::GetHeader().
|
inlinestatic |
Definition at line 66 of file SemanticLidarSerializer.h.
References PropAttributes::SIZE.
Referenced by carla::sensor::data::SemanticLidarMeasurement::SemanticLidarMeasurement().
|
inlinestatic |
Definition at line 85 of file SemanticLidarSerializer.h.
References carla::sensor::data::SemanticLidarData::_header, carla::sensor::data::SemanticLidarData::_ser_points, and carla::Buffer::copy_from().