Apollo 10.0
自动驾驶开放平台
|
#include <lossy_map_matrix_2d.h>
Public 成员函数 | |
LossyMapMatrix2D () | |
~LossyMapMatrix2D () | |
LossyMapMatrix2D (const LossyMapMatrix2D &matrix) | |
virtual void | Init (const BaseMapConfig *config) |
Initialize the map matrix. | |
virtual void | Reset (const BaseMapConfig *config) |
Reset map cells data. | |
void | Init (unsigned int rows, unsigned int cols) |
void | Reset (unsigned int rows, unsigned int cols) |
virtual unsigned int | LoadBinary (unsigned char *buf) |
Load the map cell from a binary chunk. | |
virtual unsigned int | CreateBinary (unsigned char *buf, unsigned int buf_size) const |
Create the binary. | |
virtual unsigned int | GetBinarySize () const |
Get the binary size of the object. | |
virtual void | GetIntensityImg (cv::Mat *intensity_img) const |
get intensity image of node. | |
LossyMapCell2D * | operator[] (int row) |
const LossyMapCell2D * | operator[] (int row) const |
LossyMapMatrix2D & | operator= (const LossyMapMatrix2D &matrix) |
![]() | |
BaseMapMatrix () | |
The default constructor. | |
virtual | ~BaseMapMatrix () |
The deconstructor. | |
BaseMapMatrix (const BaseMapMatrix &cell) | |
The copy constructor. | |
Protected 成员函数 | |
unsigned char | EncodeIntensity (const LossyMapCell2D &cell) const |
void | DecodeIntensity (unsigned char data, LossyMapCell2D *cell) const |
uint16_t | EncodeVar (const LossyMapCell2D &cell) const |
void | DecodeVar (uint16_t data, LossyMapCell2D *cell) const |
uint16_t | EncodeAltitudeGround (const LossyMapCell2D &cell) const |
void | DecodeAltitudeGround (uint16_t data, LossyMapCell2D *cell) const |
uint16_t | EncodeAltitudeAvg (const LossyMapCell2D &cell) const |
void | DecodeAltitudeAvg (uint16_t data, LossyMapCell2D *cell) const |
unsigned char | EncodeCount (const LossyMapCell2D &cell) const |
void | DecodeCount (unsigned char data, LossyMapCell2D *cell) const |
Protected 属性 | |
unsigned int | rows_ |
The number of rows. | |
unsigned int | cols_ |
The number of columns. | |
LossyMapCell2D * | map_cells_ |
The matrix data structure. | |
const int | var_range_ = 1023 |
const int | var_ratio_ = 4 |
const float | alt_ground_interval_ = 0.04f |
const uint16_t | ground_void_flag_ = 0xffff |
const float | alt_avg_interval_ = 0.04f |
const int | count_range_ = 2 |
float | alt_avg_min_ |
float | alt_avg_max_ |
float | alt_ground_min_ |
float | alt_ground_max_ |
在文件 lossy_map_matrix_2d.h 第 59 行定义.
apollo::localization::msf::LossyMapMatrix2D::LossyMapMatrix2D | ( | ) |
在文件 lossy_map_matrix_2d.cc 第 50 行定义.
apollo::localization::msf::LossyMapMatrix2D::~LossyMapMatrix2D | ( | ) |
在文件 lossy_map_matrix_2d.cc 第 56 行定义.
apollo::localization::msf::LossyMapMatrix2D::LossyMapMatrix2D | ( | const LossyMapMatrix2D & | matrix | ) |
在文件 lossy_map_matrix_2d.cc 第 64 行定义.
|
virtual |
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. |
实现了 apollo::localization::msf::BaseMapMatrix.
在文件 lossy_map_matrix_2d.cc 第 306 行定义.
|
inlineprotected |
在文件 lossy_map_matrix_2d.cc 第 186 行定义.
|
inlineprotected |
在文件 lossy_map_matrix_2d.cc 第 167 行定义.
|
inlineprotected |
在文件 lossy_map_matrix_2d.cc 第 205 行定义.
|
inlineprotected |
在文件 lossy_map_matrix_2d.cc 第 126 行定义.
|
inlineprotected |
在文件 lossy_map_matrix_2d.cc 第 146 行定义.
|
inlineprotected |
在文件 lossy_map_matrix_2d.cc 第 173 行定义.
|
inlineprotected |
在文件 lossy_map_matrix_2d.cc 第 153 行定义.
|
inlineprotected |
在文件 lossy_map_matrix_2d.cc 第 192 行定义.
|
inlineprotected |
在文件 lossy_map_matrix_2d.cc 第 114 行定义.
|
inlineprotected |
在文件 lossy_map_matrix_2d.cc 第 131 行定义.
|
virtual |
Get the binary size of the object.
实现了 apollo::localization::msf::BaseMapMatrix.
在文件 lossy_map_matrix_2d.cc 第 425 行定义.
|
virtual |
get intensity image of node.
实现了 apollo::localization::msf::BaseMapMatrix.
在文件 lossy_map_matrix_2d.cc 第 436 行定义.
|
virtual |
Initialize the map matrix.
实现了 apollo::localization::msf::BaseMapMatrix.
在文件 lossy_map_matrix_2d.cc 第 84 行定义.
void apollo::localization::msf::LossyMapMatrix2D::Init | ( | unsigned int | rows, |
unsigned int | cols | ||
) |
在文件 lossy_map_matrix_2d.cc 第 93 行定义.
|
virtual |
Load the map cell from a binary chunk.
<return> | The size read (the real size of object). |
实现了 apollo::localization::msf::BaseMapMatrix.
在文件 lossy_map_matrix_2d.cc 第 215 行定义.
LossyMapMatrix2D & apollo::localization::msf::LossyMapMatrix2D::operator= | ( | const LossyMapMatrix2D & | matrix | ) |
在文件 lossy_map_matrix_2d.cc 第 74 行定义.
|
inline |
在文件 lossy_map_matrix_2d.h 第 87 行定义.
|
inline |
在文件 lossy_map_matrix_2d.h 第 90 行定义.
|
virtual |
Reset map cells data.
实现了 apollo::localization::msf::BaseMapMatrix.
在文件 lossy_map_matrix_2d.cc 第 103 行定义.
void apollo::localization::msf::LossyMapMatrix2D::Reset | ( | unsigned int | rows, |
unsigned int | cols | ||
) |
在文件 lossy_map_matrix_2d.cc 第 107 行定义.
|
protected |
在文件 lossy_map_matrix_2d.h 第 120 行定义.
|
mutableprotected |
在文件 lossy_map_matrix_2d.h 第 123 行定义.
|
mutableprotected |
在文件 lossy_map_matrix_2d.h 第 122 行定义.
|
protected |
在文件 lossy_map_matrix_2d.h 第 118 行定义.
|
mutableprotected |
在文件 lossy_map_matrix_2d.h 第 125 行定义.
|
mutableprotected |
在文件 lossy_map_matrix_2d.h 第 124 行定义.
|
protected |
The number of columns.
在文件 lossy_map_matrix_2d.h 第 100 行定义.
|
protected |
在文件 lossy_map_matrix_2d.h 第 121 行定义.
|
protected |
在文件 lossy_map_matrix_2d.h 第 119 行定义.
|
protected |
The matrix data structure.
在文件 lossy_map_matrix_2d.h 第 102 行定义.
|
protected |
The number of rows.
在文件 lossy_map_matrix_2d.h 第 98 行定义.
|
protected |
在文件 lossy_map_matrix_2d.h 第 115 行定义.
|
protected |
在文件 lossy_map_matrix_2d.h 第 116 行定义.