B
brambley9

  • 4 days ago
  • Joined Oct 23, 2024
  • 1 best answer
  • jakaskerl

    Thanks for the response. I managed to find the cause of the issue and it was on the network side of things. The camera that wasn't working was being bandwidth limited. My guess is that the oak_bandwidth_test.py script was crashing because there wasn't enough bandwidth for it to complete the test.

    Thanks

  • I have two OAK-D Pro W POE cameras connected to a computer (headless) through a 100mb LAN connection. I have been running this setup for months, with the cameras performing object detection through various software iterations. After one change I made in software I unintentionally reduced the framerate on the cameras from 7-8 FPS to around 2 FPS. After a bit of troubleshooting I was able to find the cause of my issue and rectified it.

    The FPS on one of the cameras returned to the original 7-8 FPS, however the second camera remained at 2 FPS. No matter what I do I cannot get the FPS back up on the second camera. The cameras are in a remote location so I have to troubleshoot this issue remotely, but with the same hardware setup locally I am running the current code at 7-8 FPS on both cameras.

    Both cameras are running the latest bootloader: Version: 0.0.28

    I've tried re-flashing the bootloader on the problem camera but it has not helped.

    I tried to run the oak_bandwidth_test.py script (since bandwidth limitations were the cause of my initial low FPS problem), and I got the following output:

    [1730789369.618] [host] [warning] Device crashed, but no crash dump could be extracted.

    This script runs fine on the camera that is working correctly.

    Any help would be greatly appreciated,
    Thanks

    • jakaskerl replied to this.
    • jakaskerl

      Thanks for the response. I managed to find the cause of the issue and it was on the network side of things. The camera that wasn't working was being bandwidth limited. My guess is that the oak_bandwidth_test.py script was crashing because there wasn't enough bandwidth for it to complete the test.

      Thanks

    • According to the release notes here: https://docs.luxonis.com/software/release-notes/

      In version 2.26.0 an option to limit bandwidth was added: XLink setXLinkRateLimit(int maxRateBytesPerSecond, int burstSize, int delayUs)

      I am unable to find any documentation on how to use this, nor can I find a reference to it anywhere in the source code in v2.26.0 or v2.28.0.

      Does this functionality exist? or is there an alternate way I can limit the bandwidth of an Oak camera?