Function SimOneAPI::SetSensorLaneInfoCB

Function Documentation

bool SimOneAPI::SetSensorLaneInfoCB(void (*cb)(const char *mainVehicleId, const char *sensorId, SimOne_Data_LaneInfo *pLaneInfo))

获取传感器检测到车道与车道线数据回调

  • function: SetSensorLaneInfoCB

  • brief: Register the callback func applying for LaneInfo from current sensor(camera/fusion sensor)

参数

cb[in] Groundtruth data fetch callback function param[out] mainVehicleId: Id of the main vehicle sensorId: Id of the radar sensor pLaneInfo: laneInfo data: id, lane type, left/right lane id, lane line info

返回

Success or not