Skip to content

Switch compass to use true north #34

@chrisduerr

Description

@chrisduerr

Currently the compass reads data straight from iio-sensor-proxy. While this is easy, it does only provide a heading towards the magnetic north, which is significantly different from true north in many highly populated regions (like Quebec for example).

While an approximate accuracy is generally sufficient, a correction for the magnetic declination based on GPS position is likely sensible. Using a reasonable modern model to approximate for this should improve compass readings in relation to map tile orientation.

See https://www.ncei.noaa.gov/products/world-magnetic-model (lists software implementations for the world magnetic model).

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions