Apollo
6.0
Open source self driving car software
|
The options of the reflectance map. More...
#include <ndt_map_config.h>
Public Member Functions | |
NdtMapConfig (std::string map_version="0.1") | |
The constructor gives the default map settings. More... | |
~NdtMapConfig () | |
void | SetSingleResolutionZ (float resolution=1.0f) |
Set single resolutions. More... | |
void | SetMultiResolutionsZ () |
Set multi resolutions. More... | |
![]() | |
BaseMapConfig (const std::string &map_version="0.1") | |
The constructor gives the default map settings. More... | |
virtual | ~BaseMapConfig () |
The deconstructor. More... | |
bool | Save (const std::string &file_path) |
Save the map option to a XML file. More... | |
bool | Load (const std::string &file_path) |
Load the map option from a XML file. More... | |
void | SetMapVersion (const std::string &map_version) |
Set map_version. More... | |
void | SetMapNodeSize (unsigned int size_x, unsigned int size_y) |
Set map_node_size. More... | |
void | SetGroundHeightOffset (float map_ground_height_offset) |
Set map_ground_height_offset. More... | |
void | SetIsCompression (bool map_is_compression) |
Set map_is_compression. More... | |
void | ResizeMapRange () |
Resize map range by range and resolutions. More... | |
void | SetSingleResolutions (float resolution=0.125) |
Set single resolutions. More... | |
void | SetMultiResolutions () |
Set multi resolutions. More... | |
void | SetNodeMd5Map (const std::map< std::string, std::string > &node_md5_map) |
Set node_md5_map. More... | |
void | AddNodeMd5 (const std::string &node_path, const std::string &md5) |
Add a node md5 pair. More... | |
MapVersion | GetMapVersion () const |
Get map version. More... | |
Public Attributes | |
std::vector< float > | map_resolutions_z_ |
The resolution of z-axis. More... | |
bool | map_is_compression_ |
Enable the compression. More... | |
![]() | |
std::string | map_version_ = "" |
The version of map. More... | |
std::vector< float > | map_resolutions_ |
The pixel resolutions in the map in meters. More... | |
unsigned int | map_node_size_x_ = 0 |
The map node size in pixels. More... | |
unsigned int | map_node_size_y_ = 0 |
The map node size in pixels. More... | |
Rect2D< double > | 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. More... | |
float | map_ground_height_offset_ = 0.0f |
Velodyne's height to the ground. Estimate the Velodyne's height based on the ground height. More... | |
bool | map_is_compression_ = false |
Enable the compression. More... | |
std::string | map_folder_path_ = "" |
The map folder path. More... | |
std::vector< std::string > | map_datasets_ |
The datasets that contributed to the map. More... | |
std::map< std::string, std::string > | 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. More... | |
std::string | coordinate_type_ = "" |
Protected Member Functions | |
virtual bool | CreateXml (boost::property_tree::ptree *config) const |
Create the XML structure. More... | |
virtual bool | LoadXml (boost::property_tree::ptree *config) |
Load the map options from a XML structure. More... | |
![]() | |
virtual bool | LoadXml (const boost::property_tree::ptree &config) |
Load the map options from a XML structure. More... | |
The options of the reflectance map.
|
explicit |
The constructor gives the default map settings.
|
inline |
|
protectedvirtual |
Create the XML structure.
Reimplemented from apollo::localization::msf::pyramid_map::BaseMapConfig.
|
protectedvirtual |
Load the map options from a XML structure.
void apollo::localization::msf::pyramid_map::NdtMapConfig::SetMultiResolutionsZ | ( | ) |
Set multi resolutions.
void apollo::localization::msf::pyramid_map::NdtMapConfig::SetSingleResolutionZ | ( | float | resolution = 1.0f | ) |
Set single resolutions.
bool apollo::localization::msf::pyramid_map::NdtMapConfig::map_is_compression_ |
Enable the compression.
std::vector<float> apollo::localization::msf::pyramid_map::NdtMapConfig::map_resolutions_z_ |
The resolution of z-axis.