22 class RadarSerializer;
35 static_assert(
sizeof(float) ==
sizeof(uint32_t),
"Invalid float size");
36 static_assert(
sizeof(float) * 4 ==
sizeof(
RadarDetection),
"Invalid RadarDetection size");
RadarData & operator=(RadarData &&)=default
void Reset()
Deletes the current detections.
void SetResolution(uint32_t resolution)
Set a new resolution for the RadarData.
size_t GetDetectionCount() const
Returns the number of current detections.
static constexpr auto detection_size
void WriteDetection(RadarDetection detection)
Adds a new detection.
std::vector< RadarDetection > _detections
Serializes the data generated by Radar sensors.
This file contains definitions of common data structures used in traffic manager.