Function SimOneAPI::GetForwardLaneInfo
-
Defined in File SimOneHDMapAPI.h
Function Documentation
-
LaneInfo
SimOneAPI
::
GetForwardLaneInfo
(
const
SSD
::
SimPoint3D
&
pos
,
const
TyrePosInfo
&
tyrePosInfo
,
const
double
&
forward
)
-
获取前方车道信息
Get forward lane information.
此函数用于获取从指定位置开始向前指定距离的车道信息,包括车道的位置和特性
This function is used to get lane information for a certain distance in the forward direction from the specified position, including the lane’s position and characteristics.
- 参数 :
-
-
pos – [in]
指定位置的坐标
The coordinates of the specified position.
-
tyrePosInfo – [in]
轮胎位置信息
Tyre position information.
-
forward – [in]
检索前方车道信息的距离
The distance for retrieving forward lane information.
-
- 返回 :
-
指定位置前方的车道信息
Lane information for the forward direction from the specified position.