Go to the documentation of this file.
7 #include "../../core/advanced_mode.h"
73 void check_focal_length_params(
int step_count,
int fy_scan_range,
int keep_new_value_after_sucessful_scan,
int interrrupt_data_samling,
int adjust_both_sides,
int fl_scan_location,
int fy_scan_direction,
int white_wall_mode)
const;
74 void check_one_button_params(
int speed,
int keep_new_value_after_sucessful_scan,
int data_sampling,
int adjust_both_sides,
int fl_scan_location,
int fy_scan_direction,
int white_wall_mode)
const;
void get_target_rect_info(rs2_frame_queue *frames, float rect_sides[4], float &fx, float &fy, int progress, rs2_update_progress_callback_sptr progress_callback)
void undistort(uint8_t *img, const rs2_intrinsics &intrin, int roi_ws, int roi_hs, int roi_we, int roi_he)
std::shared_ptr< rs2_update_progress_callback > rs2_update_progress_callback_sptr
void collect_depth_frame_sum(const rs2_frame *f)
void check_one_button_params(int speed, int keep_new_value_after_sucessful_scan, int data_sampling, int adjust_both_sides, int fl_scan_location, int fy_scan_direction, int white_wall_mode) const
std::shared_ptr< hw_monitor > _hw_monitor
status
Defines return codes that SDK interfaces use. Negative values indicate errors, a zero value indicates...
std::vector< uint8_t > run_on_chip_calibration(int timeout_ms, std::string json, float *const health, rs2_update_progress_callback_sptr progress_callback) override
void find_z_at_corners(float left_x[4], float left_y[4], rs2_frame_queue *frames, float left_z[4])
struct rs2_frame rs2_frame
uint32_t pixelCountThreshold
GLsizei const GLchar *const * string
std::vector< uint8_t > run_tare_calibration(int timeout_ms, float ground_truth_mm, std::string json, float *const health, rs2_update_progress_callback_sptr progress_callback) override
void reset_to_factory_calibration() const override
const std::string progress
std::vector< uint8_t > _curr_calibration
@ RS2_OCC_STATE_NOT_ACTIVE
std::map< std::string, int > parse_json(std::string json)
void change_preset_and_stay()
@ RS2_OCC_STATE_WAIT_FOR_FINAL_FW_CALL
uint16_t _max_valid_depth
std::vector< uint8_t > process_calibration_frame(int timeout_ms, const rs2_frame *f, float *const health, rs2_update_progress_callback_sptr progress_callback) override
@ RS2_OCC_STATE_WAIT_TO_CALIB_START
DirectSearchCalibrationResult get_calibration_status(int timeout_ms, std::function< void(const int count)> progress_func, bool wait_for_final_results=true)
void check_params(int speed, int scan_parameter, int data_sampling) const
def progress_callback(progress)
long long rs2_metadata_type
void check_tare_params(int speed, int scan_parameter, int data_sampling, int average_step_count, int step_count, int accuracy)
cv::RotateFlags angle(cv::RotateFlags::ROTATE_90_CLOCKWISE)
void get_target_dots_info(rs2_frame_queue *frames, float dots_x[4], float dots_y[4], rs2::stream_profile &profile, rs2_intrinsics &fy, int progress, rs2_update_progress_callback_sptr progress_callback)
rs2_rs400_visual_preset _old_preset
void write_calibration() const override
float calculate_target_z(rs2_frame_queue *queue1, rs2_frame_queue *queue2, rs2_frame_queue *queue3, float target_width, float target_height, rs2_update_progress_callback_sptr progress_callback) override
uint16_t calc_fill_rate(const rs2_frame *f)
@ RS2_OCC_STATE_DATA_COLLECT
void set_hw_monitor_for_auto_calib(std::shared_ptr< hw_monitor > hwm)
std::shared_ptr< ds_advanced_mode_base > change_preset()
void remove_outliers(uint16_t data[256], int size)
@ RS2_OCC_STATE_WAIT_TO_CAMERA_START
@ RS2_OCC_ACTION_TARE_CALIB
std::vector< uint8_t > get_PyRxFL_calibration_results(float *const health=nullptr, float *health_fl=nullptr) const
rs2_rs400_visual_preset
For RS400 devices: provides optimized settings (presets) for specific types of usage.
rs2_metadata_type _prev_frame_counter
void fill_missing_data(uint16_t data[256], int size)
@ RS2_OCC_STATE_FINAL_FW_CALL
preset _old_preset_values
std::vector< uint8_t > run_focal_length_calibration(rs2_frame_queue *left, rs2_frame_queue *right, float target_w, float target_h, int adjust_both_sides, float *ratio, float *angle, rs2_update_progress_callback_sptr progress_callback) override
auto_calib_action _action
uint16_t _fill_factor[256]
@ RS2_OCC_ACTION_ON_CHIP_CALIB
std::vector< uint8_t > get_calibration_results(float *const health=nullptr) const
std::vector< uint8_t > run_uv_map_calibration(rs2_frame_queue *left, rs2_frame_queue *color, rs2_frame_queue *depth, int py_px_only, float *const health, int health_size, rs2_update_progress_callback_sptr progress_callback) override
interactive_calibration_state _interactive_state
void check_focal_length_params(int step_count, int fy_scan_range, int keep_new_value_after_sucessful_scan, int interrrupt_data_samling, int adjust_both_sides, int fl_scan_location, int fy_scan_direction, int white_wall_mode) const
@ RS2_OCC_STATE_INITIAL_FW_CALL
void handle_calibration_error(int status) const
std::vector< uint8_t > get_calibration_table() const override
GLint GLint GLsizei GLsizei GLsizei depth
uint16_t _min_valid_depth
void set_calibration_table(const std::vector< uint8_t > &calibration) override
interactive_calibration_state
librealsense2
Author(s): LibRealSense ROS Team
autogenerated on Fri Aug 2 2024 08:30:01