# Problem #2: Device movement tracking

The problem of device movement tracking is similar to the problem of precise initial positioning, but there is a chance of using additional tools for resolving this task. Therefore, for the convenience of presenting the approaches to its resolution, it seems sensible to isolate it and examine it separately.

The problem of device movement tracking is resolved through using the data provided by the accelerometer, gyroscope, barometer and camera video stream, processed by the internal ARKit by Apple and ARCore by Google, which, after finding natural surfaces in space, are capable of tracking the movement and determine the distance covered with reasonable preciseness, however:

* This method only works during daylight time, when ArKit/ArCore algorithms are capable of finding surfaces.
* The method allows to monitor device movement, but is still incapable of providing precise information on the direction of movement according to cardinal directions.
* In the absence of precise data on the initial device position and precise data on the direction of its movement, all subsequent precise measurements of the distance and movement trajectory provide an erroneous superimposition of the virtual world over the real world.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://spheroid-universe-academy.gitbook.io/white-paper/tecnologias/problemas-y-limitaciones-de-ra/problema-2-trazado-del-movimiento-del-dispositivo.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
