-
Notifications
You must be signed in to change notification settings - Fork 234
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] new OAK-Thermal shows up as OAK-D Pro to demo app, fails "[error] Camera not detected on socket: 0" #1218
Comments
Hi @MAVProxyUser , you should update your depthai version to latest one, 0.24 doesn't have support for thermal sensor yet |
@Erol444 I'm using the version from git... |
Standard practice dictates ./install_requirements.py which installs the version I'm using for me. The latest depth ai git repo automatically pulls down depthai-2.24.0.0 without my control @Erol444 |
@MAVProxyUser depthai_demo is deprecated for some time now in favour of depthai-viewer, which has the latest version (and also support for OAK Thermal) |
we should really remove it from this repo |
Ok I'll give that a shot. |
ok @Erol444 I followed the install directions here: https://github.com/luxonis/depthai-viewer
then
Still no luck. |
We'll check this tomorrow morning (I don't have OAK-T with me), could you try example below in the meantime (with latest depthai version)? |
Assuming that the viewer installed the proper dependencies... I did not follow the instructions and stomp deps again
|
For posterity... updated deps from the repo
and same thing
|
Hi @MAVProxyUser , |
Here are wheels for depthai-viewer that work with latest OAK-T: |
Thanks I'll give them a try shortly @Erol444 ! |
Looks like on Linux I get a new error @Erol444
|
I've got good news on OSX @Erol444 ! I've at least got somewhere to work now, even if my linux box isn't happy with it!
|
Great to hear it works now (at least on macos)! Seems like you get "no device found" on Linux, perhaps you could try again after restarting the device? |
@Erol444 I did indeed try again, to no avail from Linux, but it still responds fine from OSX (not simultaneously obviously). It shows up in the selection list, but when I choose it, I get this error along site two toast popups saying it can't connect:
|
Hi @MAVProxyUser ,my guess would be you have a problem with one of these networking issues (vpn, multiple interfaces, firewall..) on Linux, but not on Macos : Could you check this, please? |
Please note it DID find the PoE device... it shows it in the list, the failure is when the driver attempts to connect. This is a brand new Ubuntu install. It is connected to the network exactly the same way as the MacOS machine, and happens to work just fine with my other PoE Luxonis camera. Here is my other Poe cam working... on the same network, nothing changed by swapping the camera out.
And oddly enough. Immediately after that camera worked, now the Thermal decided it is gonna cooperate. (after two days of refusing to) Watching the device selection list the two IP's keep rotating in the list (until I select one). I wonder if the PoE discovery code is just a bit flakey, and maybe attempts too many times to discover the device after it already knows where it is? Perhaps triggering some sort of race condition? Either way. I did get the camera to view finally! I did note specifically "ping was missed, closing the device connection", could it be as simple as too aggressive of a keep alive check? Surely missing more than ONE ping would be the way to go before closing the connection out? Thanks for the troubleshooting help! |
kfinisterre@SeekOnJam0:~/depthai$ ./depthai_demo.py
/home/kfinisterre/.local/lib/python3.10/site-packages/requests/init.py:102: RequestsDependencyWarning: urllib3 (2.2.3) or chardet (4.0.0)/charset_normalizer (2.0.12) doesn't match a supported version!
warnings.warn("urllib3 ({}) or chardet ({})/charset_normalizer ({}) doesn't match a supported "
Using depthai module from: /home/kfinisterre/.local/lib/python3.10/site-packages/depthai.cpython-310-x86_64-linux-gnu.so
Depthai version installed: 2.24.0.0
/home/kfinisterre/.local/lib/python3.10/site-packages/requests/init.py:102: RequestsDependencyWarning: urllib3 (2.2.3) or chardet (4.0.0)/charset_normalizer (2.0.12) doesn't match a supported version!
warnings.warn("urllib3 ({}) or chardet ({})/charset_normalizer ({}) doesn't match a supported "
Setting up demo...
Available devices:
[0] 14442C104125EDCF00 [X_LINK_BOOTLOADER]
Disabling depth...
Disabling depth preview...
Disabling depthRaw preview...
Disabling left preview...
Disabling rectifiedLeft preview...
Disabling right preview...
Disabling rectifiedRight preview...
Enabling low-bandwidth mode due to connection mode... (protocol: XLinkProtocol.X_LINK_TCP_IP)
Setting PoE video quality to 50 to reduce latency...
IR drivers found on OAK-D Pro: ['LM3644 on bus 2']
--> Go to the
Depth
tab to enable!Creating MJPEG link for ColorCamera node and color xlink stream...
Downloading /home/kfinisterre/.cache/blobconverter/mobilenet-ssd_openvino_2021.4_6shave.blob...
Done
[14442C104125EDCF00] [192.168.0.100] [16.847] [ColorCamera(0)] [error] Camera not detected on socket: 0
The text was updated successfully, but these errors were encountered: