Improving the iPhone AR (Tool) dial with a gyroscope

I use the iPhone AR Kit and its plug, the iPhone AR Toolkit , but I try to improve the user interface using the gyroscope when it is available.

For those of you who have used kits, do you have any ideas on how to do this? My first thought was to get a yaw gyroscope to get a more accurate azimuth value.

So I have questions:

  • Has anyone used the AR kit linked above and thought about incorporating a gyroscope into it?
  • Is it useful to mix gyroscope and compass data to get a more accurate azimuth?
+4
source share
1 answer

Gyroscopes measure rotation speed, so the gyroscope output will change in yaw per second (e.g. rad / s), rather than absolute yaw. There are various methods for using gyroscopes to β€œcalculate dead” orientations, but in practice, while they are very accurate in the short term, integrating gyroscopes to determine orientations β€œdrifts” significantly, so you need to continue to calibrate against some absolute measure.

It would be very trivial to use a gyroscope to interpolate between compass readings or to calculate a bearing based on a gyroscope only for short fast movements, while the compass catches up, but the correct merging of the compass and gyroscope is not trivial. There we talk about sensor integration for Android, which could be a good start. The standard method for melting sensors is to use a Kalman filter, here is an introduction here . These are pretty attractive tools, you need a good error model for your sensor, for example.

+3
source

Source: https://habr.com/ru/post/1336973/


All Articles