#include <Map.h>
Public 类型 | |
using | TopologyList = std::vector<std::pair<SharedPtr<Waypoint>, SharedPtr<Waypoint>>> |
Public 成员函数 | |
std::vector< road::element::LaneMarking > | CalculateCrossedLanes (const geom::Location &origin, const geom::Location &destination) const |
void | CookInMemoryMap (const std::string &path) const |
Cooks InMemoryMap used by the traffic manager | |
std::vector< SharedPtr< Waypoint > > | GenerateWaypoints (double distance) const |
std::vector< geom::Location > | GetAllCrosswalkZones () const |
std::vector< SharedPtr< Landmark > > | GetAllLandmarks () const |
Returns all the larndmarks in the map | |
std::vector< SharedPtr< Landmark > > | GetAllLandmarksOfType (std::string type) const |
Returns all the landmarks in the map of a specific type | |
const geom::GeoLocation & | GetGeoReference () const |
SharedPtr< Junction > | GetJunction (const Waypoint &waypoint) const |
std::vector< std::pair< SharedPtr< Waypoint >, SharedPtr< Waypoint > > > | GetJunctionWaypoints (road::JuncId id, road::Lane::LaneType type) const |
Returns a pair of waypoints (start and end) for each lane in the junction | |
std::vector< SharedPtr< Landmark > > | GetLandmarkGroup (const Landmark &landmark) const |
Returns all the landmarks in the same group including this one | |
std::vector< SharedPtr< Landmark > > | GetLandmarksFromId (std::string id) const |
Returns all the larndmarks in the map with a specific OpenDRIVE id | |
const road::Map & | GetMap () const |
const std::string & | GetName () const |
const std::string & | GetOpenDrive () const |
const std::vector< geom::Transform > & | GetRecommendedSpawnPoints () const |
TopologyList | GetTopology () const |
SharedPtr< Waypoint > | GetWaypoint (const geom::Location &location, bool project_to_road=true, int32_t lane_type=static_cast< uint32_t >(road::Lane::LaneType::Driving)) const |
SharedPtr< Waypoint > | GetWaypointXODR (carla::road::RoadId road_id, carla::road::LaneId lane_id, float s) const |
Map (rpc::MapInfo description, std::string xodr_content) | |
Map (std::string name, std::string xodr_content) | |
~Map () | |
Private 属性 | |
const rpc::MapInfo | _description |
const road::Map | _map |
std::string | open_drive_file |
额外继承的成员函数 | |
Private 成员函数 继承自 carla::NonCopyable | |
NonCopyable ()=default | |
NonCopyable (const NonCopyable &)=delete | |
NonCopyable (NonCopyable &&)=delete | |
NonCopyable & | operator= (const NonCopyable &)=delete |
NonCopyable & | operator= (NonCopyable &&)=delete |
在文件 client/Map.h 第 27 行定义.
using carla::client::Map::TopologyList = std::vector<std::pair<SharedPtr<Waypoint>, SharedPtr<Waypoint>>> |
在文件 client/Map.h 第 64 行定义.
|
explicit |
在文件 client/Map.cpp 第 30 行定义.
引用了 open_drive_file.
|
explicit |
在文件 client/Map.cpp 第 35 行定义.
|
default |
std::vector< road::element::LaneMarking > carla::client::Map::CalculateCrossedLanes | ( | const geom::Location & | origin, |
const geom::Location & | destination ) const |
在文件 client/Map.cpp 第 105 行定义.
void carla::client::Map::CookInMemoryMap | ( | const std::string & | path | ) | const |
Cooks InMemoryMap used by the traffic manager
在文件 client/Map.cpp 第 187 行定义.
引用了 carla::traffic_manager::InMemoryMap::Cook().
在文件 client/Map.cpp 第 95 行定义.
std::vector< geom::Location > carla::client::Map::GetAllCrosswalkZones | ( | ) | const |
在文件 client/Map.cpp 第 115 行定义.
Returns all the larndmarks in the map
在文件 client/Map.cpp 第 138 行定义.
std::vector< SharedPtr< Landmark > > carla::client::Map::GetAllLandmarksOfType | ( | std::string | type | ) | const |
Returns all the landmarks in the map of a specific type
在文件 client/Map.cpp 第 160 行定义.
const geom::GeoLocation & carla::client::Map::GetGeoReference | ( | ) | const |
在文件 client/Map.cpp 第 111 行定义.
std::vector< std::pair< SharedPtr< Waypoint >, SharedPtr< Waypoint > > > carla::client::Map::GetJunctionWaypoints | ( | road::JuncId | id, |
road::Lane::LaneType | type ) const |
Returns a pair of waypoints (start and end) for each lane in the junction
在文件 client/Map.cpp 第 125 行定义.
std::vector< SharedPtr< Landmark > > carla::client::Map::GetLandmarkGroup | ( | const Landmark & | landmark | ) | const |
Returns all the landmarks in the same group including this one
在文件 client/Map.cpp 第 173 行定义.
引用了 carla::client::Landmark::_signal, carla::road::Signal::GetControllers() , 以及 carla::road::element::RoadInfoSignal::GetSignal().
Returns all the larndmarks in the map with a specific OpenDRIVE id
在文件 client/Map.cpp 第 148 行定义.
|
inline |
在文件 client/Map.h 第 42 行定义.
引用了 _map.
|
inline |
在文件 client/Map.h 第 38 行定义.
引用了 _description , 以及 carla::rpc::MapInfo::name.
|
inline |
在文件 client/Map.h 第 46 行定义.
引用了 open_drive_file.
|
inline |
在文件 client/Map.h 第 50 行定义.
引用了 _description , 以及 carla::rpc::MapInfo::recommended_spawn_points.
Map::TopologyList carla::client::Map::GetTopology | ( | ) | const |
在文件 client/Map.cpp 第 70 行定义.
SharedPtr< Waypoint > carla::client::Map::GetWaypoint | ( | const geom::Location & | location, |
bool | project_to_road = true, | ||
int32_t | lane_type = static_cast<uint32_t>(road::Lane::LaneType::Driving) ) const |
SharedPtr< Waypoint > carla::client::Map::GetWaypointXODR | ( | carla::road::RoadId | road_id, |
carla::road::LaneId | lane_id, | ||
float | s ) const |
在文件 client/Map.cpp 第 59 行定义.
|
private |
在文件 client/Map.h 第 104 行定义.
被这些函数引用 GetName() , 以及 GetRecommendedSpawnPoints().
|
private |
在文件 client/Map.h 第 106 行定义.
被这些函数引用 GetMap().
|
private |
在文件 client/Map.h 第 102 行定义.
被这些函数引用 GetOpenDrive() , 以及 Map().