发明名称 Storage medium having information processing program stored thereon, information processing device, information processing system, and attitude calculation method
摘要 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.
申请公布号 US9201526(B2) 申请公布日期 2015.12.01
申请号 US201213664804 申请日期 2012.10.31
申请人 NINTENDO CO., LTD. 发明人 Ohta Keizo
分类号 G01B7/00;A63F13/21;G06F17/40;G06F19/00;G06F3/038;G06F3/0346;A63F13/428;A63F13/217 主分类号 G01B7/00
代理机构 Nixon & Vanderhye P.C. 代理人 Nixon & Vanderhye P.C.
主权项 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.
地址 Kyoto JP