-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Camera frame loss #1899
Comments
Hi @loupdmer As a starting point in investigating this case, could you try the following steps:
|
Actually, it doesn't work without rviz.
On my computer with ubuntu 18.04 with 5.4.0-73-generic kernel all works well (30Hz for each topics) Thank you for your help |
The error Incomplete video frame detected is quite rarely reported. I researched past cases to put together some possible causes to check with you to see whether any of them match your particular circumstances.
IntelRealSense/librealsense#4108 In that same discussion, a RealSense user found that lowering the resolution to 960x540 or lower made the error go away, similar to how you found that the error did not occur at 640x480. Below I have linked to the point in a JetsonHacks video about RealSense and kernel compilation where the error is generated. https://www.youtube.com/watch?v=8ckhQP7Af-g&t=242s
IntelRealSense/librealsense#3189 Are you using the official 1 meter cable supplied with the camera or your own choice of cable please? If it is the official cable, is it in good condition?
IntelRealSense/librealsense#6444 If none of these possibilities are helpful in resolving your problem then I am happy to continue exploring the issue further with you. Good luck! |
Thank you for the answer, I will try to recompile the kernel as the video shows and I come back. I am not using the official 1 meter cable because it was not in good condition so I bought another USB 3.0 cable. The cable seems to be good because I have good results when I launch rs_pointcloud on my ubuntu 18.04 laptop (all frame rates at around 30Hz) |
Thanks very much @loupdmer - I look forward to your next update. Good luck! |
Hi @loupdmer Do you have an update about this case that you can provide, please? Thanks! |
Hi @MartyG-RealSense, thank you for taking news, However, I was not able to access the camera with cheese as it was done in the video you linked me (but it was with a JetsonNano and not a JetsonXavier) and it brings a new mistake upon the fact there are held broken packages with unmet dependencies, so I was not able to install libssl-dev package required to build the librealsense sdk. I tried many solutions given on forums like sudo dpkg --configure -a, removing from source.list or listing all held package but no one was detected as broken and I didn't found solution For now, I can work on my computer with the realsense so I postpone the issue. However, I have a new, I am able to acquire only depth and color frames from the camera with rs_camera.launch (and not the rgbd pointcloud), but if I enable pointcloud in the launchfile it doesn't work anymore. Is there any image conversion change when it deals with creating the pointcloud ? Another thing is that I have a collegue who works on a Jetson Nano with a monocular camera, and he also have issue with acquiring RGB frames, may it would be related to the v4l2 driver of the nvidia cards. Thank you for your time |
Are you able to obtain a pointcloud if you define one in the roslaunch instruction instead of inside the launch file: roslaunch realsense2_camera rs_camera.launch filters:=pointcloud The RealSense ROS documentation provides an example of setting up a pointcloud using this instruction. https://github.com/IntelRealSense/realsense-ros#point-cloud I do not have advice that I can offer for diagnosing a setup with a non-RealSense camera. |
Hi @loupdmer Do you require further assistance with this case, please? Thanks! |
Hi @MartyG-RealSense, sorry for the time between my responses My issues with held broken packages was because updates was disabled.
I will follow the example you linked me, however, for my project, I only need topics from rs_camera.launch, and I can't spend more time on why a drop of frequency appears with demo_pointcloud.launch. I hope this topic would help anyone else and I gratefully thank you for your help! |
It is no problem at all @loupdmer - thanks very much for the update. I'm pleased to hear that you achieved a solution. Thanks very much for sharing your method for the benefit of the RealSense community. I will close this case now as you achieved a satisfactory outcome. Thanks again! |
Hello everybody,
I am using a D415 camera on NVIDIA Jetson Xavier NX with the 4.9.201-tegra kernel version.
My issue is that I cannot see the pointcloud /camera/depth/color/points on rviz.
I am not able to install librealsense2-dkms, so my uvcvideo version is only 1.1.1 with no any realsense string as you can see the following.
$ modinfo uvcvideo | grep "version:" version: 1.1.1 srcversion: 7FB2396C50DCC682C47C8FC
I read that would be linked with kernel incompatibilities, however, I can run realsense-viewer as follow:
I can run the pointcloud example of the librealsense SDK:
However, the realsense_ros demo_pointcloud.launch doesn't work.
My USB is 3.0 according to bcdUSB :
I have all these definitions available:
This with 30Hz rate for the depth and rgb camera.
I also noticed that it could come from the video frame:
The color/image_raw topics stop when I start demo_pointcloud.launch
but it also works when I try rs_rgbd.launch with a bad rate:
Does someone have any idea to help ? Why the librealsense pointcloud works and not ros ? Why is it only this node ? is it pcl ?
Thank you
The text was updated successfully, but these errors were encountered: