Function SimOneAPI::GetRadarDetections

Function Documentation

bool SimOneAPI::GetRadarDetections(const char *mainVehicleId, const char *sensorId, SimOne_Data_RadarDetection *pDetections)

得到毫米波雷达目标信息

  • function: GetRadarDetections

  • brief: Get millimeter wave radar detections.

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

  • sensorId[in] Id of the radar sensor

  • pDetections[out] Radar detections: id, subid, type, position, velocity, acceleration, rotation, length, width, height, relative range, relative range rate … etc

返回

Success or not