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:
- obtaining detected magnetic vectors detected by the magnetic sensor;
storing the detected magnetic vectors in a storage unit where each detected magnetic vector is classified based on a direction from a reference position, which is determined based on the detected magnetic vector, to the end point position of the detected magnetic vector;
estimating a center position of a spherical body having a curved surface which is estimated based on the end point positions of detected magnetic vectors obtained by extracting, from among the classified detected magnetic vectors, at least one detected magnetic vector for each class; 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.
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 stores the detected magnetic vectors in a storage unit where each detected magnetic vector is classified based on a direction from a reference position to the end point position of the detected magnetic vector. The information processing device repeatedly estimates a center position of a spherical body having a curved surface which is estimated based on the end point positions of detected magnetic vectors obtained by extracting, from among the classified detected magnetic vectors, at least one detected magnetic vector for each class. 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.
-
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:
-
obtaining detected magnetic vectors detected by the magnetic sensor; storing the detected magnetic vectors in a storage unit where each detected magnetic vector is classified based on a direction from a reference position, which is determined based on the detected magnetic vector, to the end point position of the detected magnetic vector; estimating a center position of a spherical body having a curved surface which is estimated based on the end point positions of detected magnetic vectors obtained by extracting, from among the classified detected magnetic vectors, at least one detected magnetic vector for each class; 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. - 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 obtaining detected magnetic vectors detected by the magnetic sensor; a storage control unit for storing the detected magnetic vectors in a storage unit where each detected magnetic vector is classified based on a direction from a reference position, which is determined based on the detected magnetic vector, to the end point position of the detected magnetic vector; a center estimation unit for estimating a center position of a spherical body having a curved surface which is estimated based on the end point positions of detected magnetic vectors obtained by extracting, from among the classified detected magnetic vectors, at least one detected magnetic vector for each class; 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.
-
-
13. An information processing system for calculating an attitude of an input unit having a magnetic sensor, comprising:
-
an obtaining unit for obtaining detected magnetic vectors detected by the magnetic sensor; a storage control unit for storing the detected magnetic vectors in a storage unit where each detected magnetic vector is classified based on a direction from a reference position, which is determined based on the detected magnetic vector, to the end point position of the detected magnetic vector; a center estimation unit for estimating a center position of a spherical body having a curved surface which is estimated based on the end point positions of detected magnetic vectors obtained by extracting, from among the classified detected magnetic vectors, at least one detected magnetic vector for each class; 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.
-
-
14. An attitude calculation method for calculating an attitude of an input unit having a magnetic sensor, comprising:
-
obtaining detected magnetic vectors detected by the magnetic sensor; storing the detected magnetic vectors in a storage unit where each detected magnetic vector is classified based on a direction from a reference position, which is determined based on the detected magnetic vector, to the end point position of the detected magnetic vector; estimating a center position of a spherical body having a curved surface which is estimated based on the end point positions of detected magnetic vectors obtained by extracting, from among the classified detected magnetic vectors, at least one detected magnetic vector for each class; 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.
-
Specification