IMU data processing in Ros

asked 2016-04-20 04:36:19 -0500

kinting gravatar image

updated 2023-06-18 09:51:44 -0500

lucasw gravatar image

I've successfully connect my libfreespace with ros and I successfully build up the connection between publisher and topic. But the problem is that the time interval between two data is not the same and my tutor advised me to use a buffer. For example, the time interval is approximately 0.008s , I get a buffer of 0.02s and generate a vector and publish it to the topic. But how can this be done? And another problem is that I use 2 imus so the Synchronization is a problem, my idea is that one IMU data can start faster than the other so we don't use the first several data. but how can it be done? I use the ros header time stamp of current time to record the time.

edit retag flag offensive close merge delete