CARLA
 
载入中...
搜索中...
未找到
Public 成员函数 | Private 成员函数 | Private 属性 | 友元 | 所有成员列表
carla::client::Waypoint类 参考

#include <Waypoint.h>

+ 类 carla::client::Waypoint 继承关系图:
+ carla::client::Waypoint 的协作图:

Public 成员函数

std::vector< SharedPtr< Landmark > > GetAllLandmarksInDistance (double distance, bool stop_at_junction=false) const
 Returns a list of landmarks from the current position to a certain distance
 
auto GetDistance () const
 
uint64_t GetId () const
 Returns an unique Id identifying this waypoint.
 
SharedPtr< JunctionGetJunction () const
 
road::JuncId GetJunctionId () const
 
std::vector< SharedPtr< Landmark > > GetLandmarksOfTypeInDistance (double distance, std::string filter_type, bool stop_at_junction=false) const
 Returns a list of landmarks from the current position to a certain distance Filters by specified type
 
road::element::LaneMarking::LaneChange GetLaneChange () const
 
auto GetLaneId () const
 
double GetLaneWidth () const
 
SharedPtr< WaypointGetLeft () const
 
boost::optional< road::element::LaneMarkingGetLeftLaneMarking () const
 
std::vector< SharedPtr< Waypoint > > GetNext (double distance) const
 
std::vector< SharedPtr< Waypoint > > GetNextUntilLaneEnd (double distance) const
 Returns a list of waypoints separated by distance from the current waypoint to the end of the lane
 
std::vector< SharedPtr< Waypoint > > GetPrevious (double distance) const
 
std::vector< SharedPtr< Waypoint > > GetPreviousUntilLaneStart (double distance) const
 Returns a list of waypoints separated by distance from the current waypoint to the start of the lane
 
SharedPtr< WaypointGetRight () const
 
boost::optional< road::element::LaneMarkingGetRightLaneMarking () const
 
auto GetRoadId () const
 
auto GetSectionId () const
 
const geom::TransformGetTransform () const
 
road::Lane::LaneType GetType () const
 
bool IsJunction () const
 
 ~Waypoint ()
 

Private 成员函数

 Waypoint (SharedPtr< const Map > parent, road::element::Waypoint waypoint)
 
- Private 成员函数 继承自 carla::NonCopyable
 NonCopyable ()=default
 
 NonCopyable (const NonCopyable &)=delete
 
 NonCopyable (NonCopyable &&)=delete
 
NonCopyableoperator= (const NonCopyable &)=delete
 
NonCopyableoperator= (NonCopyable &&)=delete
 

Private 属性

std::pair< const road::element::RoadInfoMarkRecord *, const road::element::RoadInfoMarkRecord * > _mark_record
 
SharedPtr< const Map_parent
 
geom::Transform _transform
 
road::element::Waypoint _waypoint
 

友元

class Map
 

详细描述

在文件 client/Waypoint.h27 行定义.

构造及析构函数说明

◆ ~Waypoint()

carla::client::Waypoint::~Waypoint ( )
default

◆ Waypoint()

carla::client::Waypoint::Waypoint ( SharedPtr< const Map > parent,
road::element::Waypoint waypoint )
private

在文件 client/Waypoint.cpp18 行定义.

被这些函数引用 GetAllLandmarksInDistance(), GetLandmarksOfTypeInDistance(), GetLeft(), GetNext(), GetPrevious() , 以及 GetRight().

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

成员函数说明

◆ GetAllLandmarksInDistance()

std::vector< SharedPtr< Landmark > > carla::client::Waypoint::GetAllLandmarksInDistance ( double distance,
bool stop_at_junction = false ) const

Returns a list of landmarks from the current position to a certain distance

在文件 client/Waypoint.cpp218 行定义.

引用了 _parent, _waypoint , 以及 Waypoint().

被这些函数引用 carla::client::World::GetTrafficLightsFromWaypoint().

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

◆ GetDistance()

auto carla::client::Waypoint::GetDistance ( ) const
inline

在文件 client/Waypoint.h54 行定义.

引用了 _waypoint , 以及 carla::road::element::Waypoint::s.

被这些函数引用 GetNextUntilLaneEnd() , 以及 GetPreviousUntilLaneStart().

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

◆ GetId()

uint64_t carla::client::Waypoint::GetId ( ) const
inline

Returns an unique Id identifying this waypoint.

The Id takes into account OpenDrive's road Id, lane Id, and s distance on its road segment up to half-centimetre precision.

在文件 client/Waypoint.h38 行定义.

引用了 _waypoint.

◆ GetJunction()

SharedPtr< Junction > carla::client::Waypoint::GetJunction ( ) const

在文件 client/Waypoint.cpp34 行定义.

引用了 _parent , 以及 IsJunction().

+ 函数调用图:

◆ GetJunctionId()

road::JuncId carla::client::Waypoint::GetJunctionId ( ) const

在文件 client/Waypoint.cpp26 行定义.

引用了 _parent, _waypoint , 以及 carla::road::element::Waypoint::road_id.

被这些函数引用 carla::client::Map::GetJunction().

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

◆ GetLandmarksOfTypeInDistance()

std::vector< SharedPtr< Landmark > > carla::client::Waypoint::GetLandmarksOfTypeInDistance ( double distance,
std::string filter_type,
bool stop_at_junction = false ) const

