Closed cesarpgouveia closed 4 weeks ago
@cesarpgouveia commands are accepted and applied when I try running your script. Have crashing issues when changing exposure, didn't check why. Why not just use code from https://github.com/luxonis/depthai-core/blob/main/examples/ColorCamera/rgb_camera_control.cpp?
Thanks, Jaka
Hey @jakaskerl, thanks for the quick response! I tried using that code, and everything works except for the tryGetAll() function. It seems like it's not available in my DepthAI NuGet package. Was this function only introduced in a more recent version of the DepthAI core?
Here are the versions I'm currently using for DepthAI core and dependencies:
Note: I also tried pulling the latest version of the depthai-core c++ repo code, rebuilt everything, and created a test project under your solution. Everything worked as expected, so I’m thinking this might be version-related, but you probably know better than I do.
@jakaskerl
Hey @jakaskerl apparently that code you sent me and the new version (2.28) solved my issue, thanks for the help, closing this issue.
Environment: Operating System: Windows 10 DepthAI Version: most up to date till 02/10/2024 OpenCV Version: 4.8.1 Device: OAK-D Compiler: Visual Studio 2022
Summary: I am trying to dynamically update camera parameters such as White Balance and Exposure using key presses while running a pipeline. The parameters only seem to set once, and after that, further adjustments fail to take effect. Sometimes the application crashes.
Here’s a minimal code example to reproduce the issue (code is a little bit messy so if you find it hard to read just tell me and I will send a minimal version of the problem):