Strange IMU stamp time
Hello, I was recording the IMU data into text file using rostopic echo with -p parameter to use it in matlab. When i was inspecting the recorded data I figured out that the time stamp data is not correct! The following are the first records:
'2847249825529000000'
'2847249825558000000'
'2847249825577000000'
'2847249825589000000'
'2847249825617000000'
'2847249825638000000'
'2847249825650000000'
'2847249825670000000'
'2847249825699000000'
'2847249825719000000'
'2847249825730000000'
'2847249825751000000'
'2847249825779000000'
'2847249825799000000'
'2847249825810000000'
'2847249825830000000'
.
.
.
It is clear that there is no fixed sample time! The time difference for these time staps is absolutely not fixed!
29000000
19000000
12000000
28000000
21000000
12000000
20000000
29000000
20000000
11000000
21000000
28000000
20000000
11000000
20000000
Is there anything i can do to fix this problem?
Update: I am using the android_sensors_driver to publish the IMU data from my Android mobile phone.
Update: The header sequence is shown below, it is changing with the sample time:
'%time' 'field.header.seq' 'field.header.stamp'
'2847249825529000000' '63303' '2847249825529000000'
'2847249825558000000' '63307' '2847249825558000000'
'2847249825577000000' '63308' '2847249825577000000'
'2847249825589000000' '63312' '2847249825589000000'
'2847249825617000000' '63315' '2847249825617000000'
'2847249825638000000' '63319' '2847249825638000000'
'2847249825650000000' '63321' '2847249825650000000'
'2847249825670000000' '63323' '2847249825670000000'
'2847249825699000000' '63327' '2847249825699000000'
'2847249825719000000' '63329' '2847249825719000000'
'2847249825730000000' '63332' '2847249825730000000'
'2847249825751000000' '63336' '2847249825751000000'
'2847249825779000000' '63338' '2847249825779000000'
'2847249825799000000' '63341' '2847249825799000000'
'2847249825810000000' '63345' '2847249825810000000'
'2847249825830000000' '63347' '2847249825830000000'