|
Apollo 10.0
自动驾驶开放平台
|
#include <pyramid_map_config.h>
Public 成员函数 | |
| PyramidMapConfig (const std::string &map_version) | |
| ~PyramidMapConfig () | |
Public 成员函数 继承自 apollo::localization::msf::pyramid_map::BaseMapConfig | |
| 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 属性 | |
| bool | has_intensity_ = true |
| bool | has_intensity_var_ = true |
| bool | has_altitude_ = true |
| bool | has_altitude_var_ = true |
| bool | has_ground_altitude_ = true |
| bool | has_count_ = true |
| bool | has_ground_count_ = true |
| unsigned int | resolution_num_ = 1 |
| unsigned int | resolution_ratio_ = 2 |
| std::string | coordinate_type_ = "" |
| coordinate type. | |
| float | max_intensity_value_ = 0.0 |
| During the visualization (for example, Call the function get_image() of map node layer), the maximum intensity value in the image. | |
| float | max_intensity_var_value_ = 0.0 |
| During the visualization (for example, Call the function get_image() of map node layer), the maximum intensity value in the image. | |
Public 属性 继承自 apollo::localization::msf::pyramid_map::BaseMapConfig | |
| 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. | |
在文件 pyramid_map_config.h 第 26 行定义.
|
explicit |
在文件 pyramid_map_config.cc 第 25 行定义.
| apollo::localization::msf::pyramid_map::PyramidMapConfig::~PyramidMapConfig | ( | ) |
在文件 pyramid_map_config.cc 第 28 行定义.
|
protectedvirtual |
Create the XML structure.
重载 apollo::localization::msf::pyramid_map::BaseMapConfig .
在文件 pyramid_map_config.cc 第 30 行定义.
|
protectedvirtual |
Load the map options from a XML structure.
重载 apollo::localization::msf::pyramid_map::BaseMapConfig .
在文件 pyramid_map_config.cc 第 52 行定义.
| std::string apollo::localization::msf::pyramid_map::PyramidMapConfig::coordinate_type_ = "" |
coordinate type.
在文件 pyramid_map_config.h 第 41 行定义.
| bool apollo::localization::msf::pyramid_map::PyramidMapConfig::has_altitude_ = true |
在文件 pyramid_map_config.h 第 33 行定义.
| bool apollo::localization::msf::pyramid_map::PyramidMapConfig::has_altitude_var_ = true |
在文件 pyramid_map_config.h 第 34 行定义.
| bool apollo::localization::msf::pyramid_map::PyramidMapConfig::has_count_ = true |
在文件 pyramid_map_config.h 第 36 行定义.
| bool apollo::localization::msf::pyramid_map::PyramidMapConfig::has_ground_altitude_ = true |
在文件 pyramid_map_config.h 第 35 行定义.
| bool apollo::localization::msf::pyramid_map::PyramidMapConfig::has_ground_count_ = true |
在文件 pyramid_map_config.h 第 37 行定义.
| bool apollo::localization::msf::pyramid_map::PyramidMapConfig::has_intensity_ = true |
在文件 pyramid_map_config.h 第 31 行定义.
| bool apollo::localization::msf::pyramid_map::PyramidMapConfig::has_intensity_var_ = true |
在文件 pyramid_map_config.h 第 32 行定义.
| float apollo::localization::msf::pyramid_map::PyramidMapConfig::max_intensity_value_ = 0.0 |
During the visualization (for example, Call the function get_image() of map node layer), the maximum intensity value in the image.
在文件 pyramid_map_config.h 第 44 行定义.
| float apollo::localization::msf::pyramid_map::PyramidMapConfig::max_intensity_var_value_ = 0.0 |
During the visualization (for example, Call the function get_image() of map node layer), the maximum intensity value in the image.
在文件 pyramid_map_config.h 第 48 行定义.
| unsigned int apollo::localization::msf::pyramid_map::PyramidMapConfig::resolution_num_ = 1 |
在文件 pyramid_map_config.h 第 38 行定义.
| unsigned int apollo::localization::msf::pyramid_map::PyramidMapConfig::resolution_ratio_ = 2 |
在文件 pyramid_map_config.h 第 39 行定义.