-
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
D455 imu and color/depth sync in python #13139
Comments
I think the expected sync result for me is like this: Now, it's not the case. So what should I do about it? |
Hi @jeezrick It is normal for there to be an offset between IMU and RGB, as advised at the #3205 (comment) case that you linked to. In regard to IMU and depth, each IMU data packet is timestamped using the depth sensor hardware clock to allow temporal synchronization between gyro, accel and depth frames, as stated in the Core Capabilities section of Intel's guide for getting IMU data. https://www.intelrealsense.com/how-to-getting-imu-data-from-d435i-and-t265/ In order for data to be to be timestamped with the depth sensor hardware clock though, you need to have support for hardware metadata enabled in the librealsense SDK. Hardware metadata support will be enabled if you do one of the following:
|
Thanks, I'm aware that depth and imu has some offset, imu data suppose to be ahead of depth data about 40 ms, which is not the case when I run this python code. But after experiment, it turns out, you just need to run this code for 4 ~ 5 seconds before it reachs the above pattern. So, all fine.
|
It looks as though if the Index number is set to 1 then auto-exposure and the camera's IR Emitter component are enabled. Auto-exposure enables the camera to automatically adjust exposure as lighting conditions in the real-world scene change, whilst the IR emitter when enabled projects an invisible pattern of dots onto the surface of objects in the scene to aid depth analysis of those surfaces. Index 2 enables auto-exposure only. Index 3 disables IMU motion correction, meaning that raw IMU data will be used and the SDK will not attempt to 'fix' the data to reduce inaccuracies. |
Hi @jeezrick Do you require further assistance with this case, please? Thanks! |
Case closed due to no further comments received. |
Issue Description
Hi, I am running a python code, I create 2 pipeline to get color/depth stream and imu stream seperately. And I print the log right after I get the data. As you can see, depth/color timestamp is ahead roughly 50 ms of accel/gyro timestamp.
So what should I do syncing the data? I want to use the current image data, how can I assign the correct imu data.
I read issues/11330, issues/2188, issues/4525, issues/3205, not really sure about the solution.
The text was updated successfully, but these errors were encountered: