25 namespace localization {
27 namespace pyramid_map {
49 unsigned int resolution_id,
int zone_id);
52 unsigned int resolution_id,
int zone_id);
57 unsigned int resolution_id);
61 unsigned int resolution_id);
63 friend std::ostream&
operator<<(std::ostream& cout,
bool operator!=(const MapNodeIndex &index) const
Overload the unequal operator.
PlanningContext is the runtime context in planning. It is persistent across multiple frames...
Definition: atomic_hash_map.h:25
MapNodeIndex()
The constructor.
Eigen::Vector2d Vector2d
Definition: base_map_fwd.h:36
Eigen::Vector3d Vector3d
Definition: frame_transform.h:27
static unsigned int GetMapIndexRangeEast(const BaseMapConfig &option, unsigned int resolution_id)
Get the index range (maximum possible index + 1) in the east direction.
static unsigned int GetMapIndexRangeNorth(const BaseMapConfig &option, unsigned int resolution_id)
Get the index range (maximum possible index + 1) in the north direction.
bool operator<(const MapNodeIndex &index) const
Overload the less than operator.
unsigned int n_
The map node ID at the easting direction.
Definition: base_map_node_index.h:75
unsigned int resolution_id_
The ID of the resolution. Should be less than BaseMapConfig::_map_resolutions.size().
Definition: base_map_node_index.h:68
std::ostream & operator<<(std::ostream &cout, const MapNodeIndex &index)
apollo::localization::msf::pyramid_map::MapNodeIndex MapNodeIndex
Definition: lidar_locator_ndt.h:72
int zone_id_
The zone ID. 1 - 60 and -1 - -60. The positive value is the zone at the north hemisphere.
Definition: base_map_node_index.h:71
static MapNodeIndex GetMapNodeIndex(const BaseMapConfig &option, const Eigen::Vector3d &coordinate, unsigned int resolution_id, int zone_id)
Construct a map node index, given a global coordinate, eigen version.
friend std::ostream & operator<<(std::ostream &cout, const MapNodeIndex &index)
The options of the reflectance map.
Definition: base_map_config.h:42
unsigned int m_
The map node ID at the northing direction.
Definition: base_map_node_index.h:73
bool operator==(const MapNodeIndex &index) const
Overload the equal operator.
Definition: base_map_node_index.h:33
std::string ToString() const