CARLA
 
载入中...
搜索中...
未找到
Public 成员函数 | Public 属性 | 所有成员列表
carla::sensor::data::LidarDetection类 参考

Helper class to store and serialize the data generated by a Lidar. 更多...

#include <LidarData.h>

+ carla::sensor::data::LidarDetection 的协作图:

Public 成员函数

 LidarDetection ()
 
 LidarDetection (float x, float y, float z, float intensity)
 
 LidarDetection (geom::Location p, float intensity)
 
void WriteDetection (std::ostream &out) const
 
void WritePlyHeaderInfo (std::ostream &out) const
 

Public 属性

float intensity
 
geom::Location point
 

详细描述

Helper class to store and serialize the data generated by a Lidar.

The header of a Lidar measurement consists of an array of uint32_t's in the following layout

{ Horizontal angle (float), Channel count, Point count of channel 0, ... Point count of channel n, }

The points are stored in an array of floats

{ X0, Y0, Z0, I0 ... Xn, Yn, Zn, In }

在文件 LidarData.h52 行定义.

构造及析构函数说明

◆ LidarDetection() [1/3]

carla::sensor::data::LidarDetection::LidarDetection ( )
inline

在文件 LidarData.h57 行定义.

◆ LidarDetection() [2/3]

carla::sensor::data::LidarDetection::LidarDetection ( float x,
float y,
float z,
float intensity )
inline

在文件 LidarData.h59 行定义.

◆ LidarDetection() [3/3]

carla::sensor::data::LidarDetection::LidarDetection ( geom::Location p,
float intensity )
inline

在文件 LidarData.h61 行定义.

成员函数说明

◆ WriteDetection()

void carla::sensor::data::LidarDetection::WriteDetection ( std::ostream & out) const
inline

◆ WritePlyHeaderInfo()

void carla::sensor::data::LidarDetection::WritePlyHeaderInfo ( std::ostream & out) const
inline

在文件 LidarData.h64 行定义.

类成员变量说明

◆ intensity

float carla::sensor::data::LidarDetection::intensity

◆ point

geom::Location carla::sensor::data::LidarDetection::point

该类的文档由以下文件生成: