Storage medium having stored thereon information processing program and information processing apparatus
First Claim
1. A non-transitory computer readable storage medium having stored thereon an information processing program executed on a computer of an information processing apparatus which executes a process using acceleration data outputted from an acceleration sensor detecting acceleration along at least two axis directions applied to an input device, the information processing program causing the computer to perform:
- data obtaining for repeatedly obtaining the acceleration data;
acceleration vector generation for generating first acceleration vector in accordance with first acceleration data obtained by the data obtaining, and for generating second acceleration vector in accordance with second acceleration data obtained by the data obtaining time-sequentially following the first acceleration data;
cross product direction calculation for calculating a direction of a cross product between the first acceleration vector and the second acceleration vector; and
swing direction identification for identifying a swing direction in which the input device is swung in accordance with the direction of the cross product.
1 Assignment
0 Petitions
Accused Products
Abstract
A data obtaining unit repeatedly obtains acceleration data. An acceleration vector generation unit generates first acceleration vector in accordance with first acceleration data obtained by the data obtaining unit, and generates second acceleration vector in accordance with second acceleration data time-sequentially obtained by the data obtaining unit following the first acceleration data. A cross product direction calculation unit calculates a direction of a cross product between the first acceleration vector and the second acceleration vector. A swing direction identification unit identifies a swing direction in which the input device is swung in accordance with the direction of the cross product.
-
Citations
19 Claims
-
1. A non-transitory computer readable storage medium having stored thereon an information processing program executed on a computer of an information processing apparatus which executes a process using acceleration data outputted from an acceleration sensor detecting acceleration along at least two axis directions applied to an input device, the information processing program causing the computer to perform:
-
data obtaining for repeatedly obtaining the acceleration data; acceleration vector generation for generating first acceleration vector in accordance with first acceleration data obtained by the data obtaining, and for generating second acceleration vector in accordance with second acceleration data obtained by the data obtaining time-sequentially following the first acceleration data; cross product direction calculation for calculating a direction of a cross product between the first acceleration vector and the second acceleration vector; and swing direction identification for identifying a swing direction in which the input device is swung in accordance with the direction of the cross product. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16)
-
-
17. An information processing apparatus performing a process using acceleration data outputted from an acceleration sensor detecting acceleration along at least two axis direction applied to an input device, comprising:
-
a data obtaining unit for repeatedly obtaining the acceleration data; an acceleration vector generation unit for generating first acceleration vector in accordance with first acceleration data obtained by the data obtaining unit, and for generating second acceleration vector in accordance with second acceleration data obtained by the data obtaining unit time-sequentially following the first acceleration data; a cross product direction calculation unit for calculating a direction of a cross product between the first acceleration vector and the second acceleration vector; and a swing direction identification unit for identifying a swing direction in which the input device is swung in accordance with the direction of the cross product.
-
-
18. An information processing system, including an input device and an information processing apparatus performing a process using acceleration data outputted from an acceleration sensor detecting acceleration along at least two axis direction applied to the input device, comprising:
-
a data obtaining unit for repeatedly obtaining the acceleration data; and a processing system, including one or more computer processors, configured to; generate a first acceleration vector in accordance with first acceleration data obtained by the data obtaining unit, and generate a second acceleration vector in accordance with second acceleration data obtained by the data obtaining unit time-sequentially following the first acceleration data; calculate a direction of a cross product between the first acceleration vector and the second acceleration vector; and identify a swing direction in which the input device is swung in accordance with the direction of the cross product.
-
-
19. A computer-implemented method for executing a process using acceleration data outputted from an acceleration sensor detecting acceleration along at least two axis directions applied to an input device, the method comprising:
-
repeatedly obtaining the acceleration data; generating a first acceleration vector in accordance with obtained first acceleration data, and generating a second acceleration vector in accordance with obtained second acceleration data time-sequentially following the first acceleration data; calculating, via one or more computer processors, a direction of a cross product between the first acceleration vector and the second acceleration vector; and identifying a swing direction in which the input device is swung in accordance with the direction of the cross product.
-
Specification