feat: default SDK tuning params to unset

This commit is contained in:
ob-yalian
2026-05-27 10:27:49 +08:00
parent 139add9f02
commit 532438d5a7
2 changed files with 92 additions and 82 deletions
@@ -766,7 +766,7 @@ class OBCameraNode {
int left_ir_sequence_id_filter_id_ = -1;
bool enable_frame_sync_ = false;
// Only for Gemini2 device
std::string disparity_to_depth_mode_ = "HW";
std::string disparity_to_depth_mode_;
std::string depth_work_mode_;
std::string preset_resolution_config_;
OBMultiDeviceSyncMode sync_mode_ = OBMultiDeviceSyncMode::OB_MULTI_DEVICE_SYNC_MODE_FREE_RUN;
@@ -854,8 +854,8 @@ class OBCameraNode {
int threshold_filter_max_ = -1;
int threshold_filter_min_ = -1;
float hardware_noise_removal_filter_threshold_ = -1.0;
int noise_removal_filter_min_diff_ = 256;
int noise_removal_filter_max_size_ = 80;
int noise_removal_filter_min_diff_ = -1;
int noise_removal_filter_max_size_ = -1;
float spatial_filter_alpha_ = -1;
int spatial_filter_diff_threshold_ = -1;
int spatial_filter_magnitude_ = -1;
@@ -907,7 +907,7 @@ class OBCameraNode {
bool enable_frame_timestamp_csv_ = false;
std::string frame_timestamp_csv_file_;
std::unique_ptr<FrameTimestampCsvLogger> frame_timestamp_csv_logger_;
std::string exposure_range_mode_ = "default";
std::string exposure_range_mode_;
std::string load_config_json_file_path_ = "";
std::string export_config_json_file_path_ = "";
// soft ware trigger
@@ -935,33 +935,33 @@ class OBCameraNode {
std::vector<std::shared_ptr<ob::Filter>> right_ir_filter_list_;
// interleave AE
std::string interleave_ae_mode_ = "hdr"; // hdr or laser
std::string interleave_ae_mode_; // hdr or laser
bool interleave_frame_enable_ = false;
bool interleave_skip_enable_ = false;
int interleave_skip_index_ = 1;
int interleave_skip_index_ = -1;
// hdr and laser interleave params
int hdr_index1_laser_control_ = 1;
int hdr_index1_depth_exposure_ = 1;
int hdr_index1_depth_gain_ = 16;
int hdr_index1_ir_brightness_ = 30;
int hdr_index1_ir_ae_max_exposure_ = 30458;
int hdr_index0_laser_control_ = 1;
int hdr_index0_depth_exposure_ = 7500;
int hdr_index0_depth_gain_ = 16;
int hdr_index0_ir_brightness_ = 90;
int hdr_index0_ir_ae_max_exposure_ = 30458;
int hdr_index1_laser_control_ = -1;
int hdr_index1_depth_exposure_ = -1;
int hdr_index1_depth_gain_ = -1;
int hdr_index1_ir_brightness_ = -1;
int hdr_index1_ir_ae_max_exposure_ = -1;
int hdr_index0_laser_control_ = -1;
int hdr_index0_depth_exposure_ = -1;
int hdr_index0_depth_gain_ = -1;
int hdr_index0_ir_brightness_ = -1;
int hdr_index0_ir_ae_max_exposure_ = -1;
int laser_index1_laser_control_ = 0;
int laser_index1_depth_exposure_ = 3000;
int laser_index1_depth_gain_ = 16;
int laser_index1_ir_brightness_ = 60;
int laser_index1_ir_ae_max_exposure_ = 7000;
int laser_index0_laser_control_ = 1;
int laser_index0_depth_exposure_ = 3000;
int laser_index0_depth_gain_ = 16;
int laser_index0_ir_brightness_ = 60;
int laser_index0_ir_ae_max_exposure_ = 17000;
int laser_index1_laser_control_ = -1;
int laser_index1_depth_exposure_ = -1;
int laser_index1_depth_gain_ = -1;
int laser_index1_ir_brightness_ = -1;
int laser_index1_ir_ae_max_exposure_ = -1;
int laser_index0_laser_control_ = -1;
int laser_index0_depth_exposure_ = -1;
int laser_index0_depth_gain_ = -1;
int laser_index0_ir_brightness_ = -1;
int laser_index0_ir_ae_max_exposure_ = -1;
int disparity_range_mode_ = -1;
int disparity_search_offset_ = -1;