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

Realsense D435 Missing frames #492

Closed
PhilSc20 opened this issue Jan 14, 2020 · 5 comments
Closed

Realsense D435 Missing frames #492

PhilSc20 opened this issue Jan 14, 2020 · 5 comments

Comments

@PhilSc20
Copy link

PhilSc20 commented Jan 14, 2020

Hi there,
I am trying to run rtabmap on Ubuntu 18.04 with a Realsense D435 camera. When I open the Intel realsense viewer, everything works fine and I can see the camera stream. However, if I press the start button in rtabmap, an error occurs as follows:
[ERROR] (2020-01-14 13:29:18.877) CameraRealSense2.cpp:1209::captureImage() Missing frames (received 1)

Also, a window pops up, saying: The camera has reached the end of the stream.

Thanks for any help!

@PhilSc20
Copy link
Author

Now it seems that the camera stream in rtabmap will work if I just start and stop it for a random amount of times. Sometimes it starts after the third try and sometimes it needs to be started and stopped for over 20 times. I have no idea why that is, as I didn't change anything else.

@matlabbe
Copy link
Member

Which realsense sdk version are you using? Which rtabmap version?

@PhilSc20
Copy link
Author

I am using
realsense sdk version: 2.31.0
rtabmap version: 0.19.6

@matlabbe
Copy link
Member

matlabbe commented Jan 17, 2020

I reproduced your problem. It seems to happen randomly. I even reproduced the problem seen in this post in realsense-viewer where the image stamps are going backward! I am also using a D435i, I got a lot of warnings about imu cannot be interpolated when starting realsense in rtabmap, and sometimes it causes latencies (like 2-3 frames per second). I reproduced also the timestamp not synced between image and imu data of the original issue in realsense-ewer. Some people seem to say that it may be related to ubuntu kernel version. I'll try with older kernel versions.

Versions I tested:

  • Linux 5.0.0-37-generic -40~18.04.1-Ubuntu SMP x86_64 GNU/Linux
  • rtabmap from source 0.19.6 (latest)
  • realsense binaries 2.31.0
  • firmware D400: 05.12.01.00

@matlabbe
Copy link
Member

Update: I don't have issues with kernel 4.15, see also this comment: IntelRealSense/librealsense#4505 (comment)

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

2 participants