7 #include "../../../func-common.h" 8 #include "../../presets-common.h" 13 TEST_CASE(
"check current values on start up",
"[l500][live]" )
const std::string MIN_GET_DEFAULT_FW_VERSION("1.5.4.0")
void compare_to_actual(const rs2::sensor &sens, const std::map< rs2_option, float > &expected_values, const std::map< rs2_option, float > &expected_defaults)
std::map< preset_mode_pair, std::map< rs2_option, float > > preset_values_map
rs2::device_list find_devices_by_product_line_or_exit(int product)
void build_new_device_and_do(std::function< void(rs2::depth_sensor &depth_sens) > action)
#define RS2_PRODUCT_LINE_L500
rs2_sensor_mode
For setting the camera_mode option.
REQUIRE_NOTHROW(rs2_log(RS2_LOG_SEVERITY_INFO,"Log message using rs2_log()", nullptr))
void exit_if_fw_version_is_under(rs2::device &dev, librealsense::firmware_version version)
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)
option_range get_option_range(rs2_option option) const
TEST_CASE("check current values on start up","[l500][live]")
void set_option(rs2_option option, float value) const
rs2_l500_visual_preset
For L500 devices: provides optimized settings (presets) for specific types of usage.