From the course: Advanced iOS App Development: Core Motion

Unlock the full course today

Join today to access over 22,500 courses taught by industry experts or purchase this course individually.

Measurement units

Measurement units - iOS Tutorial

From the course: Advanced iOS App Development: Core Motion

Start my 1-month free trial

Measurement units

- [Instructor] There's a lot of different units of measurements with core motion, many of them from physics and math. You probably haven't had a physics or math class in awhile, so you might want a refresher. Put an iPhone on a table with the screen facing up, and the bottom facing you, like this. There are three axes going through your phone based on this position. The X-Axis goes through one side of the phone to the other. Side to side motion is measured on the X-Axis. IPhone measurements are in meters based on a center reference position. The values increase as you go right and decrease as you go left. When you move the phone 10 centimeters to the left, that would be a movement of negative zero point one meters. The Y-Axis is a motion from the top to the bottom of the phone. The values on the Y-Axis increase as you go away from you and decrease as they get closer to you. Moving the phone a foot away from you is about a zero point three meter change in the Y-Axis. The Z-Axis is the…

Contents