我注意到 Coree Motion 存在一个问题。当我使用
[_mMotionManager startDeviceMotionUpdatesUsingReferenceFrame: CMAttitudeReferenceFrameXTrueNorthZVertical
toQueue: [[[NSOperationQueue alloc] init] autorelease]
withHandler:
^(CMDeviceMotion* motion, NSError* error) {
//my code here
}];
要获得设备运动,它会给我错误的设备标题。我的意思是,如果我开始处理朝北的运动更新手持设备,则航向是可以的。但是,如果我不向北开始,则偏差非常大。
有没有办法获得正确的航向值?