Apollo 10.0
自动驾驶开放平台
|
The options of the reflectance map. 更多...
#include <ndt_map_config.h>
Public 成员函数 | |
NdtMapConfig (std::string map_version="0.1") | |
The constructor gives the default map settings. | |
~NdtMapConfig () | |
void | SetSingleResolutionZ (float resolution=1.0f) |
Set single resolutions. | |
void | SetMultiResolutionsZ () |
Set multi resolutions. | |
![]() | |
BaseMapConfig (const std::string &map_version="0.1") | |
The constructor gives the default map settings. | |
virtual | ~BaseMapConfig () |
The deconstructor. | |
bool | Save (const std::string &file_path) |
Save the map option to a XML file. | |
bool | Load (const std::string &file_path) |
Load the map option from a XML file. | |
void | SetMapVersion (const std::string &map_version) |
Set map_version. | |
void | SetMapNodeSize (unsigned int size_x, unsigned int size_y) |
Set map_node_size. | |
void | SetGroundHeightOffset (float map_ground_height_offset) |
Set map_ground_height_offset. | |
void | SetIsCompression (bool map_is_compression) |
Set map_is_compression. | |
void | ResizeMapRange () |
Resize map range by range and resolutions. | |
void | SetSingleResolutions (float resolution=0.125) |
Set single resolutions. | |
void | SetMultiResolutions () |
Set multi resolutions. | |
void | SetNodeMd5Map (const std::map< std::string, std::string > &node_md5_map) |
Set node_md5_map. | |
void | AddNodeMd5 (const std::string &node_path, const std::string &md5) |
Add a node md5 pair. | |
MapVersion | GetMapVersion () const |
Get map version. | |
Public 属性 | |
std::vector< float > | map_resolutions_z_ |
The resolution of z-axis. | |
bool | map_is_compression_ |
Enable the compression. | |
![]() | |
std::string | map_version_ = "" |
The version of map. | |
std::vector< float > | map_resolutions_ |
The pixel resolutions in the map in meters. | |
unsigned int | map_node_size_x_ = 0 |
The map node size in pixels. | |
unsigned int | map_node_size_y_ = 0 |
The map node size in pixels. | |
Rect2D< double > | map_range_ |
The minimum and maximum UTM range in the map. | |
float | map_ground_height_offset_ = 0.0f |
Velodyne's height to the ground. | |
bool | map_is_compression_ = false |
Enable the compression. | |
std::string | map_folder_path_ = "" |
The map folder path. | |
std::vector< std::string > | map_datasets_ |
The datasets that contributed to the map. | |
std::map< std::string, std::string > | node_md5_map_ |
The map structure to store map node file name and its md5. | |
std::string | coordinate_type_ = "" |
Protected 成员函数 | |
virtual bool | CreateXml (boost::property_tree::ptree *config) const |
Create the XML structure. | |
virtual bool | LoadXml (boost::property_tree::ptree *config) |
Load the map options from a XML structure. | |
![]() | |
virtual bool | LoadXml (const boost::property_tree::ptree &config) |
Load the map options from a XML structure. | |
The options of the reflectance map.
在文件 ndt_map_config.h 第 29 行定义.
|
explicit |
The constructor gives the default map settings.
在文件 ndt_map_config.cc 第 27 行定义.
|
inline |
在文件 ndt_map_config.h 第 33 行定义.
|
protectedvirtual |
Create the XML structure.
重载 apollo::localization::msf::pyramid_map::BaseMapConfig .
在文件 ndt_map_config.cc 第 52 行定义.
|
protectedvirtual |
Load the map options from a XML structure.
在文件 ndt_map_config.cc 第 62 行定义.
void apollo::localization::msf::pyramid_map::NdtMapConfig::SetMultiResolutionsZ | ( | ) |
Set multi resolutions.
在文件 ndt_map_config.cc 第 38 行定义.
void apollo::localization::msf::pyramid_map::NdtMapConfig::SetSingleResolutionZ | ( | float | resolution = 1.0f | ) |
Set single resolutions.
在文件 ndt_map_config.cc 第 33 行定义.
bool apollo::localization::msf::pyramid_map::NdtMapConfig::map_is_compression_ |
Enable the compression.
在文件 ndt_map_config.h 第 44 行定义.
std::vector<float> apollo::localization::msf::pyramid_map::NdtMapConfig::map_resolutions_z_ |
The resolution of z-axis.
在文件 ndt_map_config.h 第 41 行定义.