Apollo 11.0
自动驾驶开放平台
apollo::perception::lidar::LidarFrame结构体 参考

#include <lidar_frame.h>

apollo::perception::lidar::LidarFrame 的协作图:

Public 成员函数

void Reset ()
 
void FilterPointCloud (base::PointCloud< base::PointF > *filtered_cloud, const std::vector< uint32_t > &indices)
 

Public 属性

std::shared_ptr< base::AttributePointCloud< base::PointF > > cloud
 
std::shared_ptr< base::AttributePointCloud< base::PointD > > world_cloud
 
double timestamp = 0.0
 
float parsing_ground_height = 10.0f
 
float original_ground_z = 10.0f
 
Eigen::Affine3d lidar2world_pose = Eigen::Affine3d::Identity()
 
Eigen::Affine3d novatel2world_pose = Eigen::Affine3d::Identity()
 
Eigen::Affine3d lidar2novatel_extrinsics = Eigen::Affine3d::Identity()
 
std::shared_ptr< base::HdmapStructhdmap_struct = nullptr
 
std::vector< std::shared_ptr< base::Object > > segmented_objects
 
std::vector< std::shared_ptr< base::Object > > tracked_objects
 
base::PointIndices roi_indices
 
base::PointIndices non_ground_indices
 
base::PointIndices secondary_indices
 
base::SensorInfo sensor_info
 
std::string reserve
 

详细描述

在文件 lidar_frame.h33 行定义.

成员函数说明

◆ FilterPointCloud()

void apollo::perception::lidar::LidarFrame::FilterPointCloud ( base::PointCloud< base::PointF > *  filtered_cloud,
const std::vector< uint32_t > &  indices 
)
inline

在文件 lidar_frame.h92 行定义.

93 {
94 if (cloud && filtered_cloud) {
95 filtered_cloud->CopyPointCloudExclude(*cloud, indices);
96 }
97 }
std::shared_ptr< base::AttributePointCloud< base::PointF > > cloud
Definition lidar_frame.h:35

◆ Reset()

void apollo::perception::lidar::LidarFrame::Reset ( )
inline

在文件 lidar_frame.h67 行定义.

67 {
68 if (cloud) {
69 cloud->clear();
70 }
71 if (world_cloud) {
72 world_cloud->clear();
73 }
74 timestamp = 0.0;
76 original_ground_z = 10.0f;
77 lidar2world_pose = Eigen::Affine3d::Identity();
78 novatel2world_pose = Eigen::Affine3d::Identity();
79 if (hdmap_struct) {
80 hdmap_struct->road_boundary.clear();
81 hdmap_struct->road_polygons.clear();
82 hdmap_struct->junction_polygons.clear();
83 hdmap_struct->hole_polygons.clear();
84 }
85 segmented_objects.clear();
86 tracked_objects.clear();
87 roi_indices.indices.clear();
90 }
std::shared_ptr< base::AttributePointCloud< base::PointD > > world_cloud
Definition lidar_frame.h:37
std::shared_ptr< base::HdmapStruct > hdmap_struct
Definition lidar_frame.h:51
std::vector< std::shared_ptr< base::Object > > segmented_objects
Definition lidar_frame.h:53
std::vector< std::shared_ptr< base::Object > > tracked_objects
Definition lidar_frame.h:55

类成员变量说明

◆ cloud

std::shared_ptr<base::AttributePointCloud<base::PointF> > apollo::perception::lidar::LidarFrame::cloud

在文件 lidar_frame.h35 行定义.

◆ hdmap_struct

std::shared_ptr<base::HdmapStruct> apollo::perception::lidar::LidarFrame::hdmap_struct = nullptr

在文件 lidar_frame.h51 行定义.

◆ lidar2novatel_extrinsics

Eigen::Affine3d apollo::perception::lidar::LidarFrame::lidar2novatel_extrinsics = Eigen::Affine3d::Identity()

在文件 lidar_frame.h49 行定义.

◆ lidar2world_pose

Eigen::Affine3d apollo::perception::lidar::LidarFrame::lidar2world_pose = Eigen::Affine3d::Identity()

在文件 lidar_frame.h45 行定义.

◆ non_ground_indices

base::PointIndices apollo::perception::lidar::LidarFrame::non_ground_indices

在文件 lidar_frame.h59 行定义.

◆ novatel2world_pose

Eigen::Affine3d apollo::perception::lidar::LidarFrame::novatel2world_pose = Eigen::Affine3d::Identity()

在文件 lidar_frame.h47 行定义.

◆ original_ground_z

float apollo::perception::lidar::LidarFrame::original_ground_z = 10.0f

在文件 lidar_frame.h43 行定义.

◆ parsing_ground_height

float apollo::perception::lidar::LidarFrame::parsing_ground_height = 10.0f

在文件 lidar_frame.h41 行定义.

◆ reserve

std::string apollo::perception::lidar::LidarFrame::reserve

在文件 lidar_frame.h65 行定义.

◆ roi_indices

base::PointIndices apollo::perception::lidar::LidarFrame::roi_indices

在文件 lidar_frame.h57 行定义.

◆ secondary_indices

base::PointIndices apollo::perception::lidar::LidarFrame::secondary_indices

在文件 lidar_frame.h61 行定义.

◆ segmented_objects

std::vector<std::shared_ptr<base::Object> > apollo::perception::lidar::LidarFrame::segmented_objects

在文件 lidar_frame.h53 行定义.

◆ sensor_info

base::SensorInfo apollo::perception::lidar::LidarFrame::sensor_info

在文件 lidar_frame.h63 行定义.

◆ timestamp

double apollo::perception::lidar::LidarFrame::timestamp = 0.0

在文件 lidar_frame.h39 行定义.

◆ tracked_objects

std::vector<std::shared_ptr<base::Object> > apollo::perception::lidar::LidarFrame::tracked_objects

在文件 lidar_frame.h55 行定义.

◆ world_cloud

std::shared_ptr<base::AttributePointCloud<base::PointD> > apollo::perception::lidar::LidarFrame::world_cloud

在文件 lidar_frame.h37 行定义.


该结构体的文档由以下文件生成: