Patent ID: 9201526
Filing Date: 2015-12-01
Classification: A63F,G01B,G06F,G16Z

Abstract:
1. A non-transitory computer-readable storage medium storing an information processing program to be executed by a computer of an information processing device for calculating an attitude of an input unit having a magnetic sensor that is structurally part of or related to the input unit, the information processing program configuring the computer to execute: repeatedly obtaining detected magnetic vectors detected by the magnetic sensor; repeatedly estimating a center position of a spherical body having a curved surface which is estimated based on end point positions of the obtained detected magnetic vectors; and calculating the attitude of the input unit based on a direction vector representing a direction from the estimated center position to the end point positions of the detected magnetic vectors, wherein each time a detected magnetic vector is obtained, the center position is updated so that at least some of lengths from the center position to end points of the detected magnetic vectors used for the estimation of the center position are brought closer to an average between the lengths.