std::map< std::string, unsigned int > junction
Inherit (privately) to suppress copy/move construction and assignment.
std::vector< SharedPtr< Lane > > GetEntryLanes(road::Lane::LaneType type=road::Lane::LaneType::Driving) const
Lanes on the adjacent roads that feed into the junction.
std::vector< SharedPtr< Waypoint > > GetExitWaypoints(road::Lane::LaneType type=road::Lane::LaneType::Driving) const
One waypoint per exit lane, on the adjacent road where it leaves the junction.
std::vector< SharedPtr< Lane > > GetNeighbourLanes(road::Lane::LaneType type, bool entering) const
Shared implementation of GetEntryLanes / GetExitLanes.
std::vector< SharedPtr< Waypoint > > GetEntryWaypoints(road::Lane::LaneType type=road::Lane::LaneType::Driving) const
One waypoint per entry lane, on the adjacent road where it meets the junction.
std::vector< std::pair< SharedPtr< Waypoint >, SharedPtr< Waypoint > > > GetWaypoints(road::Lane::LaneType type=road::Lane::LaneType::Driving) const
std::vector< SharedPtr< Waypoint > > GetNeighbourWaypoints(road::Lane::LaneType type, bool entering) const
Shared implementation of GetEntryWaypoints / GetExitWaypoints.
geom::BoundingBox GetBoundingBox() const
std::vector< SharedPtr< Lane > > GetExitLanes(road::Lane::LaneType type=road::Lane::LaneType::Driving) const
Lanes on the adjacent roads that the junction feeds into.
std::vector< SharedPtr< Road > > GetAdjacentRoads() const
The roads outside the junction that meet it.
carla::road::JuncId GetId() const
geom::BoundingBox _bounding_box
SharedPtr< const Map > _parent
std::vector< SharedPtr< Road > > GetConnectingRoads() const
The roads inside the junction, carrying traffic through it.
LaneType
Can be used as flags.
This file contains definitions of common data structures used in traffic manager.
std::shared_ptr< T > SharedPtr