Function SimOneAPI::GetV2XInfo

Function Documentation

bool SimOneAPI::GetV2XInfo(const char *mainVehicleId, const char *sensorId, int infoType, SimOne_Data_V2XNFS *pDetections)

获得对应车辆编号V2X中的UPER编码之后的v2x消息

  • function: GetV2XInfo

  • brief: Get V2X UPER ASN Message

参数
  • mainVehicleId[in] Id of the main vehicle

  • sensorId[in] Id of the obu sensor

  • infoType[in] type of the obu message witch matches with enum ESimOne_V2X_MessageFrame_PR

  • pDetections[out] V2XASN data

返回

Success or not