-
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
D435i Aligning IMU and RGB Frames #3205
Comments
You need to enable frame metadata to get hardware timestamp for the color stream: |
This worked, so now both the color stream and IMU stream are in the hardware clock domain. But there appears to be a large offset between the two timestamps even when collected concurrently. Are they timestamped using the same clock, or how do I compare the two values? Thanks. |
@JBBee - yes, they should have the same clock. |
@dorodnic I'm actually collecting the IMU samples using a second pipe with a callback, and I'm getting timestamp differences between the IMU samples and the color frames such as 4.12596e+06. Is this because they're collected on a different pipes? |
Hmm... And both are hardware timestamps? |
Thank you. Did you try this with later pre-release? There are some issues with 2.18 and 5.11.1 firmware, but it would be interesting to check with newer viewer. This looks like something we have encountered and already resolved (note that the FPS is also completely wrong) |
The timestamps are still different with that pre-release. Should I try downgrading the firmware? |
Could you please share the exact Windows build you are using? |
Ok great, I'll lookout for the new firmware. I'm using Win 10 build 1703. |
Hello @JBBee, New firmware has been released, please see latest RealSense Camera Firmware located here: Windows Device Firmware Update Tool (required to upgrade firmware): Also please use latest LibRealSense Release: https://github.com/IntelRealSense/librealsense Please update ticket with your results. |
After following the instructions to enable frame metadata I ran it with this latest firmware release and the timestamps now match. Thank you! |
Issue Description
I'm capturing RGB and Depth frames at 30 fps using one pipe and then using a second pipe with a callback to capture accelerometer and gyro readings at 63 and 200 hz. I'm then trying to align the IMU frame timestamps with the timestamp of the RGB frame. However, the timestamps of the IMU readings are in the hardware clock domain and the timestamps of the RGB frames are in the system time domain. How do I align the two using their timestamps?
Thanks.
The text was updated successfully, but these errors were encountered: