Top "Core-motion" questions

Core Motion is a framework within Apple's iOS SDK used to access all kind of motion sensor data.

Using quaternion instead of roll, pitch and yaw to track device motion

Please bear with my long question, I am trying to make it as clear as possible. What i am trying …

iphone ios objective-c quaternions core-motion
DeviceMotion relative to world - multiplyByInverseOfAttitude

What is the correct way to use CMAttitude:multiplyByInverseOfAttitude? Assuming an iOS5 device laying flat on a table, after starting …

ios core-motion
iPhone - understanding iPhone rotation

I am banging my head on the wall trying to understand this. See the next picture. Suppose I have an …

iphone core-motion
How to use deviceMotion attitude values (roll,pitch and yaw) to detect a motion

I'm using coreMotion in my app to detect a motion of iOS device. I know how to get the different …

ios core-motion
How to create a new CMAttitude Reference Frame to make the gravity be on the Y axis

I want to be able to change the Device Motion Manager Reference frame (for the gyro) so that I have …

iphone xcode gyroscope core-motion
How to calculate correct velocity values from accerometer

I need to calculate iphone velocity in space, punch speed for example. My first question is: Are the acceleration values …

iphone ios core-motion acceleration
What replaces the iOS 5 deprecated accelerometer:didAccelerate?

Hmmm ... I am behind the times and trying to port over some old code to a new application and the …

ios5 deprecated core-motion accelerate-framework
iPhone collecting CoreMotion data in the background. (longer than 10 mins)

I am trying to collect coreMotion acceleration data in the background for longer than 10 minutes. This must be possible since …

ios iphone ios7 core-motion
iOS detect movement of user

I want to create a simple app that draws a simple line on screen when I move my phone on …

objective-c ios core-motion uiaccelerometer
get pitch, yaw, roll from a CMRotationMatrix

I have a CMRotationMatrix *rot and i would like to get the pitch, yaw, roll from the matrix. Any ideas …

ios opengl-es core-motion