Go to the documentation of this file.
18 <<
" doesn't support alt IR option";
33 const std::vector< stream_profile > & expected_profiles )
35 std::vector< stream_profile >
profiles = expected_profiles;
62 const std::vector< stream_profile > & expected_profiles )
64 std::vector< stream_profile >
profiles = expected_profiles;
67 std::condition_variable
cv;
70 auto wait_for_streams = [&]() {
72 std::unique_lock< std::mutex >
lock(
m );
73 REQUIRE(
cv.wait_for(
lock, std::chrono::seconds( 20 ), [&]() {
74 return profiles.size() == 0;
79 std::unique_lock< std::mutex > lock( m );
80 remove_all_streams_arrived( f, profiles );
@ RS2_CALIBRATION_MANUAL_DEPTH_TO_RGB
status
Defines return codes that SDK interfaces use. Negative values indicate errors, a zero value indicates...
void open(const stream_profile &profile) const
bool supports(rs2_camera_info info) const
static std::condition_variable cv
void enable_alt_ir_and_check_that_AC_fails(const rs2::device &dev, const rs2::depth_sensor &depth_sens, const std::vector< stream_profile > &expected_profiles)
REQUIRE_NOTHROW(rs2_log(RS2_LOG_SEVERITY_INFO, "Log message using rs2_log()", nullptr))
void set_option(rs2_option option, float value) const
@ RS2_CALIBRATION_BAD_CONDITIONS
@ RS2_CAMERA_INFO_FIRMWARE_VERSION
bool alt_ir_supported_or_message(const rs2::depth_sensor &depth_sens)
#define REQUIRE_THROWS(...)
void set_alt_ir_if_needed(const rs2::depth_sensor &depth_sens, float val)
const char * get_info(rs2_camera_info info) const
void enable_alt_ir_and_check_that_all_streams_arrived(const rs2::device &dev, const rs2::depth_sensor &depth_sens, const std::vector< stream_profile > &expected_profiles)
static const textual_icon lock
float get_option(rs2_option option) const
void start(T callback) const
@ RS2_OPTION_ALTERNATE_IR
librealsense2
Author(s): LibRealSense ROS Team
autogenerated on Thu Dec 22 2022 03:13:13