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. | |
size_t | LoadBinary (const unsigned char *buf) |
Load the map cell from a binary chunk. | |
size_t | CreateBinary (unsigned char *buf, size_t buf_size) const |
Create the binary. | |
size_t | 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 ¢roid, 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 第 35 行定义.
apollo::localization::msf::pyramid_map::NdtMapSingleCell::NdtMapSingleCell | ( | ) |
The default constructor.
在文件 ndt_map_matrix.cc 第 26 行定义.
void apollo::localization::msf::pyramid_map::NdtMapSingleCell::AddSample | ( | const float | intensity, |
const float | altitude, | ||
const Eigen::Vector3f & | centroid, | ||
bool | is_road = false |
||
) |
Add an sample to the single 3d map cell.
在文件 ndt_map_matrix.cc 第 159 行定义.
void apollo::localization::msf::pyramid_map::NdtMapSingleCell::CentroidEigenSolver | ( | const Eigen::Matrix3f & | centroid_cov | ) |
在文件 ndt_map_matrix.cc 第 209 行定义.
size_t apollo::localization::msf::pyramid_map::NdtMapSingleCell::CreateBinary | ( | unsigned char * | buf, |
size_t | 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 第 90 行定义.
size_t apollo::localization::msf::pyramid_map::NdtMapSingleCell::GetBinarySize | ( | ) | const |
Get the binary size of the object.
在文件 ndt_map_matrix.cc 第 133 行定义.
size_t apollo::localization::msf::pyramid_map::NdtMapSingleCell::LoadBinary | ( | const unsigned char * | buf | ) |
Load the map cell from a binary chunk.
<return> | The size read (the real size of object). |
在文件 ndt_map_matrix.cc 第 48 行定义.
void apollo::localization::msf::pyramid_map::NdtMapSingleCell::MergeCell | ( | const float | intensity, |
const float | intensity_var, | ||
const unsigned int | road_pt_count, | ||
const unsigned int | count, | ||
const Eigen::Vector3f & | centroid, | ||
const Eigen::Matrix3f & | centroid_cov | ||
) |
Merge two cells.
在文件 ndt_map_matrix.cc 第 180 行定义.
void apollo::localization::msf::pyramid_map::NdtMapSingleCell::MergeCell | ( | const NdtMapSingleCell & | cell_new | ) |
在文件 ndt_map_matrix.cc 第 203 行定义.
NdtMapSingleCell & apollo::localization::msf::pyramid_map::NdtMapSingleCell::operator= | ( | const NdtMapSingleCell & | ref | ) |
Overloading the assign operator.
在文件 ndt_map_matrix.cc 第 142 行定义.
|
static |
Combine two NdtMapSingleCell instances (Reduce).
在文件 ndt_map_matrix.cc 第 154 行定义.
void apollo::localization::msf::pyramid_map::NdtMapSingleCell::Reset | ( | ) |
Reset to default value.
在文件 ndt_map_matrix.cc 第 37 行定义.
Eigen::Vector3f apollo::localization::msf::pyramid_map::NdtMapSingleCell::centroid_ |
the centroid of the cell.
在文件 ndt_map_matrix.h 第 85 行定义.
Eigen::Matrix3f apollo::localization::msf::pyramid_map::NdtMapSingleCell::centroid_average_cov_ |
the pose covariance of the cell.
在文件 ndt_map_matrix.h 第 87 行定义.
Eigen::Matrix3f apollo::localization::msf::pyramid_map::NdtMapSingleCell::centroid_icov_ |
the pose inverse covariance of the cell.
在文件 ndt_map_matrix.h 第 89 行定义.
unsigned int apollo::localization::msf::pyramid_map::NdtMapSingleCell::count_ = 0 |
The number of samples in the cell.
在文件 ndt_map_matrix.h 第 82 行定义.
float apollo::localization::msf::pyramid_map::NdtMapSingleCell::intensity_ = 0 |
The average intensity value.
在文件 ndt_map_matrix.h 第 76 行定义.
float apollo::localization::msf::pyramid_map::NdtMapSingleCell::intensity_var_ = 0 |
The variance intensity value.
在文件 ndt_map_matrix.h 第 78 行定义.
unsigned char apollo::localization::msf::pyramid_map::NdtMapSingleCell::is_icov_available_ = 0 |
the inverse covariance available flag.
在文件 ndt_map_matrix.h 第 91 行定义.
const unsigned int apollo::localization::msf::pyramid_map::NdtMapSingleCell::minimum_points_threshold_ = 6 |
minimum number of points needed.
在文件 ndt_map_matrix.h 第 93 行定义.
unsigned int apollo::localization::msf::pyramid_map::NdtMapSingleCell::road_pt_count_ = 0 |
The number of samples belonging to road surface.
在文件 ndt_map_matrix.h 第 80 行定义.