copied imu_view and restructured