An accelerometer is a sensor that can sense the linear acceleration of a device. It is widely used in guidance and control of aviation, navigation, aerospace and weapons. There are many types of linear accelerometer. Currently, three-axis accelerometer is used in mobile devices such as IOS. It can be used to sense the linear acceleration changes in the direction of X, Y, and Z axes on the device. As shown in, the coordinate system of the Three-Axis Accelerometer for iOS and Android devices is the right-hand coordinate system, that is, the device is vertical up, the front is toward the user, the horizontal to the right is the positive direction of the X axis, and the vertical to the positive direction of the Y axis, the positive direction of the Z axis is from the device to the user. More content please pay attention to the Cocos2d-x series of books "Cocos2d-x practice (Volume I): c ++ development" book exchange discussion site: http://www.cocoagame.net welcome to join the cocos2d-x Technology Discussion Group: 257760386, 327403678
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.