Hello. I am using depthai-core via C++. Following the "RGB video" code example (https://docs.luxonis.com/projects/api/en/latest/samples/ColorCamera/rgb_video/#rgb-video) I am experiencing erratic connection behavior. I am connected via ethernet.
First, is there a way to specify the IP address of the camera rather than auto-detection? I get the sense that the core API is searching for a camera in many places and that this is part of the problem. There is no USB, only ethernet, and no need to hunt for IPs by discovery.
Second, generally speaking, it is shockingly unstable. Half the time when I try to connect I get device not found errors. And it seems there are some timing problems. If I just run the code without breaks, it errors out frequently. If I debug the code and slowly step through things, allowing time to pass between steps, it's more stable. Am I missing something here with the depthai-core API? It feels like it lacks basic exception handling and the ability to retry or wait etc? It's very frustrating. Out of the box, code examples all crash unless I slowly step through the logic. Which is a bit bizarre.
Thanks!