Function SimOneAPI::GetUltrasonicRadars
-
Defined in File SimOneSensorAPI.h
Function Documentation
-
bool
SimOneAPI
::
GetUltrasonicRadars
(
const
char
*
mainVehicleId
,
SimOne_Data_UltrasonicRadars
*
pUltrasonics
)
-
获得所有超声波雷达信息.
Retrieve All Ultrasonic Radar Information for Vehicle Configuration
此函数用于获取仿真场景中所有超声波雷达感知物信息 This function is used to get the obstacle data detected by all ultrasonic radars.
- 参数 :
-
-
mainVehicleId – [in]
主车的ID
Id of the main vehicle
-
pUltrasonics – [out] 所有超声波雷达感知消息 All Radars’ detections
-
- 返回 :
-
如果成功获取感知物数据,则返回true,否则返回false
Returns true if the obstacle data is successfully retrieved, false otherwise