Skip to content

Support independent development of DepthAI ver3 + Robotourist API#1039

Merged
m3d merged 20 commits intomasterfrom
feature/depthai3
Feb 20, 2026
Merged

Support independent development of DepthAI ver3 + Robotourist API#1039
m3d merged 20 commits intomasterfrom
feature/depthai3

Conversation

@m3d
Copy link
Copy Markdown
Member

@m3d m3d commented Feb 14, 2026

This is primarily introduction of driver switch to support DepthAI2 "as it was" + "work in progress" on DepthAI3. Moreover there is patch related to experimental RedRoad/Robotourist OAK-D output (see robotika/osgar-apps#21). The diff seems to be large, but it is rather file rename.

@m3d m3d requested review from MartinLocker, jisa and tajgr February 14, 2026 19:06
@tajgr
Copy link
Copy Markdown
Collaborator

tajgr commented Feb 20, 2026

I would like a test config for oak cameras.. Not absolutny necessary now but useful. I will test it with my sr camera.

@tajgr
Copy link
Copy Markdown
Collaborator

tajgr commented Feb 20, 2026

sorry, the config is not necessary.. but:

python -m osgar.record config/test-oak-sr-usb.json --duration 20
2026-02-20 17:32:22,495 __main__         INFO     /home/jakub/git/logs_osgar/test-oak-sr-usb-260220_163222.log
Using depthai version: 3.3.0
2026-02-20 17:32:22,631 __main__         INFO     SIGINT handler installed
Exception in thread Thread-1 (run_input):
Traceback (most recent call last):
  File "/home/jakub/miniconda3/envs/py12/lib/python3.12/threading.py", line 1052, in _bootstrap_inner
    self.run()
  File "/home/jakub/miniconda3/envs/py12/lib/python3.12/threading.py", line 989, in run
    self._target(*self._args, **self._kwargs)
  File "/home/jakub/git/osgar/osgar/drivers/oak_camera_v3.py", line 109, in run_input
    cam_rgb = pipeline.create(dai.node.Camera).build(dai.CameraBoardSocket.CAM_A)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
RuntimeError: Camera socket not found on the connected device

That is because there is no CAM_A on SR camera. Just B and C.
ver2 is working.

@m3d
Copy link
Copy Markdown
Member Author

m3d commented Feb 20, 2026

sorry, the config is not necessary.. but:

python -m osgar.record config/test-oak-sr-usb.json --duration 20
2026-02-20 17:32:22,495 __main__         INFO     /home/jakub/git/logs_osgar/test-oak-sr-usb-260220_163222.log
Using depthai version: 3.3.0
2026-02-20 17:32:22,631 __main__         INFO     SIGINT handler installed
Exception in thread Thread-1 (run_input):
Traceback (most recent call last):
  File "/home/jakub/miniconda3/envs/py12/lib/python3.12/threading.py", line 1052, in _bootstrap_inner
    self.run()
  File "/home/jakub/miniconda3/envs/py12/lib/python3.12/threading.py", line 989, in run
    self._target(*self._args, **self._kwargs)
  File "/home/jakub/git/osgar/osgar/drivers/oak_camera_v3.py", line 109, in run_input
    cam_rgb = pipeline.create(dai.node.Camera).build(dai.CameraBoardSocket.CAM_A)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
RuntimeError: Camera socket not found on the connected device

That is because there is no CAM_A on SR camera. Just B and C. ver2 is working.

OK, thanks for test - do you prefer to fix it here, or merge and you will create fixing PR for SR cameras?

@tajgr
Copy link
Copy Markdown
Collaborator

tajgr commented Feb 20, 2026

It is up to you but feel free to merge it and i will fix it later.

@m3d m3d merged commit 4cc0b13 into master Feb 20, 2026
2 checks passed
@m3d m3d deleted the feature/depthai3 branch February 20, 2026 20:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants