Method for Obtaining Movement Track of User and Terminal
DRIVE
September 30, 2021
A method includes obtaining gravity data of a terminal determining that the terminal is in a first posture in a first time period determining a movement direction of a user in the first time period based on the first posture and azimuth data determining that the terminal is in an unstable state in a second time period, determining a movement direction of the user in the second time period based on the movement direction in the first time period, determining that the terminal is in a stable state in a third time period, determining, by the terminal, a movement direction of the user in the third time period based on the movement direction in the second time period and azimuth data, and determining, by the terminal, a movement track of the user based on the movement directions of the user in all the time periods.
Discussion in the ATmosphere