Apollo 10.0
自动驾驶开放平台
|
#include <lossless_map_matrix.h>
Public 成员函数 | |
LosslessMapSingleCell () | |
The default constructor. | |
void | Reset () |
Reset to default value. | |
void | AddSample (const float new_altitude, const float new_intensity) |
Add a sample. | |
LosslessMapSingleCell & | operator= (const LosslessMapSingleCell &ref) |
Overloading the assign operator. | |
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. | |
Public 属性 | |
float | intensity |
The average intensity value. | |
float | intensity_var |
The variance intensity value. | |
float | altitude |
The average altitude of the cell. | |
float | altitude_var |
The variance altitude value of the cell. | |
unsigned int | count |
The number of samples in the cell. | |
在文件 lossless_map_matrix.h 第 33 行定义.
apollo::localization::msf::LosslessMapSingleCell::LosslessMapSingleCell | ( | ) |
The default constructor.
在文件 lossless_map_matrix.cc 第 24 行定义.
void apollo::localization::msf::LosslessMapSingleCell::AddSample | ( | const float | new_altitude, |
const float | new_intensity | ||
) |
unsigned int apollo::localization::msf::LosslessMapSingleCell::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. |
在文件 lossless_map_matrix.cc 第 80 行定义.
unsigned int apollo::localization::msf::LosslessMapSingleCell::GetBinarySize | ( | ) | const |
Get the binary size of the object.
在文件 lossless_map_matrix.cc 第 100 行定义.
unsigned int apollo::localization::msf::LosslessMapSingleCell::LoadBinary | ( | unsigned char * | buf | ) |
Load the map cell from a binary chunk.
<return> | The size read (the real size of object). |
在文件 lossless_map_matrix.cc 第 64 行定义.
LosslessMapSingleCell & apollo::localization::msf::LosslessMapSingleCell::operator= | ( | const LosslessMapSingleCell & | ref | ) |
Overloading the assign operator.
在文件 lossless_map_matrix.cc 第 38 行定义.
|
inline |
Reset to default value.
在文件 lossless_map_matrix.cc 第 31 行定义.
float apollo::localization::msf::LosslessMapSingleCell::altitude |
The average altitude of the cell.
在文件 lossless_map_matrix.h 第 59 行定义.
float apollo::localization::msf::LosslessMapSingleCell::altitude_var |
The variance altitude value of the cell.
在文件 lossless_map_matrix.h 第 61 行定义.
unsigned int apollo::localization::msf::LosslessMapSingleCell::count |
The number of samples in the cell.
在文件 lossless_map_matrix.h 第 63 行定义.
float apollo::localization::msf::LosslessMapSingleCell::intensity |
The average intensity value.
在文件 lossless_map_matrix.h 第 55 行定义.
float apollo::localization::msf::LosslessMapSingleCell::intensity_var |
The variance intensity value.
在文件 lossless_map_matrix.h 第 57 行定义.