Returns a list of landmarks from the current position to a certain distance Filters by specified type

在文件 client/Waypoint.cpp236 行定义.

引用了 _parent, _waypoint , 以及 Waypoint().

+ 函数调用图:

◆ GetLaneChange()

road::element::LaneMarking::LaneChange carla::client::Waypoint::GetLaneChange ( ) const

◆ GetLaneId()

auto carla::client::Waypoint::GetLaneId ( ) const
inline

在文件 client/Waypoint.h50 行定义.

引用了 _waypoint , 以及 carla::road::element::Waypoint::lane_id.

◆ GetLaneWidth()

double carla::client::Waypoint::GetLaneWidth ( ) const

在文件 client/Waypoint.cpp41 行定义.

引用了 _parent , 以及 _waypoint.

◆ GetLeft()

SharedPtr< Waypoint > carla::client::Waypoint::GetLeft ( ) const

在文件 client/Waypoint.cpp139 行定义.

引用了 _parent, _waypoint , 以及 Waypoint().

+ 函数调用图:

◆ GetLeftLaneMarking()

boost::optional< road::element::LaneMarking > carla::client::Waypoint::GetLeftLaneMarking ( ) const

在文件 client/Waypoint.cpp155 行定义.

引用了 _mark_record.

◆ GetNext()

std::vector< SharedPtr< Waypoint > > carla::client::Waypoint::GetNext ( double distance) const

在文件 client/Waypoint.cpp50 行定义.

引用了 _parent, _waypoint , 以及 Waypoint().

被这些函数引用 GetNextUntilLaneEnd().

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

◆ GetNextUntilLaneEnd()

std::vector< SharedPtr< Waypoint > > carla::client::Waypoint::GetNextUntilLaneEnd ( double distance) const

Returns a list of waypoints separated by distance from the current waypoint to the end of the lane

在文件 client/Waypoint.cpp70 行定义.

引用了 _parent, _waypoint, GetDistance(), GetNext(), GetRoadId() , 以及 carla::road::element::Waypoint::lane_id.

+ 函数调用图:

◆ GetPrevious()

std::vector< SharedPtr< Waypoint > > carla::client::Waypoint::GetPrevious ( double distance) const

在文件 client/Waypoint.cpp60 行定义.

引用了 _parent, _waypoint , 以及 Waypoint().

被这些函数引用 GetPreviousUntilLaneStart().

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

◆ GetPreviousUntilLaneStart()

std::vector< SharedPtr< Waypoint > > carla::client::Waypoint::GetPreviousUntilLaneStart ( double distance) const

Returns a list of waypoints separated by distance from the current waypoint to the start of the lane

在文件 client/Waypoint.cpp99 行定义.

引用了 _parent, _waypoint, GetDistance(), GetPrevious(), GetRoadId() , 以及 carla::road::element::Waypoint::lane_id.

+ 函数调用图:

◆ GetRight()

SharedPtr< Waypoint > carla::client::Waypoint::GetRight ( ) const

在文件 client/Waypoint.cpp130 行定义.

引用了 _parent, _waypoint , 以及 Waypoint().

+ 函数调用图:

◆ GetRightLaneMarking()

boost::optional< road::element::LaneMarking > carla::client::Waypoint::GetRightLaneMarking ( ) const

在文件 client/Waypoint.cpp148 行定义.

引用了 _mark_record.

◆ GetRoadId()

auto carla::client::Waypoint::GetRoadId ( ) const
inline

在文件 client/Waypoint.h42 行定义.

引用了 _waypoint , 以及 carla::road::element::Waypoint::road_id.

被这些函数引用 GetNextUntilLaneEnd() , 以及 GetPreviousUntilLaneStart().

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

◆ GetSectionId()

auto carla::client::Waypoint::GetSectionId ( ) const
inline

在文件 client/Waypoint.h46 行定义.

引用了 _waypoint , 以及 carla::road::element::Waypoint::section_id.

◆ GetTransform()

const geom::Transform & carla::client::Waypoint::GetTransform ( ) const
inline

在文件 client/Waypoint.h58 行定义.

引用了 _transform.

◆ GetType()

road::Lane::LaneType carla::client::Waypoint::GetType ( ) const

在文件 client/Waypoint.cpp46 行定义.

引用了 _parent , 以及 _waypoint.

◆ IsJunction()

bool carla::client::Waypoint::IsJunction ( ) const

在文件 client/Waypoint.cpp30 行定义.

引用了 _parent, _waypoint , 以及 carla::road::element::Waypoint::road_id.

被这些函数引用 GetJunction().

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

友元及相关函数文档

◆ Map

friend class Map
friend

在文件 client/Waypoint.h105 行定义.

类成员变量说明

◆ _mark_record

std::pair< const road::element::RoadInfoMarkRecord *, const road::element::RoadInfoMarkRecord *> carla::client::Waypoint::_mark_record
private

在文件 client/Waypoint.h118 行定义.

被这些函数引用 GetLaneChange(), GetLeftLaneMarking() , 以及 GetRightLaneMarking().

◆ _parent

SharedPtr<const Map> carla::client::Waypoint::_parent
private

◆ _transform

geom::Transform carla::client::Waypoint::_transform
private

在文件 client/Waypoint.h113 行定义.

被这些函数引用 GetTransform().

◆ _waypoint

road::element::Waypoint carla::client::Waypoint::_waypoint
private

该类的文档由以下文件生成: