Apollo 10.0
自动驾驶开放平台
apollo::hdmap::LaneWaypoint结构体 参考

#include <path.h>

apollo::hdmap::LaneWaypoint 的协作图:

Public 成员函数

 LaneWaypoint ()=default
 
 LaneWaypoint (LaneInfoConstPtr lane, const double s)
 
 LaneWaypoint (LaneInfoConstPtr lane, const double s, const double l)
 
std::string DebugString () const
 

Public 属性

LaneInfoConstPtr lane = nullptr
 
double s = 0.0
 
double l = 0.0
 

详细描述

在文件 path.h38 行定义.

构造及析构函数说明

◆ LaneWaypoint() [1/3]

apollo::hdmap::LaneWaypoint::LaneWaypoint ( )
default

◆ LaneWaypoint() [2/3]

apollo::hdmap::LaneWaypoint::LaneWaypoint ( LaneInfoConstPtr  lane,
const double  s 
)
inline

在文件 path.h40 行定义.

41 : lane(CHECK_NOTNULL(lane)), s(s) {}
LaneInfoConstPtr lane
Definition path.h:44

◆ LaneWaypoint() [3/3]

apollo::hdmap::LaneWaypoint::LaneWaypoint ( LaneInfoConstPtr  lane,
const double  s,
const double  l 
)
inline

在文件 path.h42 行定义.

43 : lane(CHECK_NOTNULL(lane)), s(s), l(l) {}

成员函数说明

◆ DebugString()

std::string apollo::hdmap::LaneWaypoint::DebugString ( ) const

在文件 path.cc68 行定义.

68 {
69 if (lane == nullptr) {
70 return "(lane is null)";
71 }
72 return absl::StrCat("id = ", lane->id().id(), " s = ", s);
73}

类成员变量说明

◆ l

double apollo::hdmap::LaneWaypoint::l = 0.0

在文件 path.h46 行定义.

◆ lane

LaneInfoConstPtr apollo::hdmap::LaneWaypoint::lane = nullptr

在文件 path.h44 行定义.

◆ s

double apollo::hdmap::LaneWaypoint::s = 0.0

在文件 path.h45 行定义.


该结构体的文档由以下文件生成: