CARLA
 
载入中...
搜索中...
未找到
| 枚举 | 函数 | 变量
carla::road::element 命名空间参考

struct  CrosswalkPoint
 
struct  DirectedPoint
 
class  Geometry
 
class  GeometryArc
 
class  GeometryLine
 
class  GeometryParamPoly3
 
class  GeometryPoly3
 
class  GeometrySpiral
 
class  LaneCrossingCalculator
 
struct  LaneMarking
 
class  RoadInfo
 
class  RoadInfoCrosswalk
 
class  RoadInfoElevation
 
class  RoadInfoGeometry
 
class  RoadInfoIterator
 
class  RoadInfoLaneAccess
 This record defines access restrictions for certain types of road users. 更多...
 
class  RoadInfoLaneBorder
 Instead of describing lanes by their width entries and, thus, invariably depending on influences of inner lanes on outer lanes, it might be more convenient to just describe the outer border of each lane independent of any inner lanes’ parameters. 更多...
 
class  RoadInfoLaneHeight
 The surface of a lane may be offset from the plane defined by the reference line and the corresponding elevation and crossfall entries (e.g. 更多...
 
class  RoadInfoLaneMaterial
 
class  RoadInfoLaneOffset
 The lane offset record defines a lateral shift of the lane reference line(which is usually identical to the road reference line). 更多...
 
class  RoadInfoLaneRule
 This record defines rules that can be applied to lanes to describe additonal properties not covered by the other attributes. 更多...
 
class  RoadInfoLaneVisibility
 Each lane within a road cross section may be provided with several entries defining the visibility in four directions relative to the lane’s direction. 更多...
 
class  RoadInfoLaneWidth
 Lane Width RecordEach lane within a road’scross section can be provided with severalwidth entries. 更多...
 
class  RoadInfoMarkRecord
 Each lane within a road cross section can be provided with several road markentries. 更多...
 
class  RoadInfoMarkTypeLine
 
class  RoadInfoSignal
 
class  RoadInfoSpeed
 
class  RoadInfoVisitor
 
struct  Waypoint
 

枚举

enum class  GeometryType : unsigned int {
  LINE , ARC , SPIRAL , POLY3 ,
  POLY3PARAM
}
 

函数

static std::vector< LaneMarkingCrossingAtSameSection (const Map &map, const Waypoint *w0, const Waypoint *w1, const bool w0_is_offroad, const bool dest_is_at_right)
 Calculate the lane markings that need to be crossed from lane_id_origin to lane_id_destination.
 
static LaneMarking::Color GetColor (std::string str)
 
static LaneMarking::LaneChange GetLaneChange (RoadInfoMarkRecord::LaneChange lane_change)
 
static LaneMarking::Type GetType (std::string str)
 
static bool IsOffRoad (const Map &map, const geom::Location &location)
 
template<typename T , typename Container >
static auto MakeRoadInfoIterator (const Container &c)
 
template<typename T , typename IT >
static auto MakeRoadInfoIterator (IT begin, IT end)
 
bool operator!= (const Waypoint &lhs, const Waypoint &rhs)
 
bool operator== (const Waypoint &lhs, const Waypoint &rhs)
 
geom::Vector2D RotatebyAngle (double angle, double x, double y)
 

变量

static constexpr uint32_t FLAGS
 

枚举类型说明

◆ GeometryType

enum class carla::road::element::GeometryType : unsigned int
strong
枚举值
LINE 
ARC 
SPIRAL 
POLY3 
POLY3PARAM 

在文件 Geometry.h18 行定义.

函数说明

◆ CrossingAtSameSection()

static std::vector< LaneMarking > carla::road::element::CrossingAtSameSection ( const Map & map,
const Waypoint * w0,
const Waypoint * w1,
const bool w0_is_offroad,
const bool dest_is_at_right )
static

Calculate the lane markings that need to be crossed from lane_id_origin to lane_id_destination.

在文件 LaneCrossingCalculator.cpp30 行定义.

引用了 carla::road::Map::GetMarkRecord().

被这些函数引用 carla::road::element::LaneCrossingCalculator::Calculate().

+ 函数调用图:
+ 这是这个函数的调用关系图:

◆ GetColor()

static LaneMarking::Color carla::road::element::GetColor ( std::string str)
static

◆ GetLaneChange()

static LaneMarking::LaneChange carla::road::element::GetLaneChange ( RoadInfoMarkRecord::LaneChange lane_change)
static

◆ GetType()

static LaneMarking::Type carla::road::element::GetType ( std::string str)
static

◆ IsOffRoad()

static bool carla::road::element::IsOffRoad ( const Map & map,
const geom::Location & location )
static

在文件 LaneCrossingCalculator.cpp56 行定义.

引用了 FLAGS , 以及 carla::road::Map::GetWaypoint().

被这些函数引用 carla::road::element::LaneCrossingCalculator::Calculate().

+ 函数调用图:
+ 这是这个函数的调用关系图:

◆ MakeRoadInfoIterator() [1/2]

template<typename T , typename Container >
static auto carla::road::element::MakeRoadInfoIterator ( const Container & c)
static

在文件 RoadInfoIterator.h92 行定义.

◆ MakeRoadInfoIterator() [2/2]

template<typename T , typename IT >
static auto carla::road::element::MakeRoadInfoIterator ( IT begin,
IT end )
static

在文件 RoadInfoIterator.h99 行定义.

◆ operator!=()

bool carla::road::element::operator!= ( const Waypoint & lhs,
const Waypoint & rhs )
inline

在文件 road/element/Waypoint.h60 行定义.

引用了 operator==().

+ 函数调用图:

◆ operator==()

bool carla::road::element::operator== ( const Waypoint & lhs,
const Waypoint & rhs )
inline

在文件 road/element/Waypoint.h55 行定义.

被这些函数引用 operator!=().

+ 这是这个函数的调用关系图:

◆ RotatebyAngle()

geom::Vector2D carla::road::element::RotatebyAngle ( double angle,
double x,
double y )

在文件 Geometry.cpp61 行定义.

被这些函数引用 carla::road::element::GeometrySpiral::PosFromDist(), carla::road::element::GeometryPoly3::PosFromDist() , 以及 carla::road::element::GeometryParamPoly3::PosFromDist().

+ 这是这个函数的调用关系图:

变量说明

◆ FLAGS

constexpr uint32_t carla::road::element::FLAGS
staticconstexpr
初始值:
=
static_cast<uint32_t>(Lane::LaneType::Driving) |
static_cast<uint32_t>(Lane::LaneType::Bidirectional) |
static_cast<uint32_t>(Lane::LaneType::Biking) |
static_cast<uint32_t>(Lane::LaneType::Parking)
待办事项
Temporary flags to search lanes where we can find road marks. This needs to be expanded searching in shoulders too, but since shouders have a small width, they can cause problems while finding the nearest center of a lane given a location that are in a road, but very close to a shoulder.

在文件 LaneCrossingCalculator.cpp22 行定义.

被这些函数引用 carla::road::element::LaneCrossingCalculator::Calculate() , 以及 IsOffRoad().