Comments (41)
got it Thanks.
Can you try roslaunch depthai_examples stereo_inertial_node.launch mxId:=<Device ID>
and share the error ?
from depthai-ros-examples.
I tried setting the environment variable but it resulted in the same output in addition to throwing a warning about the new watchdog delay
from depthai-ros-examples.
@saching13 @Luxonis-Brandon I am having the same problem with oak-d-poe. I can run demo script without any issue, but I try to run it from ros side, it first can see the MXID and lists the id under available devices, but then it kills itself and says
what(): Failed to find device after booting, error message: X_LINK_DEVICE_NOT_FOUND```
Sorry for the issue. Will get back in a while.
from depthai-ros-examples.
Sure! I shared a detailed description here too: luxonis/depthai#753 (comment)
from depthai-ros-examples.
Sorry about the trouble. Will ask and circle back.
from depthai-ros-examples.
@David9696 which version of depthai-core (C++) is installed ?
from depthai-ros-examples.
Hi,
I didn't install the depthai-core explicitly.
I just use the following script:
sudo wget -qO- https://raw.githubusercontent.com/luxonis/depthai-ros/main/install_dependencies.sh | sudo bash
I think should be v2.17.1
from depthai-ros-examples.
Setting the mxId manually yields the same error message.
from depthai-ros-examples.
Hi @saching13 ,
I got the same error as follow:
terminate called after throwing an instance of 'std::runtime_error'
what(): Failed to find device after booting, error message: X_LINK_DEVICE_NOT_FOUND
Separately, I have tried this ros package with my oak-d poe. It is working fine. I think this package could not supporting oak-d-pro w poe.
from depthai-ros-examples.
Thanks and sorry for the trouble. Checking.
from depthai-ros-examples.
Separately, I have tried this ros package with my oak-d poe. It is working fine. I think this package could not supporting oak-d-pro w poe.
Interesting. Thanks for the info.
from depthai-ros-examples.
Can you also try exporting the following environment variables ?
DEPTHAI_WATCHDOG_INITIAL_DELAY=40000
DEPTHAI_BOOTUP_TIMEOUT=40000
from depthai-ros-examples.
Thanks alot for testing. Really Sorry for the issue. Will get back with more debug.
In the mean time can you change those above environment variables to 60000
and try it ?
And also add DEPTHAI_LEVEL=debug roslaunch depthai_examples stereo_inertial_node.launch
and share the logs please ?
from depthai-ros-examples.
Also would you mind shooting an email to [email protected]? We'd like to send you equipment that should help to debug what is going wrong here.
from depthai-ros-examples.
DEPTHAI_LEVEL=debug
Hi @saching13
I have gotten the same error in the log. I have hidden my device id in the log. The required logs are listed as follows:
[2022-07-23 20:11:22.302] [debug] Library information - version: 2.17.1, commit: c455d09d330bb318211d57690fa9188bfd499640 from 2022-07-19 00:24:11 +0300, build: 2022-07-21 09:51:58 +0000
[2022-07-23 20:11:22.303] [debug] Initialize - finished
[2022-07-23 20:11:22.461] [debug] Resources - Archive 'depthai-bootloader-fwp-0.0.19.tar.xz' open: 3ms, archive read: 153ms
Listing available devices...
Device Mx ID:********************
[2022-07-23 20:11:22.736] [debug] Device - OpenVINO version: 2022.1
[2022-07-23 20:11:22.736] [debug] Environment 'DEPTHAI_WATCHDOG_INITIAL_DELAY' set to '60000'
[2022-07-23 20:11:22.736] [warning] Watchdog initial delay set to 60000ms
[2022-07-23 20:11:22.737] [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":60000,"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 81 60 ea bb 00 bb 00 be
0020: be be be be be
[2022-07-23 20:11:23.046] [debug] Resources - Archive 'depthai-device-fwp-06e791bb9f6cefc968889a7ae7918ed0ff49e897.tar.xz' open: 4ms, archive read: 738ms
[2022-07-23 20:11:23.105] [debug] Environment 'DEPTHAI_BOOTUP_TIMEOUT' set to '60000'
[2022-07-23 20:11:23.105] [debug] Searching for device: DeviceInfo(name=, mxid= , X_LINK_BOOTLOADER, X_LINK_TCP_IP, X_LINK_MYRIAD_X, X_LINK_SUCCESS)
[2022-07-23 20:11:23.124] [debug] Connected bootloader version 0.0.18+c555ac2fb184b801291c95f7f73d23bf4dd42cf1
[2022-07-23 20:11:23.124] [info] New bootloader version available. Device has: 0.0.18+c555ac2fb184b801291c95f7f73d23bf4dd42cf1, available: 0.0.19
[2022-07-23 20:11:23.995] [debug] Booting FW with Bootloader. Version 0.0.18+c555ac2fb184b801291c95f7f73d23bf4dd42cf1, Time taken: 871ms
[2022-07-23 20:11:23.995] [debug] DeviceBootloader about to be closed...
[2022-07-23 20:11:23.996] [debug] XLinkResetRemote of linkId: (0)
[2022-07-23 20:11:24.702] [debug] DeviceBootloader closed, 706
[2022-07-23 20:11:24.710] [debug] Searching for device: DeviceInfo(name=, mxid=*************** , X_LINK_BOOTED, X_LINK_TCP_IP, X_LINK_MYRIAD_X, X_LINK_SUCCESS)
terminate called after throwing an instance of 'std::runtime_error'
what(): Failed to find device after booting, error message: X_LINK_DEVICE_NOT_FOUND
from depthai-ros-examples.
Also would you mind shooting an email to [email protected]? We'd like to send you equipment that should help to debug what is going wrong here.
Hi @Luxonis-Brandon,
I have sent an email to support. Please check.
from depthai-ros-examples.
Thanks. Will do.
from depthai-ros-examples.
@saching13 @Luxonis-Brandon I am having the same problem with oak-d-poe. I can run demo script without any issue, but I try to run it from ros side, it first can see the MXID and lists the id under available devices, but then it kills itself and says
what(): Failed to find device after booting, error message: X_LINK_DEVICE_NOT_FOUND```
from depthai-ros-examples.
Can you install depthaai-core of version 2.17.0.0 and try ? [ I testeed on OAK-D-Pro-Poe and had issues with 2.17.1.0. but worked with 2.17.0.0
Here are the steps.
- clone depthai-core
cd depthai-core
git checkout v2.17.0
cmake -H. -Bbuild -DBUILD_SHARED_LIBS=ON
cmake --build build --target install
- go to ros workspace
catkin_make --cmake-args -D depthai_DIR=<PATH TO DEPTHAI-CORE>depthai-core/build/install/lib/cmake/depthai
Let me know if this helps.
from depthai-ros-examples.
from depthai-ros-examples.
Can you install depthaai-core of version 2.17.0.0 and try ? [ I testeed on OAK-D-Pro-Poe and had issues with 2.17.1.0. but worked with 2.17.0.0
Here are the steps.
- clone depthai-core
cd depthai-core
git checkout v2.17.0
cmake -H. -Bbuild -DBUILD_SHARED_LIBS=ON
cmake --build build --target install
- go to ros workspace
catkin_make --cmake-args -D depthai_DIR=<PATH TO DEPTHAI-CORE>depthai-core/build/install/lib/cmake/depthai
Let me know if this helps.
Hi @saching13 ,
No it didn't work. Anything else that I can try?
from depthai-ros-examples.
Can you share you launch file for OAK-D-W-PoE?
Also, can you try with OAK-D Pro W POE ?
Thanks.
from depthai-ros-examples.
No it didn't work. Anything else that I can try?
Was the error same ? Can you share some details ?
Can you share you launch file for OAK-D-W-PoE?
there is no specific different launch file. roslaunch depthai_examples stereo_inertial_node.launch
should work.
Also, can you try with OAK-D Pro W POE ?
I don't have one at hand as of now. But will do. @daxoft can you check once you receive yours ?
from depthai-ros-examples.
We're checking. Sorry about delay here.
from depthai-ros-examples.
terminate called after throwing an instance of 'std::runtime_error'
what(): Failed to find device after booting, error message: X_LINK_DEVICE_NOT_FOUND
Hi @saching13,
Yes, I got the same error as follows:
terminate called after throwing an instance of 'std::runtime_error'
what(): Failed to find device after booting, error message: X_LINK_DEVICE_NOT_FOUND
FYI, initially, my oak-d-pro-w poe was not working with depthai_demo.py. After downgraded the depthai to v3.1.0, it is working now.
from depthai-ros-examples.
We're checking. Sorry about delay here.
hi @Luxonis-Brandon,
I have sent an email to [email protected]. However, up to date, I haven't received any reply from [email protected] .
from depthai-ros-examples.
Also, can you try with OAK-D Pro W POE ?
I don't have one at hand as of now. But will do. @daxoft can you check once you receive yours ?
@saching13 Sure, I still didn't get mine, I tried with OAK-D-PRO-PoE-FF (NG9097 R2M2E2) and it worked with depthai 2.17.0.0 (not with 2.17.1.0, like in your case); depthai-demo and examples from depthai-python worked with 2.17.1
from depthai-ros-examples.
We're checking. Sorry about delay here.
hi @Luxonis-Brandon,
I have sent an email to [email protected]. However, up to date, I haven't received any reply from [email protected] .
Sorry about the trouble. I’m asking what’s going on here.
Could you please shoot me an email at Brandon at Luxonis dot com as well? That way if for some reason your email is being blocked by the support system’s SPAM filter I can get around it?
from depthai-ros-examples.
@David9696 - sorry about the delay, I've just replied to your email
from depthai-ros-examples.
We're checking. Sorry about delay here.
hi @Luxonis-Brandon,
I have sent an email to [email protected]. However, up to date, I haven't received any reply from [email protected] .Sorry about the trouble. I’m asking what’s going on here.
Could you please shoot me an email at Brandon at Luxonis dot com as well? That way if for some reason your email is being blocked by the support system’s SPAM filter I can get around it?
Hi @Luxonis-Brandon,
I would keep you in CC loop.
from depthai-ros-examples.
@David9696 - sorry about the delay, I've just replied to your email
Hi @cafemoloko ,
Well received.
from depthai-ros-examples.
Thanks, both. And sorry again about all the trouble here @David9696 . We're reviewing and changing many processes to make the layers of failure here not happen again.
from depthai-ros-examples.
compiling and using 2.17.0 worked.
I had to download the release since the branch doesnt seem to be up on the repository: https://github.com/luxonis/depthai-core/releases/tag/v2.17.0
I downloaded the depthai-core-v2.17.0.tar.gz file and unziped it.
then:
cmake -H. -Bbuild -DBUILD_SHARED_LIBS=ON
cmake --build build --target **install**
After, i catkin_make with the custom directory to depthai:
catkin_make --cmake-args "-D depthai_DIR=<PATH TO DEPTHAI-CORE>depthai-core/build/install/lib/cmake/depthai"
It's important to note the "" around the cmake argument starting at -D
Thanks!
from depthai-ros-examples.
@hamzaMahdi , verified! It works with Oak-D-PoE.
from depthai-ros-examples.
However, if i try with USB C, it does not work. I opened the PoE encolsure and set pins 2,4,5 to up and the rest to down, then ocnnected usb c. Still getting the XLink error
from depthai-ros-examples.
Hi @hamzaMahdi ,
Sorry about the problem. So to summarize, PoE on the PoE unit works, but when trying to use USB instead, it doesn't work?
If so, one thing to keep in mind is some hosts get confused about USB2 over USB3C cables. And so forcing USB2 mode may be in order.
But on that, are you wanting to use the PoE camera as a USB camera device? Or are you doing USB just for debugging?
Thanks,
Brandon
from depthai-ros-examples.
You are correct. PoE worked once I reverted the depthai-core to 2.17.0
I just wanted to plug in the USB for debugging. I was using a USB3 port
from depthai-ros-examples.
Thanks. So in this case it may be just the case of needing for force USB2 connection (as the PoE series only has USB2 internally).
https://docs.luxonis.com/en/latest/pages/troubleshooting/#forcing-usb2-communication
from depthai-ros-examples.
I have updated the depthai-core to 2.17.2. The camera is working in ROS.
However, when displaying pointcloud in rviz, there are some noise(at about 50cm in front of the camera) when the camera is facing a wall(at about 1m away). Is it meant that the calibration is not good?
from depthai-ros-examples.
Recently got a OAK-D W POE. I tried using depthai-core 2.17.0 and roslaunch depthai_examples stereo_inertial_node.launch
which was able to run but it only published 1 image and then stopped publishing. Sometimes it wouldn't publish any images at all. However, IMU data was still publishing properly. To fix this I upgraded depthai-core to version 2.19.0 and everything seems to work fine.
from depthai-ros-examples.
We will be using this repository to present some use cases for our ROS nodes that we develop over time. Since this issue seems resolved I will be closing it - feel free to let me know if you are still encountering this issue and we can move that conversation to depthai-ros repo.
from depthai-ros-examples.
Related Issues (20)
- Why not merge this repository into depthai-ros? HOT 2
- Weird disparity values being published in stereo_node HOT 8
- OAK-D Pro W Dev ROS and ROS2 support add basic options equally to every example HOT 26
- OAK-D Factory sensor misalignment affects depth HOT 3
- SpatialLocationCalculator distortion with setDepthAlign() HOT 3
- mobilenet_publisher Acquisition of distance coordinates HOT 1
- Specific for Robot and Host Desktop CPU configurations “no rviz” and “rviz only” launch packages HOT 1
- Specific ROS2 Foxy Robot CPU “no rviz” and Host Desktop “rviz”only” Packages HOT 1
- devel branch dont work HOT 22
- IMU erros and fluctuations readings when there is not movement. HOT 1
- unable to run yolo, mobilenet in Jetson NX HOT 25
- Jetson NX: unable reading color image HOT 2
- Getting Center Coodinates as Zero(0) in detections HOT 13
- OAK-D POE - Setting ColorCameraProperties Sensor Resolution to 12MP HOT 6
- Examples to run multiple camera units in the same launch file HOT 3
- feat req: Add left camera and right camera raw color image topics HOT 4
- Feature request: Enable/disable camera through ROS2 service HOT 1
- Different fps for video and preview output HOT 1
- fatal error. Please report to developers. Log: 'PlgSrcMipi' '981' HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from depthai-ros-examples.