Roll/pitch estimation from a 6-axis IMU (gyroscope + accelerometer), implemented and compared three ways in pure base MATLAB (no toolboxes): naive gyro integration, a complementary filter, and a ...