Apollo 10.0
自动驾驶开放平台
|
The data structure of a single ndt map cell. 更多...
#include <ndt_map_matrix.h>
Public 成员函数 | |
NdtMapSingleCell () | |
The default constructor. | |
void | Reset () |
Reset to default value. | |
unsigned int | LoadBinary (unsigned char *buf) |
Load the map cell from a binary chunk. | |
unsigned int | CreateBinary (unsigned char *buf, unsigned int buf_size) const |
Create the binary. | |
unsigned int | GetBinarySize () const |
Get the binary size of the object. | |
NdtMapSingleCell & | operator= (const NdtMapSingleCell &ref) |
Overloading the assign operator. | |
void | AddSample (const float intensity, const float altitude, const Eigen::Vector3f centroid, bool is_road=false) |
Add an sample to the single 3d map cell. | |
void | MergeCell (const float intensity, const float intensity_var, const unsigned int road_pt_count, const unsigned int count, const Eigen::Vector3f ¢roid, const Eigen::Matrix3f ¢roid_cov) |
Merge two cells. | |
void | MergeCell (const NdtMapSingleCell &cell_new) |
void | CentroidEigenSolver (const Eigen::Matrix3f ¢roid_cov) |
静态 Public 成员函数 | |
static void | Reduce (NdtMapSingleCell *cell, const NdtMapSingleCell &cell_new) |
Combine two NdtMapSingleCell instances (Reduce). | |
Public 属性 | |
float | intensity_ = 0 |
The average intensity value. | |
float | intensity_var_ = 0 |
The variance intensity value. | |
unsigned int | road_pt_count_ = 0 |
The number of samples belonging to road surface. | |
unsigned int | count_ = 0 |
The number of samples in the cell. | |
Eigen::Vector3f | centroid_ |
the centroid of the cell. | |
Eigen::Matrix3f | centroid_average_cov_ |
the pose covariance of the cell. | |
Eigen::Matrix3f | centroid_icov_ |
the pose inverse covariance of the cell. | |
unsigned char | is_icov_available_ = 0 |
the inverse covariance available flag. | |
const unsigned int | minimum_points_threshold_ = 6 |
minimum number of points needed. | |
The data structure of a single ndt map cell.
在文件 ndt_map_matrix.h 第 34 行定义.
apollo::localization::msf::NdtMapSingleCell::NdtMapSingleCell | ( | ) |
The default constructor.
在文件 ndt_map_matrix.cc 第 24 行定义.
|
inline |
Add an sample to the single 3d map cell.
在文件 ndt_map_matrix.h 第 215 行定义.
|
inline |
在文件 ndt_map_matrix.h 第 266 行定义.
unsigned int apollo::localization::msf::NdtMapSingleCell::CreateBinary | ( | unsigned char * | buf, |
unsigned int | buf_size | ||
) | const |
Create the binary.
Serialization of the object.
<buf,buf_size> | The buffer and its size. |
<return> | The required or the used size of is returned. |
在文件 ndt_map_matrix.cc 第 77 行定义.
unsigned int apollo::localization::msf::NdtMapSingleCell::GetBinarySize | ( | ) | const |
Get the binary size of the object.
在文件 ndt_map_matrix.cc 第 120 行定义.
unsigned int apollo::localization::msf::NdtMapSingleCell::LoadBinary | ( | unsigned char * | buf | ) |
Load the map cell from a binary chunk.
<return> | The size read (the real size of object). |
在文件 ndt_map_matrix.cc 第 35 行定义.
|
inline |
Merge two cells.
在文件 ndt_map_matrix.h 第 237 行定义.
|
inline |
在文件 ndt_map_matrix.h 第 260 行定义.
NdtMapSingleCell & apollo::localization::msf::NdtMapSingleCell::operator= | ( | const NdtMapSingleCell & | ref | ) |
Overloading the assign operator.
在文件 ndt_map_matrix.cc 第 131 行定义.
|
static |
Combine two NdtMapSingleCell instances (Reduce).
在文件 ndt_map_matrix.cc 第 143 行定义.
|
inline |
Reset to default value.
在文件 ndt_map_matrix.h 第 204 行定义.
Eigen::Vector3f apollo::localization::msf::NdtMapSingleCell::centroid_ |
the centroid of the cell.
在文件 ndt_map_matrix.h 第 85 行定义.
Eigen::Matrix3f apollo::localization::msf::NdtMapSingleCell::centroid_average_cov_ |
the pose covariance of the cell.
在文件 ndt_map_matrix.h 第 87 行定义.
Eigen::Matrix3f apollo::localization::msf::NdtMapSingleCell::centroid_icov_ |
the pose inverse covariance of the cell.
在文件 ndt_map_matrix.h 第 89 行定义.
unsigned int apollo::localization::msf::NdtMapSingleCell::count_ = 0 |
The number of samples in the cell.
在文件 ndt_map_matrix.h 第 82 行定义.
float apollo::localization::msf::NdtMapSingleCell::intensity_ = 0 |
The average intensity value.
在文件 ndt_map_matrix.h 第 76 行定义.
float apollo::localization::msf::NdtMapSingleCell::intensity_var_ = 0 |
The variance intensity value.
在文件 ndt_map_matrix.h 第 78 行定义.
unsigned char apollo::localization::msf::NdtMapSingleCell::is_icov_available_ = 0 |
the inverse covariance available flag.
在文件 ndt_map_matrix.h 第 91 行定义.
const unsigned int apollo::localization::msf::NdtMapSingleCell::minimum_points_threshold_ = 6 |
minimum number of points needed.
在文件 ndt_map_matrix.h 第 93 行定义.
unsigned int apollo::localization::msf::NdtMapSingleCell::road_pt_count_ = 0 |
The number of samples belonging to road surface.
在文件 ndt_map_matrix.h 第 80 行定义.