Apollo 10.0
自动驾驶开放平台
|
The options of the reflectance map. 更多...
#include <base_map_config.h>
Public 成员函数 | |
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::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 (const boost::property_tree::ptree &config) |
Load the map options from a XML structure. | |
The options of the reflectance map.
在文件 base_map_config.h 第 42 行定义.
|
explicit |
The constructor gives the default map settings.
在文件 base_map_config.cc 第 29 行定义.
|
virtual |
void apollo::localization::msf::pyramid_map::BaseMapConfig::AddNodeMd5 | ( | const std::string & | node_path, |
const std::string & | md5 | ||
) |
Add a node md5 pair.
在文件 base_map_config.cc 第 252 行定义.
|
protectedvirtual |
Create the XML structure.
被 apollo::localization::msf::pyramid_map::NdtMapConfig , 以及 apollo::localization::msf::pyramid_map::PyramidMapConfig 重载.
在文件 base_map_config.cc 第 66 行定义.
MapVersion apollo::localization::msf::pyramid_map::BaseMapConfig::GetMapVersion | ( | ) | const |
Get map version.
在文件 base_map_config.cc 第 270 行定义.
bool apollo::localization::msf::pyramid_map::BaseMapConfig::Load | ( | const std::string & | file_path | ) |
Load the map option from a XML file.
在文件 base_map_config.cc 第 54 行定义.
|
protectedvirtual |
Load the map options from a XML structure.
被 apollo::localization::msf::pyramid_map::PyramidMapConfig 重载.
在文件 base_map_config.cc 第 98 行定义.
void apollo::localization::msf::pyramid_map::BaseMapConfig::ResizeMapRange | ( | ) |
Resize map range by range and resolutions.
在文件 base_map_config.cc 第 197 行定义.
bool apollo::localization::msf::pyramid_map::BaseMapConfig::Save | ( | const std::string & | file_path | ) |
Save the map option to a XML file.
在文件 base_map_config.cc 第 43 行定义.
void apollo::localization::msf::pyramid_map::BaseMapConfig::SetGroundHeightOffset | ( | float | map_ground_height_offset | ) |
Set map_ground_height_offset.
在文件 base_map_config.cc 第 262 行定义.
void apollo::localization::msf::pyramid_map::BaseMapConfig::SetIsCompression | ( | bool | map_is_compression | ) |
Set map_is_compression.
在文件 base_map_config.cc 第 266 行定义.
void apollo::localization::msf::pyramid_map::BaseMapConfig::SetMapNodeSize | ( | unsigned int | size_x, |
unsigned int | size_y | ||
) |
Set map_node_size.
在文件 base_map_config.cc 第 257 行定义.
void apollo::localization::msf::pyramid_map::BaseMapConfig::SetMapVersion | ( | const std::string & | map_version | ) |
void apollo::localization::msf::pyramid_map::BaseMapConfig::SetMultiResolutions | ( | ) |
Set multi resolutions.
在文件 base_map_config.cc 第 233 行定义.
void apollo::localization::msf::pyramid_map::BaseMapConfig::SetNodeMd5Map | ( | const std::map< std::string, std::string > & | node_md5_map | ) |
void apollo::localization::msf::pyramid_map::BaseMapConfig::SetSingleResolutions | ( | float | resolution = 0.125 | ) |
Set single resolutions.
在文件 base_map_config.cc 第 228 行定义.
std::string apollo::localization::msf::pyramid_map::BaseMapConfig::coordinate_type_ = "" |
在文件 base_map_config.h 第 101 行定义.
std::vector<std::string> apollo::localization::msf::pyramid_map::BaseMapConfig::map_datasets_ |
The datasets that contributed to the map.
在文件 base_map_config.h 第 96 行定义.
std::string apollo::localization::msf::pyramid_map::BaseMapConfig::map_folder_path_ = "" |
The map folder path.
在文件 base_map_config.h 第 94 行定义.
float apollo::localization::msf::pyramid_map::BaseMapConfig::map_ground_height_offset_ = 0.0f |
Velodyne's height to the ground.
Estimate the Velodyne's height based on the ground height.
在文件 base_map_config.h 第 89 行定义.
bool apollo::localization::msf::pyramid_map::BaseMapConfig::map_is_compression_ = false |
Enable the compression.
在文件 base_map_config.h 第 91 行定义.
unsigned int apollo::localization::msf::pyramid_map::BaseMapConfig::map_node_size_x_ = 0 |
The map node size in pixels.
在文件 base_map_config.h 第 78 行定义.
unsigned int apollo::localization::msf::pyramid_map::BaseMapConfig::map_node_size_y_ = 0 |
The map node size in pixels.
在文件 base_map_config.h 第 80 行定义.
Rect2D<double> apollo::localization::msf::pyramid_map::BaseMapConfig::map_range_ |
The minimum and maximum UTM range in the map.
The x direction is the easting in UTM coordinate. The y direction is the northing in UTM coordinate.
在文件 base_map_config.h 第 85 行定义.
std::vector<float> apollo::localization::msf::pyramid_map::BaseMapConfig::map_resolutions_ |
The pixel resolutions in the map in meters.
在文件 base_map_config.h 第 76 行定义.
std::string apollo::localization::msf::pyramid_map::BaseMapConfig::map_version_ = "" |
The version of map.
在文件 base_map_config.h 第 74 行定义.
std::map<std::string, std::string> apollo::localization::msf::pyramid_map::BaseMapConfig::node_md5_map_ |
The map structure to store map node file name and its md5.
key:map node file name; value: md5 of map node file.
在文件 base_map_config.h 第 99 行定义.