From 2214af36a60ce0fda69e9fbe6483cd825c5c4373 Mon Sep 17 00:00:00 2001 From: Matevz Morato Date: Wed, 5 Jun 2024 10:45:07 +0200 Subject: [PATCH] setIsp3aFps deprecation --- include/depthai/pipeline/node/Camera.hpp | 2 +- include/depthai/pipeline/node/ColorCamera.hpp | 2 +- include/depthai/pipeline/node/MonoCamera.hpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/include/depthai/pipeline/node/Camera.hpp b/include/depthai/pipeline/node/Camera.hpp index 0e7f2c778..de9338d18 100644 --- a/include/depthai/pipeline/node/Camera.hpp +++ b/include/depthai/pipeline/node/Camera.hpp @@ -205,7 +205,7 @@ class Camera : public NodeCRTP { * Note that camera controls will be processed at this rate. E.g. if camera is running at 30 fps, and camera control is sent at every frame, * but 3A fps is set to 15, the camera control messages will be processed at 15 fps rate, which will lead to queueing. */ - void setIsp3aFps(int isp3aFps); + [[deprecated("setIsp3aFps is unstable")]] void setIsp3aFps(int isp3aFps); /** * Get rate at which camera should produce frames diff --git a/include/depthai/pipeline/node/ColorCamera.hpp b/include/depthai/pipeline/node/ColorCamera.hpp index 0f2890e71..fc2859f0f 100644 --- a/include/depthai/pipeline/node/ColorCamera.hpp +++ b/include/depthai/pipeline/node/ColorCamera.hpp @@ -230,7 +230,7 @@ class ColorCamera : public NodeCRTP { * but 3A fps is set to 15, the camera control messages will be processed at 15 fps rate, which will lead to queueing. */ - void setIsp3aFps(int isp3aFps); + [[deprecated("setIsp3aFps is unstable")]] void setIsp3aFps(int isp3aFps); // Set events on which frames will be received void setFrameEventFilter(const std::vector& events); diff --git a/include/depthai/pipeline/node/MonoCamera.hpp b/include/depthai/pipeline/node/MonoCamera.hpp index d6c6c8b52..af3ba0964 100644 --- a/include/depthai/pipeline/node/MonoCamera.hpp +++ b/include/depthai/pipeline/node/MonoCamera.hpp @@ -125,7 +125,7 @@ class MonoCamera : public NodeCRTP { * but 3A fps is set to 15, the camera control messages will be processed at 15 fps rate, which will lead to queueing. */ - void setIsp3aFps(int isp3aFps); + [[deprecated("setIsp3aFps is unstable")]] void setIsp3aFps(int isp3aFps); /** * Get rate at which camera should produce frames