#include <LidarData.h>
Public Member Functions | |
LidarData (uint32_t ChannelCount=0u) | |
LidarData & | operator= (LidarData &&)=default |
virtual void | ResetMemory (std::vector< uint32_t > points_per_channel) |
void | WritePointSync (LidarDetection &detection) |
virtual void | WritePointSync (SemanticLidarDetection &detection) |
~LidarData ()=default | |
Public Member Functions inherited from carla::sensor::data::SemanticLidarData | |
uint32_t | GetChannelCount () const |
float | GetHorizontalAngle () const |
SemanticLidarData & | operator= (SemanticLidarData &&)=default |
SemanticLidarData (uint32_t ChannelCount=0u) | |
void | SetHorizontalAngle (float angle) |
virtual void | WriteChannelCount (std::vector< uint32_t > points_per_channel) |
virtual | ~SemanticLidarData () |
Private Attributes | |
std::vector< float > | _points |
Friends | |
class | carla::ros2::ROS2 |
class | s11n::LidarHeaderView |
class | s11n::LidarSerializer |
Additional Inherited Members | |
Protected Types inherited from carla::sensor::data::SemanticLidarData | |
enum | Index : size_t { HorizontalAngle, ChannelCount, SIZE } |
Protected Attributes inherited from carla::sensor::data::SemanticLidarData | |
std::vector< uint32_t > | _header |
uint32_t | _max_channel_points |
Definition at line 76 of file LidarData.h.
|
inlineexplicit |
Definition at line 79 of file LidarData.h.
|
default |
|
inlinevirtual |
Reimplemented from carla::sensor::data::SemanticLidarData.
Definition at line 87 of file LidarData.h.
References DEBUG_ASSERT, and PropAttributes::SIZE.
Referenced by ARayCastLidar::ComputeAndSaveDetections().
|
inline |
Definition at line 98 of file LidarData.h.
References carla::sensor::data::LidarDetection::intensity, carla::sensor::data::LidarDetection::point, carla::geom::Vector3D::x, carla::geom::Vector3D::y, and carla::geom::Vector3D::z.
Referenced by ARayCastLidar::ComputeAndSaveDetections().
|
inlinevirtual |
Reimplemented from carla::sensor::data::SemanticLidarData.
Definition at line 105 of file LidarData.h.
References DEBUG_ASSERT.
|
friend |
Definition at line 115 of file LidarData.h.
|
friend |
Definition at line 114 of file LidarData.h.
|
friend |
Definition at line 113 of file LidarData.h.
|
private |
Definition at line 111 of file LidarData.h.
Referenced by carla::ros2::ROS2::ProcessDataFromLidar(), and carla::sensor::s11n::LidarSerializer::Serialize().