|
The compass arrow is not shown or points to the wrong direction |
|
|
To determine the orientation of the device in the Earth's magnetic field without a magnetic compass, a little trick is necessary: we compare the last two received GPS coordinates with each other. This allows to calculate the direction of the current movement. With that knowledge we can calculate the north direction relatively to this movement.
So in order for this calculation to be possible, the device must be moved in a certain direction. Turning at the same spot results in no new GPS coordinates, so no new heading can be calculated - the arrow will always show in the same direction.
Moving just a few steps is usually enough for the arrow to be updated.
|