摘要 |
<p><P>PROBLEM TO BE SOLVED: To accurately calculate the moving direction of an input device. <P>SOLUTION: The moving direction calculation device successively acquires acceleration data outputted from a multiaxial acceleration sensor mounted on an input device. Then, a period after the input device starts to move until the movement is ended is detected as a moving period on the basis of the acquired acceleration data. Then, a difference vector of an acceleration vector corresponding to the acceleration data and an acceleration vector corresponding to the acceleration data acquired after the acceleration data is calculated for each of two or more pieces of the acceleration data acquired within the moving period. Then, weighting corresponding to the size of the difference vector is performed to the respective difference vectors calculated for the respective acceleration data acquired within the moving period, the total sum of the respective difference vectors is calculated, and the direction of the vector indicated by the total sum is defined as a moving direction. <P>COPYRIGHT: (C)2008,JPO&INPIT</p> |