ELECTRONIC APPARATUS AND CONTROL METHOD THEREOF
DRIVE
July 23, 2020
An electronic apparatus is provided. The electronic apparatus includes an acceleration sensor, a gyro sensor, a geomagnetic sensor, and a processor configured to compare geomagnetic data of the geomagnetic sensor and gyro data of the gyro sensor and correct the gyro data, determine a first value based on a principal component analysis (PCA) of acceleration data of the acceleration sensor, and determine a second value based on a PCA of the gyro data, and estimate a moving direction of the electronic apparatus based on the first value and the second value.
Discussion in the ATmosphere