Skip to content
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

Use ros2 and run examples but Oak-d indicates that the connection fails #89

Closed
sunil-gitcode opened this issue Mar 10, 2022 · 22 comments
Closed

Comments

@sunil-gitcode
Copy link

cmd :ros2 launch depthai_examples stereo.launch.py
91df19a267007ed62f95ae0d9b06e50
e52d9053ae247546b27d1b13309bc2b

@sunil-gitcode sunil-gitcode changed the title use ros2 and run examples oak-d ascension cannot connect use ros2 and run examples but Oak-d indicates that the connection fails Mar 10, 2022
@sunil-gitcode sunil-gitcode changed the title use ros2 and run examples but Oak-d indicates that the connection fails Use ros2 and run examples but Oak-d indicates that the connection fails Mar 10, 2022
@saching13
Copy link
Contributor

Hello,
Sorry fro the issue.

  1. Can you check if the stereo works on depthai_demo.py ?
  2. Can you cross-check if the right DepthAI C++ library is installed.

@sunil-gitcode
Copy link
Author

Run python3 depthai-demo.py but apparently it's fine so I don't know what the problem is
7863CF6A-93FF-47b2-B2B0-7D4C7F4A0B80

@saching13
Copy link
Contributor

In ros installation steps did you install the main branch ? And also when installing the dependencies was there any change ?

@sunil-gitcode
Copy link
Author

sunil-gitcode commented Mar 11, 2022

I installed it according to the tutorial,command is sudo apt install ros-galactic-desktop
.Dependencies are installed automatically,I Idon't know what has changed about it.

@saching13
Copy link
Contributor

Can you run the Installation dependencies here followed by cleaning the WS and rebuilding the packages?

@sunil-gitcode
Copy link
Author

6210A26A-BBC5-4dd2-9C5D-4F42B8A85D85

Follow the depth-ros tutorial ,i coclon build it and It say that the compilation succeeded,.Run to this step source devel/setup.bash,it says no such file,so i put it into the ros2 project and compile it again.

@saching13
Copy link
Contributor

saching13 commented Mar 11, 2022

devel/setup.bash is for ros 1. install/setup.bash is for ros2.

What does that depthai folder does ?
and was install dependencies installed everything perfectly?

@sunil-gitcode
Copy link
Author

sunil-gitcode commented Mar 11, 2022

Thank you for your help
1.It is depthai-ros project,It's just that the name is wrong.
2. According to the tutorial, Dependency installation is based on install_dependencies.sh,Its compile and install prompts are successful.
3. Do I need to try all the steps again including ro2 installation

@saching13
Copy link
Contributor

And you are still facing the issue ?
3. No.

@sunil-gitcode
Copy link
Author

yes,I still don't know what his problem is.I have to put the point cloud data into ROS2,It's an engineering project.

@saching13
Copy link
Contributor

put

Can you share the full logs on the terminal ?

@sunil-gitcode
Copy link
Author

log.txt
This is the log

@saching13
Copy link
Contributor

saching13 commented Mar 11, 2022

Ok. In depthai_demo.py can you share the left camera image on the display ?
And photo of the device if possible.

@saching13
Copy link
Contributor

And logs from depthai demo too.

@sunil-gitcode
Copy link
Author

C09006DF-597E-48e6-A0DD-F8F9991CF489

Is that the choice

@saching13
Copy link
Contributor

image
No. Once the demo starts you have to change the camera where I have marked to left. And also share the logs printed in the terminal when running the demo

@sunil-gitcode
Copy link
Author

CE298814-CB24-4270-90AF-D4DB73AF3CF8

It doesn't seem to have that option

@saching13
Copy link
Contributor

that means like Erik mentioned the connector might be disconnected or you have OAK-1.
I think your connector might be disconnected.

@sunil-gitcode
Copy link
Author

1.So I need to fix it?
2.it is a Oak-D ,I don't have oak-1

@saching13
Copy link
Contributor

Yes. Or we can get it replaced I think. Do you have an idea when it was purchased ?

@sunil-gitcode
Copy link
Author

I bought it in December 21, I tried to repair it first to see.

@sunil-gitcode
Copy link
Author

sunil-gitcode commented Mar 11, 2022

thank you for your help, The problem was solved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants