Function SimOneAPI::SetSensorDetectionsUpdateCB
Defined in File SimOneSensorAPI.h
Function Documentation
-
bool SimOneAPI::SetSensorDetectionsUpdateCB(void (*cb)(const char *mainVehicleId, const char *sensorId, SimOne_Data_SensorDetections *pGroundtruth))
传感器真值信息更新回调
function: SetSensorDetectionsUpdateCB
brief: Register the callback func applying for ground truth about the objects which detected by current sensor(camera/lidar/perfect perception sensor)
- 参数
cb – [in] Groundtruth data fetch callback function param[out] mainVehicleId: Id of the main vehicle sensorId: Id of the radar sensor pGroundtruth: ground truth data: id, type, position, rotation, length, width, height, range, velocity, acceleration, probability, relative position, relative rotation, relative velocity, bounding box
- 返回
Success or not