65 out <<
"property float32 x\n" \
66 "property float32 y\n" \
67 "property float32 z\n" \
87 virtual void ResetMemory(std::vector<uint32_t> points_per_channel) {
91 uint32_t total_points =
static_cast<uint32_t
>(
92 std::accumulate(points_per_channel.begin(), points_per_channel.end(), 0));
95 _points.reserve(total_points * 4);
#define DEBUG_ASSERT(predicate)
virtual void WritePointSync(SemanticLidarDetection &detection)
std::vector< float > _points
virtual void ResetMemory(std::vector< uint32_t > points_per_channel)
LidarData & operator=(LidarData &&)=default
LidarData(uint32_t ChannelCount=0u)
void WritePointSync(LidarDetection &detection)
Helper class to store and serialize the data generated by a Lidar.
void WritePlyHeaderInfo(std::ostream &out) const
LidarDetection(float x, float y, float z, float intensity)
void WriteDetection(std::ostream &out) const
LidarDetection(geom::Location p, float intensity)
uint32_t GetChannelCount() const
std::vector< uint32_t > _header
Helper class to store and serialize the data generated by a RawLidar.
Serializes the data generated by Lidar sensors.
This file contains definitions of common data structures used in traffic manager.