Function SimOneAPI::GetSpecifiedLaneTrafficLightList

Function Documentation

void SimOneAPI :: GetSpecifiedLaneTrafficLightList ( const SSD :: SimString & id , SSD :: SimVector < HDMapStandalone :: MSignal > & list )

获取指定车道绑定的信号灯列表

Get the list of traffic lights associated with the specified lane.

此函数用于获取与指定车道ID绑定的信号灯列表

This function is used to get the list of traffic lights that are bound to the specified lane ID.

参数 :
  • id [in]

    输入的车道ID,格式为roadId_sectionIndex_laneId

    Input lane ID, formatted as roadId_sectionIndex_laneId.

  • list [out]

    与指定车道相关联的信号灯对象列表

    List of traffic light objects associated with the specified lane.