moved imu_measurements into a class variable