jakaskerl DavidChik 1. I don't need to care about what "ipconfig" shows? Ipconfig shows your the network interfaces through which your PC can communicate. It will not list the device. DavidChik 2. In Depthai Viewer, how to solve "Error: CameraBoardSocket.CAM_A is not configured. Couldn't create stereo pair" ? AFAIK, the stereo sensors are connected to cam_b and cam_c. Cam_a is tof sensor which can't be used for stereo. DavidChik 3. In C++, how to solve "LNK2019: unresolved external symbol..." ? Not sure, sounds like a build issue, consider rebuilding the library. Update opencv to the latest if you can. DavidChik 4. Is there any minimum code for me to test the ToF (without OpenCV)? luxonis/depthai-coreblob/main/examples/ToF/tof_depth.cpp Remove all opencv related code. Maybe just log the image frame (luxonis/depthai-coreblob/main/examples/ToF/tof_depth.cpp#L132) but not display it. That way you will know the device works. Thanks, Jaka
DavidChik Dear Jaka and Erik, How can I view ToF output in Depthai Viewer? If I turn on Cam_B and Cam_C, I can see both of them (RGB 2D) in Depthai Viewer: If I turn on Cam A only, there is nothing: If I turn on all A, B, C, it shows Cam C only: Please help.
DavidChik Yes please. I am worried it is hardware issue (the ToF camera is broken)? On the other hand, in depthai/device/Device.hpp line 37 and line 67, it said Device(const Pipeline& pipeline, T usb2Mode) and Device(const Pipeline& pipeline, const DeviceInfo& devInfo, T usb2Mode) are deprecated. I wonder if this is one reason why we cannot build the C++ code? Thanks again.
jakaskerl DavidChik Very likely the device is not broken. I checked and you should be able to view the TOF with depthai-viewer (make sure it's the latest version). MPButter run pip3 install -r utilities/requirements.txt so you get the new GUI without the trial period. Make sure you update depthai via git pull --recurse-submodules and python3 examples/install_requirements.py. Then retry with both modes. The device in USB mode should show up with 1.1 or some similar number and not have an IP. Make sure that is the case to confirm sucessful bootup. Thanks Jaka
MPButter Hi, I see this conversation had diverged in my absence... I still have issues with the device manager I'm afraid. I pressed the button on the dev board while connecting, and indeed the device is shown in the app, but I get a "failed to boot" message when selecting the device, and none of the buttons seems to work after that (including the flashing ones)
DavidChik MPButter, my apology for messing up your post. Well, my current situation is: Run Depthai_viewer (yes latest version) to view ToF -- Fail Install depthai-python to run tof_depth.py -- Success Build depthai-core to run tof_depth.cpp -- Fail
jakaskerl DavidChik This is what opens for me when running the viewer: I'm on version 0.2.4. Can you provide any logs that show during the runtime? They should be in the same terminal from which you ran the depthai_viewer. MPButter I connected directly to M8. Pressed the button before plugging it in. The device is found in device_manager. It might be that there isn't enough power supplied by the USB on your side so I suggest you plug both the POE and the M8 in at the same time, so POE provides the power. Thanks, Jaka
MPButter Hi Jaka. I repeated all these steps with a new clean python environments, but I'm afraid the behavior is the same.
MPButter tried with the POE connected, with different orders of connecting and pressing. still same behavior. also, my dev board looks slightly different than yours
jakaskerl MPButter Please try to run this example with the environment variables XLINK_LEVEL=DEBUG DEPTHAI_DEBUG=1. This should give you some more info on what is going on (since device is detected at first as you say). Thanks, Jaka