View Single Post
juise-'s Avatar
Posts: 186 | Thanked: 192 times | Joined on Jan 2010 @ Finland
#11
Originally Posted by ndi View Post
a) you don't have rotate along axis detection if axis is aligned with earth. (hold it with one axis aligned with gravity ( | )and rotate on the axis parallel to earth) (---). Axis should be aligned with accelerometer axis, not phone center. That's why several controllers, as well as phones like Neo Freeruner have two, misaligned.
To reliably detect all possible rotation with only linear acceleration sensors would actually require three sensors that are not placed on a same line.

With only two, you could position the device so that the axis passing through both sensors is aligned with gravity, and then rotate around that axis to make the device lose it's orientation.
 

The Following User Says Thank You to juise- For This Useful Post: