-
Notifications
You must be signed in to change notification settings - Fork 4.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
False pose when testing rs-motion with D435i #4915
Comments
@MingheCao hello, |
@ev-mp Thank you for your quick reply. I checked the Gyro stream and I think it can provide a reasonable output as I do the left-right motion. I also bundled the camera with a 3dm-gx5-25 IMU and processed the data using ROS Oppositely, the outcome of camera imu is messy. I highly doubt it is the imu streams problem. Do I have an approach to find hard evidence? |
@MingheCao hello, Also, when running with |
I am using v2.25.0 in accordance with the ROS wrapper. But I think this problem has been solved in the lastest release v2.28.1. I only encounter this problem once out of many attempts in v2.28.1. |
@MingheCao is there anything further needed here? I see that you're getting better data via the latest release. |
@ev-mp @MingheCao @RealSenseCustomerSupport Hello, I encountered the same issue in rs-motion example with the latest library and firmware (using Ubuntu 18.05, kernel 4.15). Approximately every 10th time I start rs-motion example, the camera rotates like crazy in the application even though the actual camera is stationary. After a few hours of debugging I think I found the reason for this behavior: The example assumes that the first gyroscope frame is received before the first accelerometer frame. Both process_gyro and process_accel handle their first frame differently from following frames. They share a common flag, which is set to False in process_accel when it receives its first frame. Because of that, if the first acceleration frame is received before gyroscope frame, process_gyro never gets to execute the block that should be executed on the first iteration which results in a huge timestamp for gyroscope data on next iteration which sends the camera rotating like crazy. |
I'm seeing a similiar issue consistently whenever I run Calibrating and updating firmware had no effect. |
Hi @LuckierDodge and @MingheCao Taking for a moment the setups and camera to be the same and just the operating system is different in case of seeing this happening in Ubuntu 18.05, kernel 4.15 but not happening in Windows, leads me to believe that the issue could be operating system related. I've updated my D435i to latest FW on Windows platform and have not been able to reproduce the issue which is in accordance with @LuckierDodge assessment. Has this been tried with latest Librealsense release along with latest FW release and Ubuntu 16? |
@RealSenseCustomerSupport I was seeing the problem with the latest apt release on Ubuntu 18.04, was able to at least temporarily fix it by building v2.28.1 from source (trying to install an old release from apt proved problematic). FW was up to date for both. Haven't had the chance to try it with Ubuntu 16.04 though. |
Hi Minghe, We are unable to reproduce this issue on latest SDK and Firmware. Are you still seeing this? |
Will you be needing further assistance with this? Otherwise we can close this issue. |
Hi @MingheCao Will you be needing further assistance with this? Otherwise we can close this issue. If we don’t hear from you in 7 days, this issue will be closed. |
FYI, this issue is still occuring. I just downloaded the win10 sdk (Intel.RealSense.SDK-WIN10-2.38.1.2223 ) and get this when running the rs-motion it installed. The realsense viewer is reporting data correctly, so seems it would be an application bug, not hardware or library issue (I'm not worried about, but figured I'd mention it) |
@prparsons There's one PR #7500 just merged to development branch to fix bugs in rs-motion. Could you please try if that fix your issue? Thanks! |
Before opening a new issue, we wanted to provide you with some useful suggestions (Click "Preview" above for a better view):
All users are welcomed to report bugs, ask questions, suggest or request enhancements and generally feel free to open new issue, even if they haven't followed any of the suggestions above :)
Issue Description
Hi, I got some pose drifting issues when testing VINS using D435i, so I checked the imu streams with the
rs-motion
module.At the beginning of the application, the imu model rotates randomly, even if the camera was hold still.
It usually takes several seconds that the model finally become stable. But the pose seems not right. - The 3D model will not reflect the yaw, and the rolling is presented oppositely as follows.
Does anyone had the same issue, and how should I solve it? Appreciated!
The text was updated successfully, but these errors were encountered: