Hello:
What is the best way to query a ToF camera (OAK-FFC ToF 33D) using DepthAI in a Jupyter Notebook?
When I take the tof_depth.py example code and run it directly in a Jupyter Notebook it gives communication errors on the dai.Device(pipeline).getOutputQueue(name="depth").get()
call.
I followed the advise on a related issue with an 'rgb' camera and it seems to be connecting via USB3 when the python (not Jupyter notebook) is called.
Thanks!
PS. If it helps, please see the notebook is here. The full error is:
Cell In[10], line 4
1
# Connect to device and start pipeline
2
q = dai.Device(pipeline).getOutputQueue(name="depth") ---->
4 imgFrame = q.get() # blocking call, will wait until a new data has arrived
5
depth_map = imgFrame.getFrame()
7
# Colorize the depth frame to jet colormap RuntimeError: Communication exception - possible device error/misconfiguration. Original message 'Couldn't read data from stream: 'depth' (X_LINK_ERROR)'