sextant

Crates.iosextant
lib.rssextant
version0.2.1
sourcesrc
created_at2024-09-04 13:24:06.837544
updated_at2024-10-13 08:15:54.492195
descriptionCalculating the geographic position (latitude, longitude) on the Earth's surface using a sextant measurement.
homepage
repositoryhttps://github.com/linuskmr/sextant-rs
max_upload_size
id1363340
size34,278
Linus (linuskmr)

documentation

README

Sextant-Calculator

sextant-calculator calculates the geographic position (latitude, longitude) on the Earth’s surface using a sextant measurement.

Motivation

GPS jamming is a special form of radio jamming, i.e. the intentional interference with GPS signals. GPS jamming is commonly used by the military to prevent GPS-guided missiles to find their target. Consequently, it can be observed in conflict zones, as shown by the GPS jamming maps by gpsjam.org and flightradar24.com. Examples include GPS blocking in Israel, in North Korea and in the Baltic Sea. Especially in the Baltic Sea, GPS disruptions are a problem for airlines, causing them to stop flying to certain destinations as well as for navigation on (sailing) ships.

Solution

Since GPS jamming is threat to the safe operation of many widely-used services, a robust backup solution is needed. One approach is celestial navigation, i.e. using a sextant. The idea was proposed by John Hadley, Thomas Godfrey and Isaac Newton around the year 1731, so it can be called a battle-tested technology. With the help of a sextant, the angle of the sun relative to the horizon (or to a artificial horizon, a fluid-filled tube with bubble) is measured at culmination, i.e. at the time of the highest point of the sun, which is around noon. Together with the time of culmination from a sufficiently precise clock (a challenge back in the time), the position (latitude, longitude) can be calculated (see Calculation for details). This library aims to implement these tedious and error-prone calculations.

Limitations & Other Approaches

The accuracy of a position calculated by a sextant measurement can vary from a few kilometers/miles to a several dozen kilometers/miles, depending on the accuracy of the measurement. Therefore, sextant navigation is not suitable for close navigation (e.g. inside a city), but rather for long-distance navigation (e.g. on the open sea). A project aiming to improve the resilience of GPS in the baltic sea is the R-Mode Baltic project terrestrial positioning system, which "allows positioning even in times when the Global Navigation Satellite Systems (GNSS) fail."

Commit count: 17

cargo fmt