added check for imu message timestamp