Apollo  6.0
Open source self driving car software
Namespaces | Classes | Typedefs | Enumerations | Functions | Variables
apollo::hdmap Namespace Reference

apollo::hdmap More...

Namespaces

 adapter
 

Classes

class  Alignment
 
class  AlignmentAgent
 
struct  BadOrGoodPoseInfo
 
struct  Centroid3D
 
class  ChannelChecker
 
class  ChannelVerify
 
class  ChannelVerifyAgent
 
class  ClearAreaInfo
 
class  Client
 
class  CrosswalkInfo
 
struct  CyberRecordChannel
 
struct  CyberRecordInfo
 
class  EightRoute
 
class  ExceptionHandler
 
struct  FramePose
 
struct  GridMeta
 
class  HDMap
 High-precision map loader interface. More...
 
class  HDMapImpl
 High-precision map loader implement. More...
 
class  HDMapUtil
 
class  InterpolatedIndex
 
struct  JsonConf
 
struct  JunctionBoundary
 
class  JunctionInfo
 
class  LaneInfo
 
struct  LaneSegment
 
struct  LaneWaypoint
 
class  LapsChecker
 
struct  LineBoundary
 
class  LoopsChecker
 
class  LoopsVerifyAgent
 
class  Mapdatachecker
 
class  MapDataCheckerAgent
 
class  MapDataCheckerCyberNode
 
class  MapPathPoint
 
class  ObjectWithAABox
 
struct  OneRecordChannelCheckResult
 
class  OverlapInfo
 
class  ParkingSpaceInfo
 
class  Path
 
class  PathApproximation
 
struct  PathOverlap
 
class  PJTransformer
 
class  PNCJunctionInfo
 
class  PncMap
 
struct  Point3d
 
struct  PolygonBoundary
 
struct  PolygonRoi
 
class  PoseCollection
 
class  PoseCollectionAgent
 
class  RoadInfo
 
struct  RoadRoi
 
struct  RoiAttribute
 
class  RouteSegments
 class RouteSegments More...
 
class  RSUInfo
 
class  SignalInfo
 
class  SpeedBumpInfo
 
class  StaticAlign
 
class  StopSignInfo
 
class  YieldSignInfo
 

Typedefs

using LaneSegmentBox = ObjectWithAABox< LaneInfo, apollo::common::math::LineSegment2d >
 
using LaneSegmentKDTree = apollo::common::math::AABoxKDTree2d< LaneSegmentBox >
 
using OverlapInfoConstPtr = std::shared_ptr< const OverlapInfo >
 
using LaneInfoConstPtr = std::shared_ptr< const LaneInfo >
 
using JunctionInfoConstPtr = std::shared_ptr< const JunctionInfo >
 
using SignalInfoConstPtr = std::shared_ptr< const SignalInfo >
 
using CrosswalkInfoConstPtr = std::shared_ptr< const CrosswalkInfo >
 
using StopSignInfoConstPtr = std::shared_ptr< const StopSignInfo >
 
using YieldSignInfoConstPtr = std::shared_ptr< const YieldSignInfo >
 
using ClearAreaInfoConstPtr = std::shared_ptr< const ClearAreaInfo >
 
using SpeedBumpInfoConstPtr = std::shared_ptr< const SpeedBumpInfo >
 
using RoadInfoConstPtr = std::shared_ptr< const RoadInfo >
 
using ParkingSpaceInfoConstPtr = std::shared_ptr< const ParkingSpaceInfo >
 
using RoadROIBoundaryPtr = std::shared_ptr< RoadROIBoundary >
 
using PolygonRoiPtr = std::shared_ptr< PolygonRoi >
 
using RoadRoiPtr = std::shared_ptr< RoadRoi >
 
using PNCJunctionInfoConstPtr = std::shared_ptr< const PNCJunctionInfo >
 
using RSUInfoConstPtr = std::shared_ptr< const RSUInfo >
 
using JunctionPolygonBox = ObjectWithAABox< JunctionInfo, apollo::common::math::Polygon2d >
 
using JunctionPolygonKDTree = apollo::common::math::AABoxKDTree2d< JunctionPolygonBox >
 
using SignalSegmentBox = ObjectWithAABox< SignalInfo, apollo::common::math::LineSegment2d >
 
using SignalSegmentKDTree = apollo::common::math::AABoxKDTree2d< SignalSegmentBox >
 
using CrosswalkPolygonBox = ObjectWithAABox< CrosswalkInfo, apollo::common::math::Polygon2d >
 
