From b11585f3779a2d58c8a507c5ba8cd8c31399f670 Mon Sep 17 00:00:00 2001 From: Serafadam Date: Wed, 15 Jan 2025 17:44:12 +0100 Subject: [PATCH] try updating tests --- tests/src/ondevice_tests/rgbd_test.cpp | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/tests/src/ondevice_tests/rgbd_test.cpp b/tests/src/ondevice_tests/rgbd_test.cpp index 25f83be04..0ef7e407e 100644 --- a/tests/src/ondevice_tests/rgbd_test.cpp +++ b/tests/src/ondevice_tests/rgbd_test.cpp @@ -1,6 +1,6 @@ #include #include -#include +#include "depthai/depthai.hpp" TEST_CASE("basic rgbd") { // Create pipeline @@ -11,18 +11,11 @@ TEST_CASE("basic rgbd") { auto stereo = pipeline.create(); auto rgbd = pipeline.create()->build(); auto color = pipeline.create(); - stereo->setExtendedDisparity(false); color->build(); left->build(dai::CameraBoardSocket::LEFT); right->build(dai::CameraBoardSocket::RIGHT); - stereo->setSubpixel(true); - stereo->setExtendedDisparity(false); - stereo->setDefaultProfilePreset(dai::node::StereoDepth::PresetMode::HIGH_DENSITY); - stereo->setLeftRightCheck(true); - stereo->setRectifyEdgeFillColor(0); // black, to better see the cutout - stereo->enableDistortionCorrection(true); - stereo->initialConfig.setLeftRightCheckThreshold(10); + stereo->setDefaultProfilePreset(dai::node::StereoDepth::PresetMode::DEFAULT); auto *out = color->requestOutput(std::pair(1280, 720), dai::ImgFrame::Type::RGB888i); out->link(stereo->inputAlignTo);