STORAGE MEDIUM HAVING INFORMATION PROCESSING PROGRAM STORED THEREON, INFORMATION PROCESSING DEVICE, INFORMATION PROCESSING SYSTEM, AND ATTITUDE CALCULATION METHOD
First Claim
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, the information processing program causing 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 detected magnetic vectors; and
calculating the attitude of the input unit based on a direction vector representing a direction from the center position to the end point position of the detected magnetic vector,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.
1 Assignment
0 Petitions
Accused Products
Abstract
An example information processing device calculates an attitude of an input unit having a magnetic sensor. The information processing device repeatedly obtains detected magnetic vectors detected by the magnetic sensor. The information processing device repeatedly estimates a center position of a spherical body having a curved surface which is estimated based on end point positions of the detected magnetic vectors. The attitude of the input unit is calculated based on a direction vector representing a direction from the center position to the end point position of the detected magnetic vector. Each time a detected magnetic vector is obtained, the information processing device updates the center position 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.
-
Citations
14 Claims
-
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, the information processing program causing 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 detected magnetic vectors; and calculating the attitude of the input unit based on a direction vector representing a direction from the center position to the end point position of the detected magnetic vector, 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. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
-
-
12. An information processing device for calculating an attitude of an input unit having a magnetic sensor, comprising:
-
an obtaining unit for repeatedly obtaining detected magnetic vectors detected by the magnetic sensor; a center estimation unit for estimating a center position of a spherical body having a curved surface which is estimated based on end point positions of the detected magnetic vectors; and an attitude calculation unit for calculating the attitude of the input unit based on a direction vector representing a direction from the center position to the end point position of the detected magnetic vector, wherein each time a detected magnetic vector is obtained, the center estimation unit updates the center position 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.
-
-
13. An information processing system for calculating an attitude of an input unit having a magnetic sensor, comprising:
-
an obtaining unit for repeatedly obtaining detected magnetic vectors detected by the magnetic sensor; a center estimation unit for estimating a center position of a spherical body having a curved surface which is estimated based on end point positions of the detected magnetic vectors; and an attitude calculation unit for calculating the attitude of the input unit based on a direction vector representing a direction from the center position to the end point position of the detected magnetic vector, wherein each time a detected magnetic vector is obtained, the center estimation unit updates the center position 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.
-
-
14. An attitude calculation method for calculating an attitude of an input unit having a magnetic sensor, comprising:
-
repeatedly obtaining detected magnetic vectors detected by the magnetic sensor; estimating a center position of a spherical body having a curved surface which is estimated based on end point positions of the detected magnetic vectors; and calculating the attitude of the input unit based on a direction vector representing a direction from the center position to the end point position of the detected magnetic vector, 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.
-
Specification