added try/except on LSM9DS0 sampling of IMU