CARLA
 
载入中...
搜索中...
未找到
命名空间 | 函数 | 变量
Map.cpp 文件参考
#include "carla/road/Map.h"
#include "carla/Exception.h"
#include "carla/geom/Math.h"
#include "carla/geom/Vector3D.h"
#include "carla/road/MeshFactory.h"
#include "carla/road/Deformation.h"
#include "carla/road/element/LaneCrossingCalculator.h"
#include "carla/road/element/RoadInfoCrosswalk.h"
#include "carla/road/element/RoadInfoElevation.h"
#include "carla/road/element/RoadInfoGeometry.h"
#include "carla/road/element/RoadInfoLaneOffset.h"
#include "carla/road/element/RoadInfoLaneWidth.h"
#include "carla/road/element/RoadInfoMarkRecord.h"
#include "carla/road/element/RoadInfoSpeed.h"
#include "carla/road/element/RoadInfoSignal.h"
#include "marchingcube/MeshReconstruction.h"
#include <vector>
#include <unordered_map>
#include <stdexcept>
#include <chrono>
#include <thread>
#include <iomanip>
#include <cmath>
+ road/Map.cpp 的引用(Include)关系图:

浏览源代码.

命名空间

namespace  carla
 This file contains definitions of common data structures used in traffic manager.
 
namespace  carla::road
 

函数

template<typename T >
static std::vector< T > carla::road::ConcatVectors (std::vector< T > dst, std::vector< T > src)
 
template<typename FuncT >
static void carla::road::ForEachDrivableLane (const Road &road, FuncT &&func)
 Return a waypoint for each drivable lane on each lane section of road.
 
template<typename FuncT >
static void carla::road::ForEachDrivableLaneAt (const Road &road, double distance, FuncT &&func)
 Return a waypoint for each drivable lane at distance on road.
 
template<typename FuncT >
static void carla::road::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 carla::road::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 carla::road::ForEachLaneImpl (RoadId road_id, const LaneSection &lane_section, double distance, Lane::LaneType lane_type, FuncT &&func)
 
static double carla::road::GetDistanceAtEndOfLane (const Lane &lane)
 
static double carla::road::GetDistanceAtStartOfLane (const Lane &lane)
 
double carla::road::GetRemainingLength (const Lane &lane, double current_s)
 
static bool carla::road::IsLanePresent (const MapData &data, Waypoint waypoint)
 Assumes road_id and section_id are valid.
 

变量

static constexpr double carla::road::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.