-
Notifications
You must be signed in to change notification settings - Fork 127
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
synchronization between imu measurement and stereo images #599
Comments
Hi @SinnedHog , |
Hi @Erol444, |
Hi @SinnedHog , |
Hi @SinnedHog According to my recent experience, OAKD's left and right monocular and imu do use the same clock.
Then all other frame times can be obtained by the following helper functions:
For example in my code:
[2022-11-01 19:49:12.074] [info] [OAK-D]Publish Sync Frame 2022-11-01 19:53:39.370] [info] [imu]-A[158]4.822ms, G[139]4.824ms |
Hi @dongxuanlb, thanks for your response. I understand that according to the explanation given in #516 (which is asked by you), both imu timestamp and mono image timestamp are gotten from the same clock. in that case, by just comparing their timestamp, we can align them together. However, my question is really if there is any delay when assigning the timestamp to the imu measuremnt and the mono image measurement. Have you tried to perform a camera-imu calibration such as using the Kalibr (https://github.com/ethz-asl/kalibr) to find out whether the imu and camera are truly synchronized? |
@SinnedHog there is no delay in assigning the timestamp from our debugging. But it looks like there is some delay is getting the image frames out of USB. Thoughts ? |
I performed an imu-camera calibration using the open source library Kalibr (https://github.com/ethz-asl/kalibr) to find out the delay between the imu measurements and stereo images. I fixed the camera exposure time to 1ms and the result from the calibration indicated that the camera is 10ms slower than the imu timestamp. I have read in one of the github post (#516) that even though the imu and stereo cameras are not hardware sync but they are running on the same clock. Therefore, the delay should not be larger than half of the camera exposure time, which in this case is 0.5ms. Is the result from kalibr expected? My experience from using kalibr is that it has been reliably given me accurate estimate. Has anyone encountered the same issue before?
The text was updated successfully, but these errors were encountered: