命名空间 | |
namespace | element |
namespace | object |
类 | |
class | Controller |
class | InformationSet |
class | Junction |
class | Lane |
class | LaneSection |
class | LaneSectionMap |
struct | LaneValidity |
class | Map |
class | MapBuilder |
class | MapData |
class | Object |
class | Road |
class | RoadElementSet |
A set of elements ordered by its position on the road. 更多... | |
class | Signal |
struct | SignalDependency |
class | SignalType |
Using OpenDRIVE 1.5M (6.10 Country Codes) 更多... | |
类型定义 | |
using | ConId = uint32_t |
using | ContId = std::string |
using | JuncId = int32_t |
using | LaneId = int32_t |
using | ObjId = uint32_t |
using | RoadId = uint32_t |
using | SectionId = uint32_t |
using | SignId = std::string |
枚举 | |
enum | SignalOrientation { Positive , Negative , Both } |
函数 | |
template<typename T > | |
static std::pair< double, double > | ComputeTotalLaneWidth (const T container, const double s, const LaneId lane_id) |
Returns a pair containing first = width, second = tangent, for an specific Lane given an s and a iterator over lanes | |
template<typename T > | |
static std::vector< T > | ConcatVectors (std::vector< T > dst, std::vector< T > src) |
template<typename FuncT > | |
static void | ForEachDrivableLane (const Road &road, FuncT &&func) |
Return a waypoint for each drivable lane on each lane section of road. | |
template<typename FuncT > | |
static void | ForEachDrivableLaneAt (const Road &road, double distance, FuncT &&func) |
Return a waypoint for each drivable lane at distance on road. | |
template<typename FuncT > | |
static void | ForEachDrivableLaneImpl (RoadId road_id, const LaneSection &lane_section, double distance, FuncT &&func) |
Return a waypoint for each drivable lane on lane_section. | |
template<typename FuncT > | |
static void | ForEachLane (const Road &road, Lane::LaneType lane_type, FuncT &&func) |
Return a waypoint for each lane of the specified type on each lane section of road. | |
template<typename FuncT > | |
static void | ForEachLaneImpl (RoadId road_id, const LaneSection &lane_section, double distance, Lane::LaneType lane_type, FuncT &&func) |
static double | GetDistanceAtEndOfLane (const Lane &lane) |
static double | GetDistanceAtStartOfLane (const Lane &lane) |
double | GetRemainingLength (const Lane &lane, double current_s) |
static bool | IsLanePresent (const MapData &data, Waypoint waypoint) |
Assumes road_id and section_id are valid. | |
变量 | |
static constexpr double | EPSILON = 10.0 * std::numeric_limits<double>::epsilon() |
We use this epsilon to shift the waypoints away from the edges of the lane sections to avoid floating point precision errors. | |
using carla::road::ConId = uint32_t |
在文件 RoadTypes.h 第 27 行定义.
using carla::road::ContId = std::string |
在文件 RoadTypes.h 第 29 行定义.
using carla::road::JuncId = int32_t |
在文件 RoadTypes.h 第 17 行定义.
using carla::road::LaneId = int32_t |
在文件 RoadTypes.h 第 19 行定义.
using carla::road::ObjId = uint32_t |
在文件 RoadTypes.h 第 23 行定义.
using carla::road::RoadId = uint32_t |
在文件 RoadTypes.h 第 15 行定义.
using carla::road::SectionId = uint32_t |
在文件 RoadTypes.h 第 21 行定义.
using carla::road::SignId = std::string |
在文件 RoadTypes.h 第 25 行定义.
|
static |
Returns a pair containing first = width, second = tangent, for an specific Lane given an s and a iterator over lanes
引用了 RELEASE_ASSERT.
被这些函数引用 carla::road::Lane::ComputeTransform() , 以及 carla::road::Lane::GetCornerPositions().
|
static |
在文件 road/Map.cpp 第 47 行定义.
引用了 ConcatVectors().
被这些函数引用 ConcatVectors(), carla::road::Map::GetNext(), carla::road::Map::GetPrevious() , 以及 carla::road::Map::GetSignalsInDistance().
|
static |
Return a waypoint for each drivable lane on each lane section of road.
在文件 road/Map.cpp 第 120 行定义.
引用了 ForEachDrivableLaneImpl(), carla::road::Road::GetId() , 以及 carla::road::Road::GetLaneSections().
被这些函数引用 carla::road::Map::GenerateTopology().
|
static |
Return a waypoint for each drivable lane at distance on road.
在文件 road/Map.cpp 第 145 行定义.
引用了 ForEachDrivableLaneImpl(), carla::road::Road::GetId() , 以及 carla::road::Road::GetLaneSectionsAt().
被这些函数引用 carla::road::Map::GenerateWaypoints().
|
static |
Return a waypoint for each drivable lane on lane_section.
在文件 road/Map.cpp 第 76 行定义.
引用了 carla::road::Lane::Driving, GetDistanceAtStartOfLane(), carla::road::LaneSection::GetId() , 以及 carla::road::LaneSection::GetLanes().
被这些函数引用 ForEachDrivableLane() , 以及 ForEachDrivableLaneAt().
|
static |
Return a waypoint for each lane of the specified type on each lane section of road.
在文件 road/Map.cpp 第 132 行定义.
引用了 ForEachLaneImpl(), carla::road::Road::GetId() , 以及 carla::road::Road::GetLaneSections().
被这些函数引用 carla::road::Map::CreateRtree() , 以及 carla::road::Map::GetJunctionWaypoints().
|
static |
在文件 road/Map.cpp 第 97 行定义.
引用了 GetDistanceAtStartOfLane(), carla::road::LaneSection::GetId() , 以及 carla::road::LaneSection::GetLanes().
被这些函数引用 ForEachLane().
|
static |
在文件 road/Map.cpp 第 66 行定义.
引用了 EPSILON, carla::road::Lane::GetDistance(), carla::road::Lane::GetId() , 以及 carla::road::Lane::GetLength().
被这些函数引用 carla::road::Map::GenerateTopology(), carla::road::Map::GetJunctionWaypoints() , 以及 carla::road::Map::GetPredecessors().
|
static |
在文件 road/Map.cpp 第 58 行定义.
引用了 EPSILON, carla::road::Lane::GetDistance(), carla::road::Lane::GetId() , 以及 carla::road::Lane::GetLength().
被这些函数引用 ForEachDrivableLaneImpl(), ForEachLaneImpl() , 以及 carla::road::Map::GetSuccessors().
double carla::road::GetRemainingLength | ( | const Lane & | lane, |
double | current_s ) |
在文件 road/Map.cpp 第 879 行定义.
引用了 carla::road::Lane::GetDistance(), carla::road::Lane::GetId() , 以及 carla::road::Lane::GetLength().
被这些函数引用 carla::road::Map::CreateRtree().
Assumes road_id and section_id are valid.
在文件 road/Map.cpp 第 156 行定义.
引用了 carla::road::LaneSection::ContainsLane(), carla::road::Road::GetLaneSectionById(), carla::road::MapData::GetRoad(), carla::road::element::Waypoint::lane_id, carla::road::element::Waypoint::road_id , 以及 carla::road::element::Waypoint::section_id.
被这些函数引用 carla::road::Map::GetLeft() , 以及 carla::road::Map::GetRight().
|
staticconstexpr |
We use this epsilon to shift the waypoints away from the edges of the lane sections to avoid floating point precision errors.
在文件 road/Map.cpp 第 40 行定义.
被这些函数引用 carla::road::Map::GenerateWaypoints(), GetDistanceAtEndOfLane(), GetDistanceAtStartOfLane(), carla::road::Map::GetNext() , 以及 carla::road::Map::GetPrevious().