هل أحصل على قراءات تسارع أكثر دقة أو أسرع مع الحركة الأساسية؟

StackOverflow https://stackoverflow.com/questions/5492479

سؤال

يمكنني استخدام هذه الطريقة لإطار الحركة الأساسية: giveacodicetagpre.

كبديل giveacodicetagpre.

uaccelationDelegate uikit.هناك، يجب أن حدد تواتر التحديثات.أريد أن أحصل على بيانات التسارع بسرعة ودقيقة قدر الإمكان.

هو الحركة الأساسية يا صديقي هنا؟ما هو تواتر القراءات التي يمكن أن أتوقعها من طريقة الحركة الأساسية؟الوثائق لا تتحدث عنها.

هل كانت مفيدة؟

المحلول

Edit! Now that this answer is OVER A YEAR OLD, certainly it is only of historic value. At this stage, I guess, everyone should only be using CoreMotion and that's that. Hope this historic answer it helps an history students!


My impression is that: CMAttitude and CMDeviceMotion give you the benefit of both the accel'r and the gyro (if the gyro is present). Whereas CMAccelerometerData is only the accel'r. (Exactly like in the old days before Core Motion.)

My impression is that the two specific advantages of CoreMotion are:

(One) the mindboggling convenience of having Quaternions and attitude given to you on a silver platter

(Two) apparently, both gyro and accel'r are used on machines with a gyro, with no extra work from you ... a huge advantage.

I believe there is no actual technical difference in the quality of usage of the accelerometer per se.

Thus: if (for some reason) you want only the accel'r, and you can do the math (if relevant to your task at hand), you could use the old-school accel'r delegate.

It seems that in short, none of us will ever again use the old-school accelerometer delegate!

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top