Hi.

I'm currently getting started with an OAK-FFC 4P (https://shop.luxonis.com/collections/oak-modules/products/oak-ffc-4p) with 2 Oak FFC AR0234 M12 cameras attached to it, using the 4 lane mipi ports on Camera A and D. I followed the documentation link to this page (https://docs.luxonis.com/projects/hardware/en/latest/pages/DD2090/) where it instructs after hooking up cameras to use 'utilities/cam_test.py' (https://docs.luxonis.com/projects/hardware/en/latest/pages/DD2090/) to test cameras.

I installed depthai and python-opencv packages on my host computer (running ubuntu 22.04) and afterwards ran:

sudo python3 cam_test.py --cameras rgb,c camd,c

Enabled cameras:

rgb : color

camd : color

DepthAI version: 2.23.0.0

DepthAI path: /usr/local/lib/python3.10/dist-packages/depthai.cpython-310-x86_64-linux-gnu.so

/home/chrisn/Software/Lantern/Luxonis/cam_test.py:320: DeprecationWarning: Use constructor taking 'UsbSpeed' instead

with dai.Device(*dai_device_args) as device:

[14442C10F1F6E6D600] [3.2] [3.473] [ColorCamera(5)] [warning] Unsupported resolution set for detected camera AR0234, needs 1200_P, defaulting to it

[14442C10F1F6E6D600] [3.2] [3.473] [ColorCamera(3)] [warning] Unsupported resolution set for detected camera AR0234, needs 1200_P, defaulting to it

Connected cameras:

-socket CAM_A : AR0234 1920 x 1200 focus:fixed - COLOR MONO

-socket CAM_D : AR0234 1920 x 1200 focus:fixed - COLOR MONO

USB speed: SUPER

IR drivers: []

Traceback (most recent call last):

File "/home/chrisn/Software/Lantern/Luxonis/cam_test.py", line 383, in <module>

control_mode = Cycle(dai.CameraControl.ControlMode)

AttributeError: type object 'depthai.CameraControl' has no attribute 'ControlMode'

I do see dmesg activity showing a 'Luxonis Bootloader' being discovered on my host machine, however I'm not sure of next steps. Is the host machine intended to run one of the preconfigured OS images you have on this page (https://docs.luxonis.com/projects/hardware/en/latest/pages/guides/raspberrypi/#flashing-usd-card) to successfully talk with the device?

Thanks.

Rather than use the base python installation packages, I was able to build the depthai-core library from source, and then the depthai-python library from source afterwards, along with setting udev rules, and achieved success.

    Hi cniessl
    Yeah, this looks like a mismatch in the repo (depthai-python) version and the actual depthai version. When changing the repo it's always recommended to run python3 examples/install_requirements.py, to make sure the versions match.

    Thanks,
    Jaka