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 device, the input device including a magnetic sensor therein, 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 device based on a direction vector representing a direction from the center position to the end point position of the detected magnetic vector, whereinthe attitude is calculated while relatively decreasing an influence of a newly-obtained detected magnetic vector as the end point position of the newly-obtained detected magnetic vector is farther away from the end point positions of the detected magnetic vectors used for the estimation of the center position.
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. The information processing device calculates the attitude while relatively decreasing an influence of a newly-obtained detected magnetic vector as the end point position of the newly-obtained detected magnetic vector is farther away from the end point positions of the detected magnetic vectors used for the estimation of the center position.
13 Citations
17 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 device, the input device including a magnetic sensor therein, 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 device based on a direction vector representing a direction from the center position to the end point position of the detected magnetic vector, wherein the attitude is calculated while relatively decreasing an influence of a newly-obtained detected magnetic vector as the end point position of the newly-obtained detected magnetic vector is farther away from the end point positions of the detected magnetic vectors used for the estimation of the center position. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13)
-
-
14. 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 device, the input device including a sensor therein for detecting a value which varies depending on the attitude of the input device, the information processing program causing the computer to execute:
-
obtaining detected vectors detected by the sensor; estimating a center position of a spherical body having a curved surface which is estimated based on end point positions of the detected vectors; and calculating the attitude of the input device based on a direction vector representing a direction from the center position to the end point position of the detected vector, wherein the attitude is calculated while relatively decreasing an influence of a newly-obtained detected vector as the end point position of the newly-obtained detected vector is farther away from the end point positions of the detected vectors used for the estimation of the center position.
-
-
15. An information processing device for calculating an attitude of an input device, the input device including a magnetic sensor therein, comprising a computer configured to perform at least:
-
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 device based on a direction vector representing a direction from the center position to the end point position of the detected magnetic vector, wherein the calculating the attitude of the input device calculates the attitude while relatively decreasing an influence of a newly-obtained detected magnetic vector as the end point position of the newly-obtained detected magnetic vector is farther away from the end point positions of the detected magnetic vectors used for the estimation of the center position.
-
-
16. An information processing system for calculating an attitude of an input device, the input device including a magnetic sensor therein, comprising a computer configured to perform at least:
-
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 device based on a direction vector representing a direction from the center position to the end point position of the detected magnetic vector, wherein the calculating the attitude of the input device calculates the attitude while relatively decreasing an influence of a newly-obtained detected magnetic vector as the end point position of the newly-obtained detected magnetic vector is farther away from the end point positions of the detected magnetic vectors used for the estimation of the center position.
-
-
17. An attitude calculation method for calculating an attitude of an input device, the input device including a magnetic sensor therein, comprising:
-
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 device based on a direction vector representing a direction from the center position to the end point position of the detected magnetic vector, wherein the attitude is calculated while relatively decreasing an influence of a newly-obtained detected magnetic vector as the end point position of the newly-obtained detected magnetic vector is farther away from the end point positions of the detected magnetic vectors used for the estimation of the center position.
-
Specification