#include <SemanticLidarData.h>
Public Member Functions | |
uint32_t | GetChannelCount () const |
float | GetHorizontalAngle () const |
SemanticLidarData & | operator= (SemanticLidarData &&)=default |
virtual void | ResetMemory (std::vector< uint32_t > points_per_channel) |
SemanticLidarData (uint32_t ChannelCount=0u) | |
void | SetHorizontalAngle (float angle) |
virtual void | WriteChannelCount (std::vector< uint32_t > points_per_channel) |
virtual void | WritePointSync (SemanticLidarDetection &detection) |
virtual | ~SemanticLidarData () |
Protected Types | |
enum | Index : size_t { HorizontalAngle, ChannelCount, SIZE } |
Protected Attributes | |
std::vector< uint32_t > | _header |
uint32_t | _max_channel_points |
Private Attributes | |
std::vector< SemanticLidarDetection > | _ser_points |
Friends | |
class | carla::ros2::ROS2 |
class | s11n::SemanticLidarHeaderView |
class | s11n::SemanticLidarSerializer |
Definition at line 86 of file SemanticLidarData.h.
|
protected |
Enumerator | |
---|---|
HorizontalAngle | |
ChannelCount | |
SIZE |
Definition at line 90 of file SemanticLidarData.h.
|
inlineexplicit |
Definition at line 97 of file SemanticLidarData.h.
|
inlinevirtual |
Definition at line 104 of file SemanticLidarData.h.
|
inline |
Definition at line 114 of file SemanticLidarData.h.
|
inline |
Definition at line 106 of file SemanticLidarData.h.
Referenced by ARayCastSemanticLidar::SimulateLidar().
|
default |
|
inlinevirtual |
Reimplemented in carla::sensor::data::LidarData.
Definition at line 118 of file SemanticLidarData.h.
References DEBUG_ASSERT, and PropAttributes::SIZE.
Referenced by ARayCastSemanticLidar::ComputeAndSaveDetections().
|
inline |
Definition at line 110 of file SemanticLidarData.h.
Referenced by ARayCastSemanticLidar::SimulateLidar().
|
inlinevirtual |
Definition at line 129 of file SemanticLidarData.h.
References PropAttributes::SIZE.
Referenced by ARayCastLidar::ComputeAndSaveDetections(), and ARayCastSemanticLidar::ComputeAndSaveDetections().
|
inlinevirtual |
Reimplemented in carla::sensor::data::LidarData.
Definition at line 134 of file SemanticLidarData.h.
Referenced by ARayCastSemanticLidar::ComputeAndSaveDetections().
|
friend |
Definition at line 147 of file SemanticLidarData.h.
|
friend |
Definition at line 145 of file SemanticLidarData.h.
|
friend |
Definition at line 146 of file SemanticLidarData.h.
|
protected |
Definition at line 139 of file SemanticLidarData.h.
Referenced by carla::sensor::s11n::LidarSerializer::Serialize(), and carla::sensor::s11n::SemanticLidarSerializer::Serialize().
|
protected |
Definition at line 140 of file SemanticLidarData.h.
|
private |
Definition at line 143 of file SemanticLidarData.h.
Referenced by carla::ros2::ROS2::ProcessDataFromSemanticLidar(), and carla::sensor::s11n::SemanticLidarSerializer::Serialize().