The options of the reflectance map.
More...
#include <base_map_config.h>
|
virtual bool | CreateXml (boost::property_tree::ptree *config) const |
| Create the 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.
◆ BaseMapConfig()
apollo::localization::msf::pyramid_map::BaseMapConfig::BaseMapConfig |
( |
const std::string & |
map_version = "0.1" | ) |
|
|
explicit |
The constructor gives the default map settings.
◆ ~BaseMapConfig()
virtual apollo::localization::msf::pyramid_map::BaseMapConfig::~BaseMapConfig |
( |
| ) |
|
|
virtual |
◆ AddNodeMd5()
void apollo::localization::msf::pyramid_map::BaseMapConfig::AddNodeMd5 |
( |
const std::string & |
node_path, |
|
|
const std::string & |
md5 |
|
) |
| |
◆ CreateXml()
virtual bool apollo::localization::msf::pyramid_map::BaseMapConfig::CreateXml |
( |
boost::property_tree::ptree * |
config | ) |
const |
|
protectedvirtual |
◆ GetMapVersion()
MapVersion apollo::localization::msf::pyramid_map::BaseMapConfig::GetMapVersion |
( |
| ) |
const |
◆ Load()
bool apollo::localization::msf::pyramid_map::BaseMapConfig::Load |
( |
const std::string & |
file_path | ) |
|
Load the map option from a XML file.
◆ LoadXml()
virtual bool apollo::localization::msf::pyramid_map::BaseMapConfig::LoadXml |
( |
const boost::property_tree::ptree & |
config | ) |
|
|
protectedvirtual |
◆ ResizeMapRange()
void apollo::localization::msf::pyramid_map::BaseMapConfig::ResizeMapRange |
( |
| ) |
|
Resize map range by range and resolutions.
◆ Save()
bool apollo::localization::msf::pyramid_map::BaseMapConfig::Save |
( |
const std::string & |
file_path | ) |
|
Save the map option to a XML file.
◆ SetGroundHeightOffset()
void apollo::localization::msf::pyramid_map::BaseMapConfig::SetGroundHeightOffset |
( |
float |
map_ground_height_offset | ) |
|
Set map_ground_height_offset.
◆ SetIsCompression()
void apollo::localization::msf::pyramid_map::BaseMapConfig::SetIsCompression |
( |
bool |
map_is_compression | ) |
|
◆ SetMapNodeSize()
void apollo::localization::msf::pyramid_map::BaseMapConfig::SetMapNodeSize |
( |
unsigned int |
size_x, |
|
|
unsigned int |
size_y |
|
) |
| |
◆ SetMapVersion()
void apollo::localization::msf::pyramid_map::BaseMapConfig::SetMapVersion |
( |
const std::string & |
map_version | ) |
|
◆ SetMultiResolutions()
void apollo::localization::msf::pyramid_map::BaseMapConfig::SetMultiResolutions |
( |
| ) |
|
◆ SetNodeMd5Map()
void apollo::localization::msf::pyramid_map::BaseMapConfig::SetNodeMd5Map |
( |
const std::map< std::string, std::string > & |
node_md5_map | ) |
|
◆ SetSingleResolutions()
void apollo::localization::msf::pyramid_map::BaseMapConfig::SetSingleResolutions |
( |
float |
resolution = 0.125 | ) |
|
◆ coordinate_type_
std::string apollo::localization::msf::pyramid_map::BaseMapConfig::coordinate_type_ = "" |
◆ map_datasets_
std::vector<std::string> apollo::localization::msf::pyramid_map::BaseMapConfig::map_datasets_ |
The datasets that contributed to the map.
◆ map_folder_path_
std::string apollo::localization::msf::pyramid_map::BaseMapConfig::map_folder_path_ = "" |
◆ map_ground_height_offset_
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.
◆ map_is_compression_
bool apollo::localization::msf::pyramid_map::BaseMapConfig::map_is_compression_ = false |
◆ map_node_size_x_
unsigned int apollo::localization::msf::pyramid_map::BaseMapConfig::map_node_size_x_ = 0 |
The map node size in pixels.
◆ map_node_size_y_
unsigned int apollo::localization::msf::pyramid_map::BaseMapConfig::map_node_size_y_ = 0 |
The map node size in pixels.
◆ map_range_
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.
◆ map_resolutions_
std::vector<float> apollo::localization::msf::pyramid_map::BaseMapConfig::map_resolutions_ |
The pixel resolutions in the map in meters.
◆ map_version_
std::string apollo::localization::msf::pyramid_map::BaseMapConfig::map_version_ = "" |
◆ node_md5_map_
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.
The documentation for this class was generated from the following file: