Function SimOneAPI::SetUltrasonicRadarsCB
-
Defined in File SimOneSensorAPI.h
Function Documentation
-
bool
SimOneAPI
::
SetUltrasonicRadarsCB
(
void
(
*
cb
)
(
const
char
*
mainVehicleId
,
SimOne_Data_UltrasonicRadars
*
pUltrasonics
)
)
-
超生波雷达真值信息更新回调.
Register the callback func applying for ultrasonics radar detections
此函数用于注册获取仿真场景中超声波雷达目标信息的回调函数
This function is used to register a callback function for getting objects data detected by ultrasonic radar.
- 参数 :
-
-
cb – [in]
获取仿真场景中超声波雷达真值的更新回调
ultrasonic detection data update callback function
-
mainVehicleId – [out]
主车的ID
Id of the main vehicle
-
pDetections – [out] 超声波雷达感知消息 Ultrasonics detections
-
- 返回 :
-
如果注册回调函数成功,则返回true,否则返回false
Returns true if the callback registration is successful, false otherwise.