摘要 |
This disclosure provides devices, computer programs and methods for determining a motion direction. In one aspect, a mobile device includes sensors for measuring acceleration data. The mobile device also includes a processor and memory that implement a plurality of motion direction estimation modules for calculating a plurality of respective motion directions. Each of the motion direction estimation modules uses a respective set of parameters and calculates the respective motion direction based on the acceleration data and the respective set of parameters. The modules also include a plurality of reliability metric computation modules for determining a plurality of respective reliability metrics for the respective estimated motion directions. The modules also include a selection module for identifying the reliability metric that indicates the greatest reliability, identifying the corresponding motion direction, and generating a resultant motion direction. In some implementations, the selection module selects the identified motion direction as the resultant motion direction. |