Storage medium storing information processing program, and information processing apparatus
First Claim
1. A non-transitory computer-readable storage medium storing an information processing program executed by a game processing system, which includes at least one processor, of an information processing apparatus that executes predetermined game processing based on acceleration data outputted from an input device that includes an acceleration sensor configured to detect acceleration, the information processing program comprising instructions that are configured to:
- repeatedly obtain acceleration data from the acceleration sensor;
calculate a change amount of acceleration based upon an acceleration history of the repeatedly obtained acceleration data;
calculate an accurate estimate of a direction of gravity with respect to the input device as a function of the combination of an acceleration value indicated by the acceleration data and the calculated change amount of acceleration; and
execute game processing on the game processing system based on the accurate estimate of the direction of gravity.
1 Assignment
0 Petitions
Accused Products
Abstract
An information processing program is provided, which is executed by a computer of an information processing apparatus that executes predetermined processing based on acceleration data outputted from an input device including an acceleration sensor for detecting acceleration. The information processing program causes the computer to function as data obtaining means, change amount calculation means, and gravity direction calculation means. The data obtaining means repeatedly obtains the acceleration data. The change amount calculation means calculates, by using a history of acceleration indicated by the acceleration data, a change amount of acceleration generated in the input device. The gravity direction calculation means calculates a direction of gravity of the input device by using the acceleration indicated by the acceleration data, based on the change amount of the acceleration.
13 Citations
23 Claims
-
1. A non-transitory computer-readable storage medium storing an information processing program executed by a game processing system, which includes at least one processor, of an information processing apparatus that executes predetermined game processing based on acceleration data outputted from an input device that includes an acceleration sensor configured to detect acceleration, the information processing program comprising instructions that are configured to:
-
repeatedly obtain acceleration data from the acceleration sensor; calculate a change amount of acceleration based upon an acceleration history of the repeatedly obtained acceleration data; calculate an accurate estimate of a direction of gravity with respect to the input device as a function of the combination of an acceleration value indicated by the acceleration data and the calculated change amount of acceleration; and execute game processing on the game processing system based on the accurate estimate of the direction of gravity. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19)
-
-
20. A game processing apparatus that is configured to execute game processing based on acceleration data outputted from an input device including an acceleration sensor that is configured to detect acceleration, the information processing apparatus comprising:
a processing system that includes at least one processor, the processing system being configured to; repeatedly obtain the acceleration data from the acceleration sensor of the input device; calculate, by using a history of acceleration indicated by the acceleration data, a change amount of acceleration generated in the input device; calculate an accurate estimate of a direction of gravity with respect to the input device as a function of a combination of an acceleration value indicated by the acceleration data and the change amount of the acceleration; and execute the game processing based on the accurate estimate of the direction of gravity. - View Dependent Claims (21)
-
22. A game processing system that is configured to execute game processing based on acceleration data outputted from an input device including an acceleration sensor that is configured to detect acceleration, the information processing apparatus comprising:
a processing system that includes at least one processor, the processing system being configured to; repeatedly obtain the acceleration data from the acceleration sensor of the input device; calculate, by using a history of acceleration indicated by the acceleration data, a change amount of acceleration generated in the input device; calculate an accurate estimate of a direction of gravity with respect to the input device as a function of a combination of the acceleration data and the change amount of the acceleration; and execute the game processing on the game processing system based on the accurate estimate of the direction of gravity.
-
23. A computer implemented method for executing game processing on a game processing system based on acceleration data outputted from an input device including an acceleration sensor that is configured to detect acceleration, the method comprising:
-
receiving, from the input device, acceleration data based on accelerations detected by the acceleration sensor; calculating, by using a history of acceleration indicated by the acceleration data, a change amount of acceleration generated in the input device; calculating, using a processing system of the game processing system that includes at least one processor, an accurate estimate of a direction of gravity with respect to the input device as a function of a combination of an acceleration value indicated by the acceleration data and the change amount of the acceleration; executing the game processing on the game processing system based on the accurate estimate of the direction of gravity.
-
Specification