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

Aligned_depth_to_color frame drop (to ~1 HZ) after upgrading firmware from 2.30 to 2.31 #1024

Closed
szx0112 opened this issue Dec 15, 2019 · 10 comments

Comments

@szx0112
Copy link

szx0112 commented Dec 15, 2019

After upgrading the librealsense firmware to 2.31. I notice the topic /camera/aligned_depth_to_color become really unstable.

I set depth rate as 15HZ.

In 2.30, I can consistently receive 14~15 HZ messages when call rostopic hz /camera/aligned_depth_to_color/image_raw

After upgrading to 2.31, I call the same topic but often receive "no new message" or topic between 1~6 HZ. It is very hard to receive the 15 HZ anymore.

I tried it both on a PC workstation and a NUC using two different D435i cameras. I believe it is not the problem frin the computer and the camera side.

Any comment is appreciate

@doronhi
Copy link
Contributor

doronhi commented Dec 16, 2019

As for now, I am not aware of any performance difference between the versions. Will keep watching.
In the meanwhile, did you compile or installed the debian? If compiled, could you check the cmake flags? Specifically if "CMAKE_BUILD_TYPE=release"?

@szx0112
Copy link
Author

szx0112 commented Dec 17, 2019

As for now, I am not aware of any performance difference between the versions. Will keep watching.
In the meanwhile, did you compile or installed the debian? If compiled, could you check the cmake flags? Specifically if "CMAKE_BUILD_TYPE=release"?

Thanks for the reply. I build everything from the source and cmake with the "CMAKE_BUILD_TYPE=release" flag enabled. After re-install everything, the PC works good now, but the NUC still show similar results. rostoptic hz /camera/aligned_depth_to_color/image_raw remain low frequency (1~5 HZ).

The NUC is installed in ubuntu 18.04 with kernal 5.0.0-37-generic. The NUC model is 5i7RYH. Is this behavior caused by the computer?

@DarthBubi
Copy link

I can confirm the same behaviour on my machine. For me a downgrade to librealsense 2.30 and recompiling the ROS driver with that version did the trick. Seems to be a bug in librealsense.

@doronhi
Copy link
Contributor

doronhi commented Dec 29, 2019

Can you confirm this downgrade in performance using any of the librealsense tools? rs-benchmark, realsense-viewer, rs-callback..? Please elaborate if you did.

@armandok
Copy link

I am having the same issue with 2.32.1. My kernel version is 5.3.0-7625-generic running on Ubuntu 18.04 and I'm using pre-build packages. Does anyone know how to downgrade librealsense to 2.30 with apt-get?

@doronhi
Copy link
Contributor

doronhi commented Feb 2, 2020

#5751 seems to fix the issue for me on Ubuntu 18.04, kernel 4.15.0-74-generic

@RealSenseCustomerSupport
Copy link
Collaborator


@armandok Did you try IntelRealSense/librealsense#5751 to see if it can fix your issue? Looking forward to your update. Thanks!

@RealSenseCustomerSupport
Copy link
Collaborator


@armandok Any update from your side? Thanks!

@armandok
Copy link

@RealSenseCustomerSupport Yup. Tried it and fixed the problem! Thanks!

@RealSenseCustomerSupport
Copy link
Collaborator


@armandok Glad to hear that. Thanks for the feedback!

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

5 participants