I'm trying to run the gen2-depth-people-counting example and I'm getting this error with the debug enable
(venv) rafaelrodriguez@Rafaels-MacBook-Pro gen2-depth-people-counting % python main.py
creating out queue for right
creating out queue for left
[2023-05-14 09:39:55.607] [warning] Monitor thread (device: 18443010E12B8F0F00 [192.168.101.44]) - ping was missed, closing the device connection
Traceback (most recent call last):
File "/Users/rafaelrodriguez/Luxonis/depthai-experiments/gen2-depth-people-counting/main.py", line 133, in <module>
depthFrame = depthQ.get().getFrame()
RuntimeError: Communication exception - possible device error/misconfiguration. Original message 'Couldn't read data from stream: 'depthOut' (X_LINK_ERROR)'
(venv) rafaelrodriguez@Rafaels-MacBook-Pro gen2-depth-people-counting % DEPTHAI_LEVEL=debug python main.py
[2023-05-14 09:40:39.291] [debug] Python bindings - version: 2.17.0.0 from 2022-07-12 00:28:00 +0300 build: 2022-07-12 00:24:56 +0000
[2023-05-14 09:40:39.291] [debug] Library information - version: 2.17.0, commit: b63ee54e4ad0b5921b60dfbce1ff9b2660207a91 from 2022-07-12 00:27:27 +0300, build: 2022-07-12 00:24:51 +0000
[2023-05-14 09:40:39.312] [debug] Initialize - finished
[2023-05-14 09:40:39.418] [debug] Resources - Archive 'depthai-bootloader-fwp-0.0.19.tar.xz' open: 3ms, archive read: 123ms
[2023-05-14 09:40:39.799] [debug] Device - OpenVINO version: 2022.1
[2023-05-14 09:40:39.799] [debug] Device - BoardConfig: {"emmc":null,"gpio":[],"logPath":null,"logSizeMax":null,"logVerbosity":null,"network":{"mtu":0,"xlinkTcpNoDelay":true},"pcieInternalClock":null,"sysctl":[],"uart":[],"usb":{"flashBootedPid":63037,"flashBootedVid":999,"maxSpeed":4,"pid":63035,"vid":999},"usb3PhyInternalClock":null,"watchdogInitialDelayMs":null,"watchdogTimeoutMs":null}
libnop:
0000: b9 0d b9 05 81 e7 03 81 3b f6 81 e7 03 81 3d f6 04 b9 02 00 01 ba 00 be be bb 00 bb 00 be be be
0020: be be be
[2023-05-14 09:40:39.934] [debug] Resources - Archive 'depthai-device-fwp-6df2ae14def3d70c1b92ef8ce5a471b10ae30bd5.tar.xz' open: 3ms, archive read: 639ms
[2023-05-14 09:40:39.953] [debug] Searching for device: DeviceInfo(name=, mxid=18443010E12B8F0F00, X_LINK_BOOTLOADER, X_LINK_TCP_IP, X_LINK_MYRIAD_X, X_LINK_SUCCESS)
[2023-05-14 09:40:40.708] [debug] Connected bootloader version 0.0.24
[2023-05-14 09:40:53.121] [debug] Booting FW with Bootloader. Version 0.0.24, Time taken: 12412ms
[2023-05-14 09:40:53.121] [debug] DeviceBootloader about to be closed...
[2023-05-14 09:40:53.121] [debug] XLinkResetRemote of linkId: (0)
[2023-05-14 09:40:53.947] [debug] DeviceBootloader closed, 826
[2023-05-14 09:40:53.952] [debug] Searching for device: DeviceInfo(name=, mxid=18443010E12B8F0F00, X_LINK_BOOTED, X_LINK_TCP_IP, X_LINK_MYRIAD_X, X_LINK_SUCCESS)
[18443010E12B8F0F00] [192.168.101.44] [59.867] [system] [info] Memory Usage - DDR: 0.12 / 340.93 MiB, CMX: 2.05 / 2.50 MiB, LeonOS Heap: 24.97 / 77.60 MiB, LeonRT Heap: 2.88 / 41.39 MiB
[18443010E12B8F0F00] [192.168.101.44] [59.867] [system] [info] Temperatures - Average: 40.45 °C, CSS: 41.20 °C, MSS 39.81 °C, UPA: 40.04 °C, DSS: 40.74 °C
[18443010E12B8F0F00] [192.168.101.44] [59.867] [system] [info] Cpu Usage - LeonOS 5.80%, LeonRT: 0.28%
[2023-05-14 09:41:04.398] [debug] Schema dump: {"connections":[{"node1Id":6,"node1Output":"out","node1OutputGroup":"","node2Id":4,"node2Input":"inputDetections","node2InputGroup":""},{"node1Id":5,"node1Output":"out","node1OutputGroup":"","node2Id":4,"node2Input":"inputTrackerFrame","node2InputGroup":""},{"node1Id":5,"node1Output":"out","node1OutputGroup":"","node2Id":4,"node2Input":"inputDetectionFrame","node2InputGroup":""},{"node1Id":2,"node1Output":"disparity","node1OutputGroup":"","node2Id":3,"node2Input":"in","node2InputGroup":""},{"node1Id":4,"node1Output":"out","node1OutputGroup":"","node2Id":7,"node2Input":"in","node2InputGroup":""},{"node1Id":0,"node1Output":"out","node1OutputGroup":"","node2Id":2,"node2Input":"right","node2InputGroup":""},{"node1Id":1,"node1Output":"out","node1OutputGroup":"","node2Id":2,"node2Input":"left","node2InputGroup":""}],"globalProperties":{"calibData":{"batchName":"","batchTime":0,"boardConf":"","boardCustom":"","boardName":"OAK-D","boardOptions":0,"boardRev":"R1M0E1","cameraData":[[2,{"cameraType":0,"distortionCoeff":[-7.693194389343262,51.975399017333984,0.0012278045760467649,-0.0006654844619333744,-60.03352737426758,-7.779684543609619,52.25653076171875,-60.08742141723633,0.0,0.0,0.0,0.0,0.0,0.0],"extrinsics":{"rotationMatrix":[[0.9999464750289917,0.006831945385783911,-0.007770956959575415],[-0.00682313134893775,0.9999760389328003,0.001160191954113543],[0.007778697181493044,-0.0011071076150983572,0.9999691247940063]],"specTranslation":{"x":3.75,"y":0.0,"z":0.0},"toCameraSocket":0,"translation":{"x":3.6256332397460938,"y":-0.04451398551464081,"z":-0.07621774077415466}},"height":800,"intrinsicMatrix":[[810.8751220703125,0.0,661.3380737304688],[0.0,810.2493286132813,413.0704650878906],[0.0,0.0,1.0]],"lensPosition":0,"specHfovDeg":71.86000061035156,"width":1280}],[1,{"cameraType":0,"distortionCoeff":[-9.209368705749512,65.29181671142578,-5.2166426030453295e-05,0.0004887678078375757,-87.71741485595703,-9.287524223327637,65.54322052001953,-87.8282699584961,0.0,0.0,0.0,0.0,0.0,0.0],"extrinsics":{"rotationMatrix":[[0.9997833371162415,0.020121490582823753,0.005331689026206732],[-0.02013220824301243,0.9997953772544861,0.00196435721591115],[-0.005291072651743889,-0.002071270253509283,0.9999838471412659]],"specTranslation":{"x":-7.5,"y":0.0,"z":0.0},"toCameraSocket":2,"translation":{"x":-7.3771233558654785,"y":0.23111635446548462,"z":0.02729603461921215}},"height":800,"intrinsicMatrix":[[808.2711181640625,0.0,634.1679077148438],[0.0,807.5339965820313,407.65618896484375],[0.0,0.0,1.0]],"lensPosition":0,"specHfovDeg":71.86000061035156,"width":1280}],[0,{"cameraType":0,"distortionCoeff":[13.49544620513916,-166.09605407714844,5.964794399915263e-05,0.0006634833989664912,569.30322265625,13.2777099609375,-164.22024536132813,563.0450439453125,0.0,0.0,0.0,0.0,0.0,0.0],"extrinsics":{"rotationMatrix":[[0.0,0.0,0.0],[0.0,0.0,0.0],[0.0,0.0,0.0]],"specTranslation":{"x":-0.0,"y":-0.0,"z":-0.0},"toCameraSocket":-1,"translation":{"x":0.0,"y":0.0,"z":0.0}},"height":1080,"intrinsicMatrix":[[1568.1187744140625,0.0,970.8564453125],[0.0,1566.134765625,543.0675659179688],[0.0,0.0,1.0]],"lensPosition":100,"specHfovDeg":68.7938003540039,"width":1920}]],"hardwareConf":"","imuExtrinsics":{"rotationMatrix":[[0.0,0.0,0.0],[0.0,0.0,0.0],[0.0,0.0,0.0]],"specTranslation":{"x":0.0,"y":0.0,"z":0.0},"toCameraSocket":-1,"translation":{"x":0.0,"y":0.0,"z":0.0}},"miscellaneousData":[],"productName":"","stereoRectificationData":{"leftCameraSocket":1,"rectifiedRotationLeft":[[0.9999361634254456,-0.011187659576535225,0.0015693354653194547],[0.011186034418642521,0.9999368786811829,0.0010405494831502438],[-0.0015808776952326298,-0.0010229283943772316,0.9999982118606567]],"rectifiedRotationRight":[[0.9995027780532837,-0.0313132107257843,-0.0036982521414756775],[0.03130938112735748,0.9995091557502747,-0.0010897930478677154],[0.0037305615842342377,0.0009734612540341914,0.9999925494194031]],"rightCameraSocket":2},"version":6},"cameraTuningBlobSize":null,"cameraTuningBlobUri":"","leonCssFrequencyHz":700000000.0,"leonMssFrequencyHz":700000000.0,"pipelineName":null,"pipelineVersion":null,"xlinkChunkSize":-1},"nodes":[[0,{"id":0,"ioInfo":[[["","out"],{"blocking":false,"group":"","name":"out","queueSize":8,"type":0,"waitForMessage":false}]],"name":"XLinkIn","properties":[185,3,189,8,114,105,103,104,116,95,105,110,130,0,160,15,0,8]}],[1,{"id":1,"ioInfo":[[["","out"],{"blocking":false,"group":"","name":"out","queueSize":8,"type":0,"waitForMessage":false}]],"name":"XLinkIn","properties":[185,3,189,7,108,101,102,116,95,105,110,130,0,160,15,0,8]}],[2,{"id":2,"ioInfo":[[["","right"],{"blocking":false,"group":"","name":"right","queueSize":8,"type":3,"waitForMessage":true}],[["","debugDispLrCheckIt2"],{"blocking":false,"group":"","name":"debugDispLrCheckIt2","queueSize":8,"type":0,"waitForMessage":false}],[["","rectifiedRight"],{"blocking":false,"group":"","name":"rectifiedRight","queueSize":8,"type":0,"waitForMessage":false}],[["","inputConfig"],{"blocking":false,"group":"","name":"inputConfig","queueSize":4,"type":3,"waitForMessage":false}],[["","debugExtDispLrCheckIt1"],{"blocking":false,"group":"","name":"debugExtDispLrCheckIt1","queueSize":8,"type":0,"waitForMessage":false}],[["","syncedLeft"],{"blocking":false,"group":"","name":"syncedLeft","queueSize":8,"type":0,"waitForMessage":false}],[["","confidenceMap"],{"blocking":false,"group":"","name":"confidenceMap","queueSize":8,"type":0,"waitForMessage":false}],[["","syncedRight"],{"blocking":false,"group":"","name":"syncedRight","queueSize":8,"type":0,"waitForMessage":false}],[["","outConfig"],{"blocking":false,"group":"","name":"outConfig","queueSize":8,"type":0,"waitForMessage":false}],[["","debugExtDispLrCheckIt2"],{"blocking":false,"group":"","name":"debugExtDispLrCheckIt2","queueSize":8,"type":0,"waitForMessage":false}],[["","left"],{"blocking":false,"group":"","name":"left","queueSize":8,"type":3,"waitForMessage":true}],[["","depth"],{"blocking":false,"group":"","name":"depth","queueSize":8,"type":0,"waitForMessage":false}],[["","debugDispLrCheckIt1"],{"blocking":false,"group":"","name":"debugDispLrCheckIt1","queueSize":8,"type":0,"waitForMessage":false}],[["","rectifiedLeft"],{"blocking":false,"group":"","name":"rectifiedLeft","queueSize":8,"type":0,"waitForMessage":false}],[["","debugDispCostDump"],{"blocking":false,"group":"","name":"debugDispCostDump","queueSize":8,"type":0,"waitForMessage":false}],[["","disparity"],{"blocking":false,"group":"","name":"disparity","queueSize":8,"type":0,"waitForMessage":false}]],"name":"StereoDepth","properties":[185,16,185,5,185,9,0,2,136,0,0,122,68,1,0,0,10,3,0,185,7,7,0,185,5,0,2,136,0,0,0,63,0,1,185,4,0,3,136,205,204,204,62,0,185,2,0,134,255,255,0,0,185,2,0,50,185,2,1,0,185,4,255,0,1,0,185,5,1,0,0,128,245,185,3,0,2,127,185,5,1,128,250,129,244,1,128,250,129,244,1,255,1,255,133,0,5,133,32,3,190,190,1,185,5,189,0,189,0,190,16,16,0,3,255,255,1,190]}],[3,{"id":3,"ioInfo":[[["","in"],{"blocking":true,"group":"","name":"in","queueSize":8,"type":3,"waitForMessage":true}]],"name":"XLinkOut","properties":[185,3,136,0,0,128,191,189,8,100,101,112,116,104,79,117,116,0]}],[4,{"id":4,"ioInfo":[[["","passthroughTrackerFrame"],{"blocking":false,"group":"","name":"passthroughTrackerFrame","queueSize":8,"type":0,"waitForMessage":false}],[["","passthroughDetections"],{"blocking":false,"group":"","name":"passthroughDetections","queueSize":8,"type":0,"waitForMessage":false}],[["","inputDetections"],{"blocking":true,"group":"","name":"inputDetections","queueSize":4,"type":3,"waitForMessage":true}],[["","inputTrackerFrame"],{"blocking":true,"group":"","name":"inputTrackerFrame","queueSize":4,"type":3,"waitForMessage":true}],[["","out"],{"blocking":false,"group":"","name":"out","queueSize":8,"type":0,"waitForMessage":false}],[["","inputDetectionFrame"],{"blocking":true,"group":"","name":"inputDetectionFrame","queueSize":4,"type":3,"waitForMessage":true}],[["","passthroughDetectionFrame"],{"blocking":false,"group":"","name":"passthroughDetectionFrame","queueSize":8,"type":0,"waitForMessage":false}]],"name":"ObjectTracker","properties":[185,5,136,0,0,0,0,60,188,4,1,0,0,0,6,0]}],[5,{"id":5,"ioInfo":[[["","out"],{"blocking":false,"group":"","name":"out","queueSize":8,"type":0,"waitForMessage":false}]],"name":"XLinkIn","properties":[185,3,189,7,102,114,97,109,101,73,110,130,0,0,80,0,8]}],[6,{"id":6,"ioInfo":[[["","out"],{"blocking":false,"group":"","name":"out","queueSize":8,"type":0,"waitForMessage":false}]],"name":"XLinkIn","properties":[185,3,189,5,100,101,116,73,110,130,0,0,80,0,8]}],[7,{"id":7,"ioInfo":[[["","in"],{"blocking":true,"group":"","name":"in","queueSize":8,"type":3,"waitForMessage":true}]],"name":"XLinkOut","properties":[185,3,136,0,0,128,191,189,12,116,114,97,99,107,108,101,116,115,79,117,116,0]}]]}
[2023-05-14 09:41:04.399] [debug] Asset map dump: {"map":{}}
[18443010E12B8F0F00] [192.168.101.44] [60.457] [ObjectTracker(4)] [info] Init node object tracker
[18443010E12B8F0F00] [192.168.101.44] [60.458] [system] [info] SIPP (Signal Image Processing Pipeline) internal buffer size '16384'B
[18443010E12B8F0F00] [192.168.101.44] [60.493] [system] [info] StereoDepth allocated resources: shaves: [13-13] cmx slices: [13-13]
ObjectTracker allocated resources: shaves: [15-15] cmx slices: [15-15]
[18443010E12B8F0F00] [192.168.101.44] [60.497] [StereoDepth(2)] [info] Using focal length from calibration intrinsics '810.8751'
[18443010E12B8F0F00] [192.168.101.44] [60.868] [system] [info] Memory Usage - DDR: 112.42 / 340.93 MiB, CMX: 2.06 / 2.50 MiB, LeonOS Heap: 24.99 / 77.60 MiB, LeonRT Heap: 3.44 / 41.39 MiB
[18443010E12B8F0F00] [192.168.101.44] [60.868] [system] [info] Temperatures - Average: 40.33 °C, CSS: 41.43 °C, MSS 39.81 °C, UPA: 40.28 °C, DSS: 39.81 °C
[18443010E12B8F0F00] [192.168.101.44] [60.868] [system] [info] Cpu Usage - LeonOS 6.35%, LeonRT: 6.54%
creating out queue for right
creating out queue for left
[2023-05-14 09:41:07.169] [warning] Monitor thread (device: 18443010E12B8F0F00 [192.168.101.44]) - ping was missed, closing the device connection
[2023-05-14 09:41:09.170] [debug] Log thread exception caught: Couldn't read data from stream: '__log' (X_LINK_ERROR)
[2023-05-14 09:41:09.170] [debug] Watchdog thread exception caught: Couldn't write data to stream: '__watchdog' (X_LINK_ERROR)
[2023-05-14 09:41:09.170] [debug] DataOutputQueue (depthOut) closed
[2023-05-14 09:41:09.170] [debug] DataOutputQueue (trackletsOut) closed
[2023-05-14 09:41:09.170] [debug] Timesync thread exception caught: Couldn't read data from stream: '__timesync' (X_LINK_ERROR)
[2023-05-14 09:41:09.170] [debug] XLinkResetRemoteTimeout returned: X_LINK_TIMEOUT
[2023-05-14 09:41:09.170] [debug] XLinkResetRemote of linkId: (0)
[2023-05-14 09:41:09.170] [debug] Device about to be closed...
[2023-05-14 09:41:09.170] [debug] Device closed, 0
[2023-05-14 09:41:09.171] [debug] DataInputQueue (right_in) closed
[2023-05-14 09:41:09.171] [debug] DataInputQueue (left_in) closed
[2023-05-14 09:41:09.171] [debug] DataInputQueue (frameIn) closed
[2023-05-14 09:41:09.171] [debug] DataInputQueue (detIn) closed
Traceback (most recent call last):
File "/Users/rafaelrodriguez/Luxonis/depthai-experiments/gen2-depth-people-counting/main.py", line 133, in <module>
depthFrame = depthQ.get().getFrame()
RuntimeError: Communication exception - possible device error/misconfiguration. Original message 'Couldn't read data from stream: 'depthOut' (X_LINK_ERROR)'
I have an OAK-D Pro PoE and I just did the bootloader Update Bootloader version 0.0.24
Any idea why is this happening?