Function SimOneAPI::SetRadarDetectionsUpdateCB
Defined in File SimOneSensorAPI.h
Function Documentation
-
bool SimOneAPI::SetRadarDetectionsUpdateCB(void (*cb)(const char *mainVehicleId, const char *sensorId, SimOne_Data_RadarDetection *pDetections))
毫米波雷达目标信息回调
function: SetRadarDetectionsUpdateCB
brief: Register the callback func applying for millimeter-wave radar detections
- 参数
cb – [in] Radar detections update callback function param[out] mainVehicleId: Id of the main vehicle sensorId: Id of the radar sensor pDetections: Radar detections: id, subid, type, position, velocity, acceleration, rotation, length, width, height, relative range, relative range rate … etc
- 返回
Success or not