34 explicit Map(std::string name, std::string xodr_content);
39 return _description.name;
47 return open_drive_file;
51 return _description.recommended_spawn_points;
56 bool project_to_road =
true,
68 std::vector<SharedPtr<Waypoint>> GenerateWaypoints(
double distance)
const;
70 std::vector<road::element::LaneMarking> CalculateCrossedLanes(
76 std::vector<geom::Location> GetAllCrosswalkZones()
const;
82 std::vector<std::pair<SharedPtr<Waypoint>, SharedPtr<Waypoint>>> GetJunctionWaypoints(
86 std::vector<SharedPtr<Landmark>> GetAllLandmarks()
const;
89 std::vector<SharedPtr<Landmark>> GetLandmarksFromId(std::string
id)
const;
92 std::vector<SharedPtr<Landmark>> GetAllLandmarksOfType(std::string type)
const;
95 std::vector<SharedPtr<Landmark>> GetLandmarkGroup(
const Landmark &landmark)
const;
98 void CookInMemoryMap(
const std::string& path)
const;
const road::Map & GetMap() const
boost::shared_ptr< T > SharedPtr
Use this SharedPtr (boost::shared_ptr) to keep compatibility with boost::python, but it would be nice...
This file contains definitions of common data structures used in traffic manager. ...
const rpc::MapInfo _description
Class containing a reference to RoadInfoSignal.
std::vector< std::pair< SharedPtr< Waypoint >, SharedPtr< Waypoint > >> TopologyList
const std::vector< geom::Transform > & GetRecommendedSpawnPoints() const
LaneType
Can be used as flags.
std::string open_drive_file
Inherit (privately) to suppress copy/move construction and assignment.
const std::string & GetName() const
const std::string & GetOpenDrive() const
carla::SharedPtr< carla::client::Junction > Junction