Skip to content

Commit

Permalink
Merge pull request IntelRealSense#9284 from nohayassin/lrs_114_syncer…
Browse files Browse the repository at this point in the history
…_ir_throughput

Syncer IR throughput nightly test stability
  • Loading branch information
ev-mp authored Jun 24, 2021
2 parents 56b1b2a + 9841e6c commit 7ee5e7e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions unit-tests/live/syncer/test-throughput.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -229,6 +229,11 @@ TEST_CASE("Syncer dynamic FPS - throughput test", "[live]")
std::cout << "ERROR : sensors are not valid!" << std::endl;
exit(EXIT_FAILURE);
}
if (ir_sensor.supports(RS2_OPTION_ENABLE_AUTO_EXPOSURE))
ir_sensor.set_option(RS2_OPTION_ENABLE_AUTO_EXPOSURE, false);
if (rgb_sensor.supports(RS2_OPTION_ENABLE_AUTO_EXPOSURE))
rgb_sensor.set_option(RS2_OPTION_ENABLE_AUTO_EXPOSURE, false);

// test configurations
configuration tests[2] = { IR_ONLY, IR_RGB_EXPOSURE }; // {cfg, exposure}
for (auto& test : tests)
Expand Down

0 comments on commit 7ee5e7e

Please sign in to comment.