Function SimOneAPI::GetNextJunctionLights

Function Documentation

bool SimOneAPI::GetNextJunctionLights(const SSD::SimString &laneName, SSD::SimString &juncId, SSD::SimVector<HDMapStandalone::MSignal> &lights, SSD::SimVector<SSD::SimVector<int>> &validityIndexList)

获取下一个路口的信号灯信息

Get the traffic light information at the next junction.

此函数用于检索下一个路口的信号灯信息

This function is used to retrieve the traffic light information at the next junction.

参数:
const SSD::SimString &laneName

[in]

车道的名称

The name of the lane.

SSD::SimString &juncId

[out]

路口的ID

The ID of the junction.

SSD::SimVector<HDMapStandalone::MSignal> &lights

[out]

信号灯信息

The traffic light information.

SSD::SimVector<SSD::SimVector<int>> &validityIndexList

[out]

有效性信息

The validity information.