7 #include "../func-common.h" 12 TEST_CASE(
"presets sanity while streaming",
"[l500][live]" )
const std::string MIN_GET_DEFAULT_FW_VERSION("1.5.4.0")
std::pair< rs2_l500_visual_preset, rs2_sensor_mode > preset_mode_pair
std::map< preset_mode_pair, std::map< rs2_option, float > > preset_values_map
void check_presets_values_while_streaming(std::vector< rs2_l500_visual_preset > presets_to_check, const rs2::sensor &sens, preset_values_map &preset_to_expected_values, preset_values_map &preset_to_expected_defaults, std::function< void(preset_mode_pair) > do_before_stream_start=nullptr, std::function< void(preset_mode_pair) > do_after_stream_start=nullptr)
rs2::device_list find_devices_by_product_line_or_exit(int product)
#define RS2_PRODUCT_LINE_L500
TEST_CASE("presets sanity while streaming","[l500][live]")
void exit_if_fw_version_is_under(rs2::device &dev, librealsense::firmware_version version)
void reset_camera_preset_mode_to_defaults(const rs2::sensor &sens)
void build_presets_to_expected_values_defs_map(rs2::device &dev, rs2::depth_sensor &depth_sens, preset_values_map &expected_values, preset_values_map &expected_defs)
void set_mode_preset(const rs2::sensor &sens, preset_mode_pair preset_mode)