Apollo 10.0
自动驾驶开放平台
|
#include <pyramid_map_matrix_handler.h>
Public 成员函数 | |
LossyMapFullAltMatrixHandler () | |
~LossyMapFullAltMatrixHandler () | |
virtual size_t | LoadBinary (const unsigned char *buf, std::shared_ptr< BaseMapMatrix > matrix) |
Load the map cell from a binary chunk. | |
virtual size_t | CreateBinary (const std::shared_ptr< BaseMapMatrix > matrix, unsigned char *buf, size_t buf_size) |
Create the binary. | |
virtual size_t | GetBinarySize (const std::shared_ptr< BaseMapMatrix > matrix) |
Get the binary size of the object. | |
![]() | |
LossyMapMatrixHandler () | |
virtual | ~LossyMapMatrixHandler () |
![]() | |
BaseMapMatrixHandler () | |
virtual | ~BaseMapMatrixHandler () |
额外继承的成员函数 | |
![]() | |
virtual unsigned char | EncodeIntensity (float intensity) const |
virtual void | DecodeIntensity (unsigned char data, float *intensity) const |
virtual uint16_t | EncodeIntensityVar (float var) const |
virtual void | DecodeIntensityVar (uint16_t data, float *var) const |
virtual uint16_t | EncodeAltitude (float altitude, float min_altitude, float altitude_interval) const |
virtual void | DecodeAltitude (uint16_t data, float min_altitude, float altitude_interval, float *altitude) const |
virtual unsigned char | EncodeCount (unsigned int count, unsigned int count_range) const |
virtual void | DecodeCount (unsigned char data, unsigned int *count) const |
![]() | |
const unsigned int | var_range_ = 1023 |
const unsigned int | var_ratio_ = 4 |
const unsigned int | count_range_ = 2 |
const float | ground_alt_interval_ = 0.04f |
const float | alt_avg_interval_ = 0.04f |
float | alt_avg_min_ = 0.0f |
float | ground_alt_min_ = 0.0f |
float | alt_avg_max_ = 0.0f |
float | ground_alt_max_ = 0.0f |
在文件 pyramid_map_matrix_handler.h 第 64 行定义.
apollo::localization::msf::pyramid_map::LossyMapFullAltMatrixHandler::LossyMapFullAltMatrixHandler | ( | ) |
在文件 pyramid_map_matrix_handler.cc 第 138 行定义.
apollo::localization::msf::pyramid_map::LossyMapFullAltMatrixHandler::~LossyMapFullAltMatrixHandler | ( | ) |
在文件 pyramid_map_matrix_handler.cc 第 140 行定义.
|
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::pyramid_map::BaseMapMatrixHandler.
在文件 pyramid_map_matrix_handler.cc 第 256 行定义.
|
virtual |
Get the binary size of the object.
实现了 apollo::localization::msf::pyramid_map::BaseMapMatrixHandler.
在文件 pyramid_map_matrix_handler.cc 第 414 行定义.
|
virtual |
Load the map cell from a binary chunk.
<return> | The size read (the real size of object). |
实现了 apollo::localization::msf::pyramid_map::BaseMapMatrixHandler.
在文件 pyramid_map_matrix_handler.cc 第 142 行定义.