[][src]Function realsense_sys::rs2_run_on_chip_calibration_cpp

pub unsafe extern "C" fn rs2_run_on_chip_calibration_cpp(
    device: *mut rs2_device,
    json_content: *const c_void,
    content_size: c_int,
    health: *mut f32,
    progress_callback: *mut rs2_update_progress_callback,
    timeout_ms: c_int,
    error: *mut *mut rs2_error
) -> *const rs2_raw_data_buffer

This will improve the depth noise. \param[in] json_content Json string to configure speed on chip calibration parameters: { "speed": 3, "scan parameter": 0, "data sampling": 0 } speed - value can be one of: Very fast = 0, Fast = 1, Medium = 2, Slow = 3, White wall = 4, default is Slow scan_parameter - value can be one of: Py scan (default) = 0, Rx scan = 1 data_sampling - value can be one of:polling data sampling = 0, interrupt data sampling = 1 if json is nullptr it will be ignored and calibration will use the default parameters \param[out] health Calibration Health-Check captures how far camera calibration is from the optimal one [0, 0.25) - Good [0.25, 0.75) - Can be Improved [0.75, ) - Requires Calibration \param[in] callback Optional callback to get progress notifications \param[in] timeout_ms Timeout in ms (use 5000 msec unless instructed otherwise) \return New calibration table