Function SimOneAPI::GetRadarDetections
-
Defined in File SimOneSensorAPI.h
Function Documentation
-
bool
SimOneAPI
::
GetRadarDetections
(
const
char
*
mainVehicleId
,
const
char
*
sensorId
,
SimOne_Data_RadarDetection
*
pDetections
)
-
得到毫米波雷达目标信息.
Obtaining Millimeter-Wave Radar Target Information
此函数用于获取仿真场景中毫米波雷达感知物信息 This function is used to get the obstacle data detected by millimeter-wave radar.
- 参数 :
-
-
mainVehicleId – [out]
主车的ID
Id of the main vehicle
-
sensorId – [out]
毫米波雷达传感器ID
Sensor Index
-
pDetections – [out] 毫米波雷达感知消息 Radar detections
-
- 返回 :
-
如果成功获取感知物数据,则返回true,否则返回false
Returns true if the obstacle data is successfully retrieved, false otherwise