What does Core Motion error 102 mean?

后端 未结 5 1651
时光说笑
时光说笑 2021-01-19 02:18

I use Core Motion\'s sensor fusing to get north oriented motion updates:

[motionManager startDeviceMotionUpdatesUsingReferenceFrame:CMAttitudeReferenceFrameX         


        
5条回答
  •  傲寒
    傲寒 (楼主)
    2021-01-19 02:57

    From documentation

    typedef enum {
       CMErrorNULL = 100,
       CMErrorDeviceRequiresMovement,
       CMErrorTrueNorthNotAvailable
    } CMError;
    

    It seems error 102 is CMErrorTrueNorthNotAvailable, and its description is

    CMErrorTrueNorthNotAvailable

    It seems not much information is available regarding what causes this error. It can be any hardware issue with the device.

提交回复
热议问题