using CrosswalkPolygonKDTree = apollo::common::math::AABoxKDTree2d< CrosswalkPolygonBox >
 
using StopSignSegmentBox = ObjectWithAABox< StopSignInfo, apollo::common::math::LineSegment2d >
 
using StopSignSegmentKDTree = apollo::common::math::AABoxKDTree2d< StopSignSegmentBox >
 
using YieldSignSegmentBox = ObjectWithAABox< YieldSignInfo, apollo::common::math::LineSegment2d >
 
using YieldSignSegmentKDTree = apollo::common::math::AABoxKDTree2d< YieldSignSegmentBox >
 
using ClearAreaPolygonBox = ObjectWithAABox< ClearAreaInfo, apollo::common::math::Polygon2d >
 
using ClearAreaPolygonKDTree = apollo::common::math::AABoxKDTree2d< ClearAreaPolygonBox >
 
using SpeedBumpSegmentBox = ObjectWithAABox< SpeedBumpInfo, apollo::common::math::LineSegment2d >
 
using SpeedBumpSegmentKDTree = apollo::common::math::AABoxKDTree2d< SpeedBumpSegmentBox >
 
using ParkingSpacePolygonBox = ObjectWithAABox< ParkingSpaceInfo, apollo::common::math::Polygon2d >
 
using ParkingSpacePolygonKDTree = apollo::common::math::AABoxKDTree2d< ParkingSpacePolygonBox >
 
using PNCJunctionPolygonBox = ObjectWithAABox< PNCJunctionInfo, apollo::common::math::Polygon2d >
 
using PNCJunctionPolygonKDTree = apollo::common::math::AABoxKDTree2d< PNCJunctionPolygonBox >
 
using JunctionBoundaryPtr = std::shared_ptr< JunctionBoundary >
 
typedef struct apollo::hdmap::BadOrGoodPoseInfo BadOrGoodPoseInfo
 
typedef State AlignmentAgentState
 
typedef std::shared_ptr< std::vector< OneRecordChannelCheckResult > > CheckedResult
 
typedef std::vector< OneRecordChannelCheckResult >::iterator CheckResultIterator
 
typedef unsigned char uchar
 
typedef std::vector< GridMetaGrid
 
typedef struct apollo::hdmap::Point3d Point3d
 
typedef struct apollo::hdmap::Centroid3D Centroid3D
 

Enumerations

enum  PolygonType { PolygonType::JUNCTION_POLYGON = 0, PolygonType::PARKINGSPACE_POLYGON = 1, PolygonType::ROAD_HOLE_POLYGON = 2 }
 
enum  ChannelVerifyAgentState { ChannelVerifyAgentState::IDLE, ChannelVerifyAgentState::RUNNING }
 
enum  State { State::IDLE, State::RUNNING }
 
enum  LoopsVerifyAgentState { LoopsVerifyAgentState::IDLE, LoopsVerifyAgentState::RUNNING }
 
enum  PoseCollectionState { PoseCollectionState::IDLE, PoseCollectionState::RUNNING }
 
enum  StaticAlignDetectMethod { StaticAlignDetectMethod::RANSAC, StaticAlignDetectMethod::DYNAMIC_CENTROID }
 

Functions

std::string BaseMapFile ()
 get base map file path from flags. More...
 
std::string SimMapFile ()
 get simulation map file path from flags. More...
 
std::string RoutingMapFile ()
 get routing map file path from flags. More...
 
std::string EndWayPointFile ()
 get end way point file path from flags. More...
 
std::string DefaultRoutingFile ()
 get default routing file path from flags. More...
 
apollo::hdmap::Id MakeMapId (const std::string &id)
 create a Map ID given a string. More...
 
std::unique_ptr< HDMapCreateMap (const std::string &map_file_path)
 
LaneBoundaryType::Type LeftBoundaryType (const LaneWaypoint &waypoint)
 get left boundary type at a waypoint. More...
 
LaneBoundaryType::Type RightBoundaryType (const LaneWaypoint &waypoint)
 get left boundary type at a waypoint. More...
 
LaneWaypoint LeftNeighborWaypoint (const LaneWaypoint &waypoint)
 get left neighbor lane waypoint. If not exist, the Waypoint.lane will be null. More...
 
LaneWaypoint RightNeighborWaypoint (const LaneWaypoint &waypoint)
 get left neighbor lane waypoint. If not exist, the Waypoint.lane will be null. More...
 
std::vector< std::string > GetFileLines (const std::string &path)
 
