Skip to content

Commit

Permalink
Add some debug output
Browse files Browse the repository at this point in the history
  • Loading branch information
JonasVautherin committed Nov 30, 2024
1 parent 409007b commit 693285b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions src/system_tests/camera_settings.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -86,10 +86,12 @@ TEST(SystemTest, CameraSettings)
// But we want to end the test as early as possible. So we check regularly
// for a period of time and exit early if the check passes.
std::this_thread::sleep_for(std::chrono::milliseconds(200));
std::cout << "Trying to get possible_setting_options" << std::endl;

possible_setting_options =
camera.get_possible_setting_options(camera.camera_list().cameras[0].component_id);
if (possible_setting_options.first == Camera::Result::Success && possible_setting_options.second.size() == 11) {
std::cout << "All good, possible_setting_options has 11 elements" << std::endl;
break;
}
}
Expand Down

0 comments on commit 693285b

Please sign in to comment.