INFORMATION PROCESSING PROGRAM, INFORMATION PROCESSING DEVICE, INFORMATION PROCESSING SYSTEM, AND ATTITUDE CALCULATION METHOD
摘要
PROBLEM TO BE SOLVED: To accurately calculate the attitude of a device.SOLUTION: An information processing device calculates the attitude of an input device including a magnetic sensor. The information processing device repeatedly obtains a detection magnetic vector detected by the magnetic sensor. The information processing device repeatedly estimates the central position of a spherical body having a curved surface estimated from the end point position of each of plural detection magnetic vectors. The attitude of the input device is calculated on the basis of a direction vector indicating a direction from the central position toward the end point position of the detection magnetic vector. The information processing device calculates the attitude by relatively reducing an influence of a newly obtained detection magnetic vector as the end point position of the new detection magnetic vector is more distant from the end point position of each detection magnetic vector used for the estimation of the central position.