25 namespace localization {
40 unsigned char intensity);
47 unsigned char intensity);
52 unsigned int resolution_id, std::vector<unsigned char>* values);
58 unsigned int resolution_id,
59 std::vector<unsigned char>* values);
64 unsigned int resolution_id, std::vector<float>* vars);
70 unsigned int resolution_id, std::vector<float>* vars);
75 unsigned int resolution_id, std::vector<float>* alts);
81 unsigned int resolution_id, std::vector<float>* alts);
86 unsigned int resolution_id, std::vector<float>* alt_vars);
92 unsigned int resolution_id, std::vector<float>* alt_vars);
95 unsigned int resolution_id, std::vector<unsigned int>* counts);
98 unsigned int resolution_id,
99 std::vector<unsigned int>* counts);
103 unsigned int resolution_id);
108 unsigned int resolution_id);
112 unsigned int resolution_id);
117 unsigned int resolution_id);
121 unsigned int resolution_id);
126 unsigned int resolution_id);
130 unsigned int resolution_id);
135 unsigned int resolution_id);
138 unsigned int resolution_id);
141 unsigned int resolution_id);
152 unsigned int resolution_id,
unsigned int zone_id);
159 unsigned int resolution_id,
unsigned int zone_id,
160 int filter_size_x,
int filter_size_y);
The data structure of the base map.
Definition: base_map.h:35
void SetValue(const Eigen::Vector3d &coordinate, int zone_id, unsigned char intensity)
Set the value of a pixel in the map, including all the resolution levels.
PlanningContext is the runtime context in planning. It is persistent across multiple frames...
Definition: atomic_hash_map.h:25
Eigen::Vector3d Vector3d
Definition: frame_transform.h:27
void SetValueLayer(const Eigen::Vector3d &coordinate, int zone_id, unsigned char intensity)
Set the vlaue of a pixel in a layer in the map node.
void GetAltSafe(const Eigen::Vector3d &coordinate, int zone_id, unsigned int resolution_id, std::vector< float > *alts)
Given the 3D global coordinate, this function loads the corresponding map node in the cache thread sa...
void GetAltVarSafe(const Eigen::Vector3d &coordinate, int zone_id, unsigned int resolution_id, std::vector< float > *alt_vars)
Given the 3D global coordinate, this function loads the corresponding map node in the cache thread sa...
void SetGroundHeightOffset(double height_offset)
Set the ground height offset.
void GetCount(const Eigen::Vector3d &coordinate, int zone_id, unsigned int resolution_id, std::vector< unsigned int > *counts)
Get the number of samples in the map cell.
LosslessMap(LosslessMapConfig *config)
void GetAltVar(const Eigen::Vector3d &coordinate, int zone_id, unsigned int resolution_id, std::vector< float > *alt_vars)
Given the 3D global coordinate, this function loads the corresponding map node in the cache and retur...
void GetValueSafe(const Eigen::Vector3d &coordinate, int zone_id, unsigned int resolution_id, std::vector< unsigned char > *values)
Given the 3D global coordinate, this function loads the corresponding map node in the cache thread sa...
The options of the reflectance map.
Definition: lossless_map_config.h:28
void GetAlt(const Eigen::Vector3d &coordinate, int zone_id, unsigned int resolution_id, std::vector< float > *alts)
Given the 3D global coordinate, this function loads the corresponding map node in the cache and retur...
virtual bool LoadMapArea(const Eigen::Vector3d &seed_pt3d, unsigned int resolution_id, unsigned int zone_id, int filter_size_x, int filter_size_y)
Load map nodes for the location calculate of this frame. If the forecasts are correct in last frame...
virtual void PreloadMapArea(const Eigen::Vector3d &location, const Eigen::Vector3d &trans_diff, unsigned int resolution_id, unsigned int zone_id)
Preload map nodes for the next frame location calculation. It will forecasts the nodes by the directi...
void GetValue(const Eigen::Vector3d &coordinate, int zone_id, unsigned int resolution_id, std::vector< unsigned char > *values)
Given the 3D global coordinate, this function loads the corresponding map node in the cache and retur...
Definition: lossless_map.h:28
void GetCountSafe(const Eigen::Vector3d &coordinate, int zone_id, unsigned int resolution_id, std::vector< unsigned int > *counts)
Get the number of samples in the map cell thread safely.
void GetVarSafe(const Eigen::Vector3d &coordinate, int zone_id, unsigned int resolution_id, std::vector< float > *vars)
Given the 3D global coordinate, this function loads the corresponding map node in the cache thread sa...
void GetVar(const Eigen::Vector3d &coordinate, int zone_id, unsigned int resolution_id, std::vector< float > *vars)
Given the 3D global coordinate, this function loads the corresponding map node in the cache and retur...