22#include <boost/property_tree/xml_parser.hpp>
28namespace localization {
37 bool Save(
const std::string file_path);
39 bool Load(
const std::string file_path);
75 virtual void CreateXml(boost::property_tree::ptree* config)
const;
77 virtual void LoadXml(
const boost::property_tree::ptree& config);
The options of the reflectance map.
std::vector< float > map_resolutions_
The pixel resolutions in the map in meters.
void SetSingleResolutions(float resolution=0.125)
Set single resolutions.
std::vector< std::string > map_datasets_
The datasets that contributed to the map.
bool Load(const std::string file_path)
Load the map option from a XML file.
std::string map_version_
The version of map.
bool map_is_compression_
Enable the compression.
void ResizeMapRange()
Resize map range by range and resolutions.
float map_ground_height_offset_
Velodyne's height to the ground.
virtual void CreateXml(boost::property_tree::ptree *config) const
Create the XML structure.
std::string map_folder_path_
The map folder path.
void SetMultiResolutions()
Set multi resolutions.
virtual void LoadXml(const boost::property_tree::ptree &config)
Load the map options from a XML structure.
Rect2D< double > map_range_
The minimum and maximum UTM range in the map.
bool Save(const std::string file_path)
Save the map option to a XML file.
unsigned int map_node_size_y_
The map node size in pixels.
unsigned int map_node_size_x_
The map node size in pixels.