Function SimOneAPI::GetWayPoints
Defined in File SimOnePNCAPI.h
Function Documentation
-
bool SimOneAPI::GetWayPoints(const char *mainVehicleId, SimOne_Data_WayPoints *pWayPoints)
获取案例主车路径点
Get Main Vehicle WayPoints.
此函数用于获取主车在案例中的路径点数据
This function is used to retrieve the waypoint data of the main vehicle in a scenario.
- 参数:
mainVehicleId -- [in]
主车的ID
Id of the main vehicle.
pWayPoints -- [out]
主车路径点数据
Main Vehicle WayPoints data.
- 返回:
如果成功获取路径点数据,则返回true,否则返回false
Returns true if the waypoint data is successfully retrieved, false otherwise.