jakaskerl
UPDATE
I was able to get my camera to run while using the pointcloud.py from the rerun repo, however I ran into the same issue as before. Giving me the error of
PS S:\DEPT\SVM4\Shared\Crossfunctional_Work\Projects\DepthCameras\LuxonisDepthAI\test_run\depthai-experiments\gen2-rerun> python pointcloud.py
StereoDepth config options:
Left-Right check: True
Extended disparity: False
Subpixel: True
Median filtering: MedianFilter.KERNEL_7x7
S:\DEPT\SVM4\Shared\Crossfunctional_Work\Projects\DepthCameras\LuxonisDepthAI\test_run\depthai-experiments\gen2-rerun\pointcloud.py:30: DeprecationWarning: LEFT is deprecated, use CAM_B or address camera by name instead.
monoLeft.setBoardSocket(dai.CameraBoardSocket.LEFT)
S:\DEPT\SVM4\Shared\Crossfunctional_Work\Projects\DepthCameras\LuxonisDepthAI\test_run\depthai-experiments\gen2-rerun\pointcloud.py:34: DeprecationWarning: RIGHT is deprecated, use CAM_C or address camera by name instead.
monoRight.setBoardSocket(dai.CameraBoardSocket.RIGHT)
S:\DEPT\SVM4\Shared\Crossfunctional_Work\Projects\DepthCameras\LuxonisDepthAI\test_run\depthai-experiments\gen2-rerun\pointcloud.py:72: DeprecationWarning: RGB is deprecated, use CAM_A or address camera by name instead.
stereo.setDepthAlign(dai.CameraBoardSocket.RGB)
[2024-08-27T13:43:05Z INFO re_sdk_comms::server] Hosting a SDK server over TCP at 0.0.0.0:9876. Connect with the Rerun logging SDK.
[2024-08-27T13:43:05Z INFO re_sdk_comms::server] New SDK client connected from: 127.0.0.1:51334
[2024-08-27T13:43:08Z INFO egui_wgpu] There were 4 available wgpu adapters: {backend: Vulkan, device_type: IntegratedGpu, name: "Intel(R) UHD Graphics", driver: "Intel Corporation", driver_info: "Intel driver", vendor: 0x8086, device: 0x9A60}, {backend: Vulkan, device_type: DiscreteGpu, name: "NVIDIA RTX A3000 Laptop GPU", driver: "NVIDIA", driver_info: "538.18", vendor: 0x10DE, device: 0x24B8}, {backend: Vulkan, device_type: IntegratedGpu, name: "Intel(R) UHD Graphics", driver: "Intel Corporation", driver_info: "Intel driver", vendor: 0x8086, device: 0x9A60}, {backend: Gl, device_type: IntegratedGpu, name: "Intel(R) UHD Graphics", driver: "OpenGL", driver_info: "4.6.0 - Build 31.0.101.4032", vendor: 0x8086}
Opening device SensorResolution.THE_400_P
[14442C10A1063AD100] [169.254.1.222] [6.915] [StereoDepth(2)] [error] Disparity/depth width must be multiple of 16, but RGB camera width is 427. Set output size explicitly using 'setOutputSize(width, height)'.
[14442C10A1063AD100] [169.254.1.222] [1724766209.568] [host] [warning] Monitor thread (device: 14442C10A1063AD100 [169.254.1.222]) - ping was missed, closing the device connection
[14442C10A1063AD100] [169.254.1.222] [1724766218.882] [host] [warning] Device crashed, but no crash dump could be extracted.
Traceback (most recent call last):
File "S:\DEPT\SVM4\Shared\Crossfunctional_Work\Projects\DepthCameras\LuxonisDepthAI\test_run\depthai-experiments\gen2-rerun\pointcloud.py", line 133, in <module>
**asyncio.run(main())**
File "C:\Users\deg6fni\AppData\Local\anaconda3\envs\depth_ai\Lib\asyncio\runners.py", line 190, in run
**return runner.run(main)**
**^^^^^^^^^^^^^^^^**
File "C:\Users\deg6fni\AppData\Local\anaconda3\envs\depth_ai\Lib\asyncio\runners.py", line 118, in run
**return self._loop.run_until_complete(task)**
**^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^**
Opening device SensorResolution.THE_400_P
[14442C10A1063AD100] [169.254.1.222] [6.915] [StereoDepth(2)] [error] Disparity/depth width must be multiple of 16, but RGB camera width is 427. Set output size explicitly using 'setOutputSize(width, height)'.
[14442C10A1063AD100] [169.254.1.222] [1724766209.568] [host] [warning] Monitor thread (device: 14442C10A1063AD100 [169.254.1.222]) - ping was missed, closing the device connection
[14442C10A1063AD100] [169.254.1.222] [1724766218.882] [host] [warning] Device crashed, but no crash dump could be extracted.
He mentioned about changing the requirements code. I did the same, since I already had these modules/libraires already in my conda environment. I just sat assigned the variables to the current modules versions I already have. Because now that I have the depthai-viewer working, I was afraid that maybe downgrading would cause the viewer application to not work anymore.