Hi, I updated the depthai to 2.24.0.0, but I get the following error:
/home/vuk.radosavljevic/depthai-python/tests/cam_test.py:86: DeprecationWarning: RGB is deprecated, use CAM_A or address camera by name instead.
'rgb' : dai.CameraBoardSocket.RGB, # Or CAM_A
/home/vuk.radosavljevic/depthai-python/tests/cam_test.py:87: DeprecationWarning: LEFT is deprecated, use CAM_B or address camera by name instead.
'left' : dai.CameraBoardSocket.LEFT, # Or CAM_B
/home/vuk.radosavljevic/depthai-python/tests/cam_test.py:88: DeprecationWarning: RIGHT is deprecated, use CAM_C or address camera by name instead.
'right': dai.CameraBoardSocket.RIGHT, # Or CAM_C
Traceback (most recent call last):
File "/home/vuk.radosavljevic/depthai-python/tests/cam_test.py", line 152, in <module>
tof[c] = pipeline.createToF()
AttributeError: 'depthai.Pipeline' object has no attribute 'createToF'. Did you mean: 'create'?
I was following all the steps described: https://discuss.luxonis.com/d/787-tof-camera-getting-started/5