Public Member Functions | Private Member Functions | Private Attributes | List of all members
librealsense::auto_calibrated Class Reference

#include <ds5-auto-calibration.h>

Inheritance diagram for librealsense::auto_calibrated:
Inheritance graph
[legend]

Public Member Functions

 auto_calibrated (std::shared_ptr< hw_monitor > &hwm)
 
std::vector< uint8_tget_calibration_table () const override
 
void reset_to_factory_calibration () const override
 
std::vector< uint8_trun_on_chip_calibration (int timeout_ms, std::string json, float *health, update_progress_callback_ptr progress_callback) override
 
std::vector< uint8_trun_tare_calibration (int timeout_ms, float ground_truth_mm, std::string json, update_progress_callback_ptr progress_callback) override
 
void set_calibration_table (const std::vector< uint8_t > &calibration) override
 
void write_calibration () const override
 

Private Member Functions

std::shared_ptr< ds5_advanced_mode_basechange_preset ()
 
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
 
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 check_params (int speed, int scan_parameter, int data_sampling) const
 
void check_tare_params (int speed, int scan_parameter, int data_sampling, int average_step_count, int step_count, int accuracy)
 
std::vector< uint8_tget_calibration_results (float *health=nullptr) const
 
std::vector< uint8_tget_PyRxFL_calibration_results (float *health=nullptr, float *health_fl=nullptr) const
 
void handle_calibration_error (int status) const
 
std::map< std::string, int > parse_json (std::string json)
 

Private Attributes

std::vector< uint8_t_curr_calibration
 
std::shared_ptr< hw_monitor > & _hw_monitor
 

Detailed Description

Definition at line 11 of file ds5-auto-calibration.h.

Constructor & Destructor Documentation

librealsense::auto_calibrated::auto_calibrated ( std::shared_ptr< hw_monitor > &  hwm)

Definition at line 168 of file ds5-auto-calibration.cpp.

Member Function Documentation

std::shared_ptr< ds5_advanced_mode_base > librealsense::auto_calibrated::change_preset ( )
private

Definition at line 656 of file ds5-auto-calibration.cpp.

void librealsense::auto_calibrated::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
private

Definition at line 706 of file ds5-auto-calibration.cpp.

void librealsense::auto_calibrated::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
private

Definition at line 726 of file ds5-auto-calibration.cpp.

void librealsense::auto_calibrated::check_params ( int  speed,
int  scan_parameter,
int  data_sampling 
) const
private

Definition at line 684 of file ds5-auto-calibration.cpp.

void librealsense::auto_calibrated::check_tare_params ( int  speed,
int  scan_parameter,
int  data_sampling,
int  average_step_count,
int  step_count,
int  accuracy 
)
private

Definition at line 694 of file ds5-auto-calibration.cpp.

std::vector< uint8_t > librealsense::auto_calibrated::get_calibration_results ( float *  health = nullptr) const
private

Definition at line 769 of file ds5-auto-calibration.cpp.

std::vector< uint8_t > librealsense::auto_calibrated::get_calibration_table ( ) const
overridevirtual

Implements librealsense::auto_calibrated_interface.

Definition at line 825 of file ds5-auto-calibration.cpp.

std::vector< uint8_t > librealsense::auto_calibrated::get_PyRxFL_calibration_results ( float *  health = nullptr,
float *  health_fl = nullptr 
) const
private

Definition at line 796 of file ds5-auto-calibration.cpp.

void librealsense::auto_calibrated::handle_calibration_error ( int  status) const
private

Definition at line 744 of file ds5-auto-calibration.cpp.

std::map< std::string, int > librealsense::auto_calibrated::parse_json ( std::string  json)
private

Definition at line 171 of file ds5-auto-calibration.cpp.

void librealsense::auto_calibrated::reset_to_factory_calibration ( ) const
overridevirtual

Implements librealsense::auto_calibrated_interface.

Definition at line 874 of file ds5-auto-calibration.cpp.

std::vector< uint8_t > librealsense::auto_calibrated::run_on_chip_calibration ( int  timeout_ms,
std::string  json,
float *  health,
update_progress_callback_ptr  progress_callback 
)
overridevirtual

Implements librealsense::auto_calibrated_interface.

Definition at line 246 of file ds5-auto-calibration.cpp.

std::vector< uint8_t > librealsense::auto_calibrated::run_tare_calibration ( int  timeout_ms,
float  ground_truth_mm,
std::string  json,
update_progress_callback_ptr  progress_callback 
)
overridevirtual

Implements librealsense::auto_calibrated_interface.

Definition at line 560 of file ds5-auto-calibration.cpp.

void librealsense::auto_calibrated::set_calibration_table ( const std::vector< uint8_t > &  calibration)
overridevirtual

Implements librealsense::auto_calibrated_interface.

Definition at line 861 of file ds5-auto-calibration.cpp.

void librealsense::auto_calibrated::write_calibration ( ) const
overridevirtual

Implements librealsense::auto_calibrated_interface.

Definition at line 849 of file ds5-auto-calibration.cpp.

Member Data Documentation

std::vector<uint8_t> librealsense::auto_calibrated::_curr_calibration
private

Definition at line 33 of file ds5-auto-calibration.h.

std::shared_ptr<hw_monitor>& librealsense::auto_calibrated::_hw_monitor
private

Definition at line 34 of file ds5-auto-calibration.h.


The documentation for this class was generated from the following files:


librealsense2
Author(s): Sergey Dorodnicov , Doron Hirshberg , Mark Horn , Reagan Lopez , Itay Carpis
autogenerated on Mon May 3 2021 02:50:37