Re: What does CMDeviceMotion do if there is no gyro?
Re: What does CMDeviceMotion do if there is no gyro?
- Subject: Re: What does CMDeviceMotion do if there is no gyro?
- From: James Walker <email@hidden>
- Date: Wed, 14 Sep 2011 11:54:34 -0700
On 9/14/2011 11:46 AM, Matt Neuburg wrote:
On Tue, 13 Sep 2011 14:39:29 -0700, James Walker<email@hidden> said:
The CMDeviceMotion Class Reference says "Because Core Motion is able to
track a device’s attitude using both the gyroscope and the
accelerometer, it can differentiate between gravity and user
acceleration." But what does it do if the device does not have a
gyroscope
If the device lacks a gyroscope, the question doesn't arise - isDeviceMotionAvailable returns NO, device-motion services will be unavailable, and you're back to dealing directly with the accelerometer and interpreting it yourself. m.
I see, thanks.
--
James W. Walker, Innoventive Software LLC
<http://www.frameforge3d.com/>
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden