Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Selecting a camera causes initial, autoselected camera to vanish from device list #76

Open
TristanHodgins opened this issue Nov 25, 2024 · 1 comment

Comments

@TristanHodgins
Copy link

Describe the bug
I am using multiple OAK-D cameras (2 OAK-D Pro W PoEs and 1 OAK-D Long Range) all connected to my computer through a POE switch. When I boot up depthai-viewer, it will select one of the cameras to view. If I go to the camera selection menu, I can succesfully select a different camera to view, however, the one that was initially selected will no longer appear in the drop-down menu until the viewer is rebooted.

To Reproduce
Steps to reproduce the behavior:

  1. Connect multiple cameras to your computer through a POE switch.
  2. Load up depthai-viewer
  3. In the device settings tab, go to the camera select menu
  4. Select a different camera, wait for the pipeline to update
  5. In the device settings tab, go again to the camera select menu
  6. Observe that your original camera is not listed

Expected behavior
I would expect that the initally selected camera apears in the drop down menu

Desktop (please complete the following information):

  • OS: Linux 22.04.5
@zrezke
Copy link
Collaborator

zrezke commented Nov 26, 2024

Hey @TristanHodgins
New cameras are only queried when no device is selected (because there would be some stuttering happening every two seconds if we were to query the devices (even in a thread)).
A scan for new devices will happen continuously only when "No device" is selected.

I agree that the behavior is not what a user would expect. Any fixes welcome ;) but for now we won't fix it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants