Apollo  6.0
Open source self driving car software
Public Member Functions | List of all members
apollo::dreamview::MapService Class Reference

#include <map_service.h>

Collaboration diagram for apollo::dreamview::MapService:
Collaboration graph

Public Member Functions

 MapService (bool use_sim_map=true)
 
double GetXOffset () const
 
double GetYOffset () const
 
void CollectMapElementIds (const apollo::common::PointENU &point, double raidus, MapElementIds *ids) const
 
bool GetPathsFromRouting (const apollo::routing::RoutingResponse &routing, std::vector< apollo::hdmap::Path > *paths) const
 
hdmap::Map RetrieveMapElements (const MapElementIds &ids) const
 
bool GetPoseWithRegardToLane (const double x, const double y, double *theta, double *s) const
 
bool GetStartPoint (apollo::common::PointENU *start_point) const
 
bool ConstructLaneWayPoint (const double x, const double y, routing::LaneWaypoint *laneWayPoint) const
 The function fills out proper routing lane waypoint from the given (x,y) position. More...
 
bool ConstructLaneWayPointWithHeading (const double x, const double y, const double heading, routing::LaneWaypoint *laneWayPoint) const
 
bool CheckRoutingPoint (const double x, const double y) const
 
bool CheckRoutingPointLaneType (apollo::hdmap::LaneInfoConstPtr lane) const
 
bool ReloadMap (bool force_reload)
 
size_t CalculateMapHash (const MapElementIds &ids) const
 

Constructor & Destructor Documentation

◆ MapService()

apollo::dreamview::MapService::MapService ( bool  use_sim_map = true)
explicit

Member Function Documentation

◆ CalculateMapHash()

size_t apollo::dreamview::MapService::CalculateMapHash ( const MapElementIds &  ids) const

◆ CheckRoutingPoint()

bool apollo::dreamview::MapService::CheckRoutingPoint ( const double  x,
const double  y 
) const

◆ CheckRoutingPointLaneType()

bool apollo::dreamview::MapService::CheckRoutingPointLaneType ( apollo::hdmap::LaneInfoConstPtr  lane) const

◆ CollectMapElementIds()

void apollo::dreamview::MapService::CollectMapElementIds ( const apollo::common::PointENU &  point,
double  raidus,
MapElementIds *  ids 
) const

◆ ConstructLaneWayPoint()

bool apollo::dreamview::MapService::ConstructLaneWayPoint ( const double  x,
const double  y,
routing::LaneWaypoint *  laneWayPoint 
) const

The function fills out proper routing lane waypoint from the given (x,y) position.

Parameters
xposition
yposition
laneWayPointRoutingRequest's lane waypoint
Returns
True if the lane waypoint is filled successfully.

◆ ConstructLaneWayPointWithHeading()

bool apollo::dreamview::MapService::ConstructLaneWayPointWithHeading ( const double  x,
const double  y,
const double  heading,
routing::LaneWaypoint *  laneWayPoint 
) const

◆ GetPathsFromRouting()

bool apollo::dreamview::MapService::GetPathsFromRouting ( const apollo::routing::RoutingResponse &  routing,
std::vector< apollo::hdmap::Path > *  paths 
) const

◆ GetPoseWithRegardToLane()

bool apollo::dreamview::MapService::GetPoseWithRegardToLane ( const double  x,
const double  y,
double *  theta,
double *  s 
) const

◆ GetStartPoint()

bool apollo::dreamview::MapService::GetStartPoint ( apollo::common::PointENU *  start_point) const

◆ GetXOffset()

double apollo::dreamview::MapService::GetXOffset ( ) const
inline

◆ GetYOffset()

double apollo::dreamview::MapService::GetYOffset ( ) const
inline

◆ ReloadMap()

bool apollo::dreamview::MapService::ReloadMap ( bool  force_reload)

◆ RetrieveMapElements()

hdmap::Map apollo::dreamview::MapService::RetrieveMapElements ( const MapElementIds &  ids) const

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