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

problem with oakd.launch.py #33

Open
IacopoFornai opened this issue Dec 14, 2024 · 1 comment
Open

problem with oakd.launch.py #33

IacopoFornai opened this issue Dec 14, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@IacopoFornai
Copy link

Robot Model

Turtlebot4 Standard

ROS distro

Humble

Networking Configuration

I do not know

OS

Ubuntu 22.04

Built from source or installed?

Built from Source

Package version

Expected behaviour

i'm launching
ros2 launch turtlebot4_bringup oakd.launch.py
in config file oakd_pro.yaml i changed:
i_pipeline_type: RGB to RGBD to get depth image topic
i_height: 720 to 250 in order to match preview image size (rgb image topic) that is 250x250
i_width: 1280 to 250 in order to match preview image size (rgb image topic) that is 250x250
i wanted to have images of the same size because it's a requirement to run a visual odometry algorithm (rtabmap).

Actual behaviour

when i change
i_height: 720 to 250
i_width: 1280 to 250
i get an error and camera always stop working

is there a way to obtain images of the same dimensions without making the camera crash? Thank you for your help

Error messages

No response

To Reproduce

ros2 launch turtlebot4_bringup oakd.launch.py
with the changes in config file written above

Other notes

No response

@IacopoFornai IacopoFornai added the bug Something isn't working label Dec 14, 2024
@hilary-luo
Copy link
Contributor

@IacopoFornai Please provide the full log of the output from when you launch the node including the error lines.

That being said, also make sure that if you are launching the camera node manually, that you have already stopped the oakd node that is launched at boot. Or, instead of launching manually, source the workspace etc. such that the node is launched automatically using your custom settings.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants