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

ros2 jazzy turtlebot4 has not depth topics #630

Open
orangelee89 opened this issue Nov 21, 2024 · 4 comments
Open

ros2 jazzy turtlebot4 has not depth topics #630

orangelee89 opened this issue Nov 21, 2024 · 4 comments
Labels
question Further information is requested

Comments

@orangelee89
Copy link

ros2 : jazzy
device : oakd-pro-w

when I run
ros2 launch turtlebot4_bringup lite.launch.py
or
** ros2 launch turtlebot4_bringup oakd.launch.py **
I got topics without depth
image

in the ttbot4 launch file

but wen I run
ros2 launch turtlebot4_bringup oakd_example.launch.py

ros2 launch depthai_examples stereo_inertial_node.launch.py
I'm able to get depth topic
image

@orangelee89 orangelee89 added the question Further information is requested label Nov 21, 2024
@Serafadam
Copy link
Collaborator

Hi, those two launch files (ros2 launch turtlebot4_bringup lite.launch.py and ros2 launch turtlebot4_bringup oakd.launch.py) use config files that have only rgb pipeline type enabled (links here and here respectively), to enable depth topics you would need to modify the pipeline_type parameter to, for example RGBD. More information on pipeline types can be found here
ros2 launch turtlebot4_bringup oakd_example.launch.py
launches rgb_stereo_node, which is a premade example pipeline, not the default driver.

@orangelee89
Copy link
Author

so basically, what I have to do is change i_pipeline_type: RGB to i_pipeline_type: RGBD in turtlebot4_bringup/config/oakd_pro.yaml?

@orangelee89
Copy link
Author

since I change turtlebot4_bringup/config/oakd_pro.yaml as below
image
I got the result like:
image

@Serafadam
Copy link
Collaborator

Hi, it seems there is an issue with connection, you can enable additional logs by running export DEPTHAI_DEBUG=1

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

No branches or pull requests

2 participants