ethz-asl / rovio

Other
1.14k stars 507 forks source link

Why do we need to perform time synchronization? #236

Open kerwin112ME opened 4 years ago

kerwin112ME commented 4 years ago

I'm new to VIO, and I am confusing that why do we need time synchronization? Aren't the timestamps given by ROS system of all topics already time-synchronized? Thanks!

m0oz commented 3 years ago

ROS messages have timestamps, yes.

But the accuracy of this timestamps can only be so good as the time reference that they are created with.

For example, consider what a global shutter camera does when capturing images:

Without physically adding a wire that signals "The shutter is now open/close", there is no way that the computer can now exactly how much time passed since the image was taken to when it receives the interrupt or when it is written to memory.