double UnixNow ()
 
 DECLARE_string (stage)
 
 DECLARE_string (cmd)
 
 DECLARE_string (record_path)
 
 DECLARE_string (client_conf_yaml)
 
std::shared_ptr< JsonConfParseJson (std::string conf_path)
 
double GetYaw (double from_x, double from_y, double to_x, double to_y)
 
 DECLARE_string (map_datachecker_host)
 
 DECLARE_string (map_datachecker_port)
 
 DECLARE_string (topic_bestgnsspos)
 
 DECLARE_string (conf_json)
 

Variables

constexpr double kRADIANS_TO_DEGREES = 180.0 / M_PI
 
constexpr double kDEGRESS_TO_RADIANS = M_PI / 180.0
 

Detailed Description

apollo::hdmap

Typedef Documentation

◆ AlignmentAgentState

◆ BadOrGoodPoseInfo

◆ Centroid3D

◆ CheckedResult

typedef std::shared_ptr<std::vector<OneRecordChannelCheckResult> > apollo::hdmap::CheckedResult

◆ CheckResultIterator

◆ ClearAreaInfoConstPtr

using apollo::hdmap::ClearAreaInfoConstPtr = typedef std::shared_ptr<const ClearAreaInfo>

◆ ClearAreaPolygonBox

◆ ClearAreaPolygonKDTree

◆ CrosswalkInfoConstPtr

using apollo::hdmap::CrosswalkInfoConstPtr = typedef std::shared_ptr<const CrosswalkInfo>

◆ CrosswalkPolygonBox

◆ CrosswalkPolygonKDTree

◆ Grid

typedef std::vector<GridMeta> apollo::hdmap::Grid

◆ JunctionBoundaryPtr

using apollo::hdmap::JunctionBoundaryPtr = typedef std::shared_ptr<JunctionBoundary>

◆ JunctionInfoConstPtr

using apollo::hdmap::JunctionInfoConstPtr = typedef std::shared_ptr<const JunctionInfo>

◆ JunctionPolygonBox

◆ JunctionPolygonKDTree

◆ LaneInfoConstPtr

using apollo::hdmap::LaneInfoConstPtr = typedef std::shared_ptr<const LaneInfo>

◆ LaneSegmentBox

◆ LaneSegmentKDTree

◆ OverlapInfoConstPtr

using apollo::hdmap::OverlapInfoConstPtr = typedef std::shared_ptr<const OverlapInfo>

◆ ParkingSpaceInfoConstPtr

using apollo::hdmap::ParkingSpaceInfoConstPtr = typedef std::shared_ptr<const ParkingSpaceInfo>

◆ ParkingSpacePolygonBox

◆ ParkingSpacePolygonKDTree

◆ PNCJunctionInfoConstPtr

using apollo::hdmap::PNCJunctionInfoConstPtr = typedef std::shared_ptr<const PNCJunctionInfo>

◆ PNCJunctionPolygonBox

◆ PNCJunctionPolygonKDTree

◆ Point3d

◆ PolygonRoiPtr

using apollo::hdmap::PolygonRoiPtr = typedef std::shared_ptr<PolygonRoi>

◆ RoadInfoConstPtr

using apollo::hdmap::RoadInfoConstPtr = typedef std::shared_ptr<const RoadInfo>

◆ RoadROIBoundaryPtr

using apollo::hdmap::RoadROIBoundaryPtr = typedef std::shared_ptr<RoadROIBoundary>

◆ RoadRoiPtr

using apollo::hdmap::RoadRoiPtr = typedef std::shared_ptr<RoadRoi>

◆ RSUInfoConstPtr

using apollo::hdmap::RSUInfoConstPtr = typedef std::shared_ptr<const RSUInfo>

◆ SignalInfoConstPtr

using apollo::hdmap::SignalInfoConstPtr = typedef std::shared_ptr<const SignalInfo>

◆ SignalSegmentBox

◆ SignalSegmentKDTree

◆ SpeedBumpInfoConstPtr

using apollo::hdmap::SpeedBumpInfoConstPtr = typedef std::shared_ptr<const SpeedBumpInfo>

◆ SpeedBumpSegmentBox

◆ SpeedBumpSegmentKDTree

◆ StopSignInfoConstPtr

using apollo::hdmap::StopSignInfoConstPtr = typedef std::shared_ptr<const StopSignInfo>

◆ StopSignSegmentBox

◆ StopSignSegmentKDTree

◆ uchar

typedef unsigned char apollo::hdmap::uchar

◆ YieldSignInfoConstPtr

using apollo::hdmap::YieldSignInfoConstPtr = typedef std::shared_ptr<const YieldSignInfo>

◆ YieldSignSegmentBox

◆ YieldSignSegmentKDTree

Enumeration Type Documentation

◆ ChannelVerifyAgentState

Enumerator
IDLE 
RUNNING 

◆ LoopsVerifyAgentState

Enumerator
IDLE 
RUNNING 

◆ PolygonType

Enumerator
JUNCTION_POLYGON 
PARKINGSPACE_POLYGON 
ROAD_HOLE_POLYGON 

◆ PoseCollectionState

Enumerator
IDLE 
RUNNING 

◆ State

enum apollo::hdmap::State
strong
Enumerator
IDLE 
RUNNING 

◆ StaticAlignDetectMethod

Enumerator
RANSAC 
DYNAMIC_CENTROID 

Function Documentation

◆ BaseMapFile()

std::string apollo::hdmap::BaseMapFile ( )

get base map file path from flags.

Returns
base map path

◆ CreateMap()

std::unique_ptr<HDMap> apollo::hdmap::CreateMap ( const std::string &  map_file_path)

◆ DECLARE_string() [1/8]

apollo::hdmap::DECLARE_string ( stage  )

◆ DECLARE_string() [2/8]

apollo::hdmap::DECLARE_string ( cmd  )

◆ DECLARE_string() [3/8]

apollo::hdmap::DECLARE_string ( record_path  )

◆ DECLARE_string() [4/8]

apollo::hdmap::DECLARE_string ( map_datachecker_host  )

◆ DECLARE_string() [5/8]

apollo::hdmap::DECLARE_string ( client_conf_yaml  )

◆ DECLARE_string() [6/8]

apollo::hdmap::DECLARE_string ( map_datachecker_port  )

◆ DECLARE_string() [7/8]

apollo::hdmap::DECLARE_string ( topic_bestgnsspos  )

◆ DECLARE_string() [8/8]

apollo::hdmap::DECLARE_string ( conf_json  )

◆ DefaultRoutingFile()

std::string apollo::hdmap::DefaultRoutingFile ( )
inline

get default routing file path from flags.

Returns
default routing points file path

◆ EndWayPointFile()

std::string apollo::hdmap::EndWayPointFile ( )
inline

get end way point file path from flags.

Returns
end way point file path

◆ GetFileLines()

std::vector<std::string> apollo::hdmap::GetFileLines ( const std::string &  path)

◆ GetYaw()

double apollo::hdmap::GetYaw ( double  from_x,
double  from_y,
double  to_x,
double  to_y 
)
inline

◆ LeftBoundaryType()

LaneBoundaryType::Type apollo::hdmap::LeftBoundaryType ( const LaneWaypoint waypoint)

get left boundary type at a waypoint.

◆ LeftNeighborWaypoint()

LaneWaypoint apollo::hdmap::LeftNeighborWaypoint ( const LaneWaypoint waypoint)

get left neighbor lane waypoint. If not exist, the Waypoint.lane will be null.

◆ MakeMapId()

apollo::hdmap::Id apollo::hdmap::MakeMapId ( const std::string &  id)
inline

create a Map ID given a string.

Parameters
ida string id
Returns
a Map ID instance

◆ ParseJson()

std::shared_ptr<JsonConf> apollo::hdmap::ParseJson ( std::string  conf_path)

◆ RightBoundaryType()

LaneBoundaryType::Type apollo::hdmap::RightBoundaryType ( const LaneWaypoint waypoint)

get left boundary type at a waypoint.

◆ RightNeighborWaypoint()

LaneWaypoint apollo::hdmap::RightNeighborWaypoint ( const LaneWaypoint waypoint)

get left neighbor lane waypoint. If not exist, the Waypoint.lane will be null.

◆ RoutingMapFile()

std::string apollo::hdmap::RoutingMapFile ( )

get routing map file path from flags.

Returns
routing map path

◆ SimMapFile()

std::string apollo::hdmap::SimMapFile ( )

get simulation map file path from flags.

Returns
simulation map path

◆ UnixNow()

double apollo::hdmap::UnixNow ( )
inline

Variable Documentation

◆ kDEGRESS_TO_RADIANS

constexpr double apollo::hdmap::kDEGRESS_TO_RADIANS = M_PI / 180.0

◆ kRADIANS_TO_DEGREES

constexpr double apollo::hdmap::kRADIANS_TO_DEGREES = 180.0 / M_PI