-
Notifications
You must be signed in to change notification settings - Fork 779
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
Performance difference on Windows and Ubuntu? #1332
Comments
I realized I did not install the G2O dependency. However, after installing G2O, I got some very jumpy results. Both translation and rotation became very unstable. Here is a recording. https://drive.google.com/file/d/1Z8zhv7aNKZkijUcokgZz_GstBfVU1Px4/view?usp=drive_link |
It should perform roughly the same on Windows and Ubuntu. If you search For your first videos, fast motion like that and pointing the camera to white wall are more likely to cause red screens, see description here https://github.com/introlab/rtabmap/wiki/Kinect-mapping#lost-odometry-red-screens For the jumps on the last post, it looks like related to IMU (the extrinsic between imu and camera may be wrong). Is it the same camera on both Windows and Ubuntu? Which kind of camera is it? You can try without IMU by detting IMU filtering to None here: |
Thank you for getting back to me!
In all my tests, I use the same camera connected to the same PC with a dual boot. It is a RealSense 435i. I was also expecting the same behavior since the only difference I can think of is the dependency. Later, I also checked the settings options. I found one difference is the feature extraction. On Windows, I have GFTT+BRIEF, but it was grayed out on Ubuntu. On Ubuntu, it was GFTT+ORL. Thank you for your suggestion to disable IMU. I will report back after the tests. Edit Sep 09: Disabling IMU filter did the job, thank you so much! That being said, you also mentioned the calibration results might be wrong. Would it still be the case? Should I calibrate the camera? Even that's the case, I am still not sure what was the reason that it worked fine on Windows (no jumps in the last video) but jumped on Ubuntu? Edit Sep 12: It looks like there is something wrong in the firmware of RealSense 2. The newest version 5.16.0.1 is the cause of the jumpy odometry. Older version 5.15.1.0 fixed it. However, this still does not explain the difference on Windows (no jumps even with 5.16.0.1 firmware) and Ubuntu. |
Hi,
Thank you for your amazing work!
I noticed some performance difference on Windows and Ubuntu while I move the camera. It seems on Windows the perform is better. Is this somewhat expected? On Windows, I used the released installer and on Ubuntu built from the source. I wonder if there is a way to look at the dependency, setting difference etc?
Also, the Odometry Viewer on Ubuntu has some disruption. It doesn't behave the same as in the main app.
Some screen recordings:
My CMake:
The text was updated successfully, but these errors were encountered: