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.

参数:
  • laneName -- [in]

    车道的名称

    The name of the lane.

  • juncId -- [out]

    路口的ID

    The ID of the junction.

  • lights -- [out]

    信号灯信息

    The traffic light information.

  • validityIndexList -- [out]

    有效性信息

    The validity information.