Apollo  6.0
Open source self driving car software
Public Member Functions | Public Attributes | Protected Member Functions | List of all members
apollo::localization::msf::NdtMapConfig Class Reference

The options of the reflectance map. More...

#include <ndt_map_config.h>

Inheritance diagram for apollo::localization::msf::NdtMapConfig:
Inheritance graph
Collaboration diagram for apollo::localization::msf::NdtMapConfig:
Collaboration graph

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...
 
- Public Member Functions inherited from apollo::localization::msf::BaseMapConfig
 BaseMapConfig (std::string map_version="0.1")
 The constructor gives the default map settings. 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 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...
 

Public Attributes

std::vector< float > map_resolutions_z_
 The resolution of z-axis. More...
 
bool map_is_compression_
 Enable the compression. More...
 
- Public Attributes inherited from apollo::localization::msf::BaseMapConfig
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_
 The map node size in pixels. More...
 
unsigned int map_node_size_y_
 The map node size in pixels. More...
 
Rect2D< double > map_range_
 The minimum and maximum UTM range in the map. More...
 
float map_ground_height_offset_
 Velodyne's height to the ground. Estimate the Velodyne's height based on the ground height. More...
 
bool map_is_compression_
 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...
 

Protected Member Functions

virtual void CreateXml (boost::property_tree::ptree *config) const
 Create the XML structure. More...
 
virtual void LoadXml (boost::property_tree::ptree *config)
 Load the map options from a XML structure. More...
 
- Protected Member Functions inherited from apollo::localization::msf::BaseMapConfig
virtual void LoadXml (const boost::property_tree::ptree &config)
 Load the map options from a XML structure. More...
 

Detailed Description

The options of the reflectance map.

Constructor & Destructor Documentation

◆ NdtMapConfig()

apollo::localization::msf::NdtMapConfig::NdtMapConfig ( std::string  map_version = "0.1")
explicit

The constructor gives the default map settings.

◆ ~NdtMapConfig()

apollo::localization::msf::NdtMapConfig::~NdtMapConfig ( )
inline

Member Function Documentation

◆ CreateXml()

virtual void apollo::localization::msf::NdtMapConfig::CreateXml ( boost::property_tree::ptree *  config) const
protectedvirtual

Create the XML structure.

Reimplemented from apollo::localization::msf::BaseMapConfig.

◆ LoadXml()

virtual void apollo::localization::msf::NdtMapConfig::LoadXml ( boost::property_tree::ptree *  config)
protectedvirtual

Load the map options from a XML structure.

◆ SetMultiResolutionsZ()

void apollo::localization::msf::NdtMapConfig::SetMultiResolutionsZ ( )

Set multi resolutions.

◆ SetSingleResolutionZ()

void apollo::localization::msf::NdtMapConfig::SetSingleResolutionZ ( float  resolution = 1.0f)

Set single resolutions.

Member Data Documentation

◆ map_is_compression_

bool apollo::localization::msf::NdtMapConfig::map_is_compression_

Enable the compression.

◆ map_resolutions_z_

std::vector<float> apollo::localization::msf::NdtMapConfig::map_resolutions_z_

The resolution of z-axis.


The documentation for this class was generated from the following file: