luxonis / depthai-ros

Official ROS Driver for DepthAI Sensors.
MIT License
260 stars 189 forks source link

[BUG] camera gets stuck with ros #608

Open DanielCyberbee opened 1 month ago

DanielCyberbee commented 1 month ago

Check if issue already exists

Describe the bug A clear and concise description of what the bug is.

Minimal Reproducible Example Append the MRE to the bug report, instructions here

If available launch files don't work in your case, please check if you also get errors while running:

Expected behavior A clear and concise description of what you expected to happen.

Screenshots If applicable, add screenshots to help explain your problem.

Pipeline Graph

Please also provide a screenshot of your pipeline using the DepthAI Pipeline Graph.

You can save it in depthai_ros_driver, either by calling /save_pipeline ROS service, or by setting parameter camera.i_pipeline_dump in ROS 2 or camera_i_pipeline_dump in ROS. Pipeline dump is saved to /tmp/pipeline.json.

Attach system log

Additional context Add any other context about the problem here.

Serafadam commented 1 month ago

Hi, could you fill out the debug information?

DanielCyberbee commented 1 month ago

When I'm trying to run a ROS program with the camera (OAK-D pro), the video from the relevant topics appears stuck. Meaning it captures frames much slower compared to any other camera. Any ideas on how to solve it?

Serafadam commented 1 month ago

On what distribution does this happen? What is you PC configuration and network setup? If using DDS, which one? Does this happen when running depthai_ros_drivers' executable, or stereo_inertial_node? Is the repository built from source or downloaded from APT?