diff --git a/dest_needle.svg b/dest_needle.svg new file mode 100644 index 0000000..70264a5 --- /dev/null +++ b/dest_needle.svg @@ -0,0 +1,287 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + D + + + + + + diff --git a/main.py b/main.py index fda3ef8..c26a319 100644 --- a/main.py +++ b/main.py @@ -79,7 +79,7 @@ class FlockompassApp(App): self.fbearing = atan2(sin(lon2 - lon1) * cos(lat2), cos(lat1) * sin(lat2) - sin(lat1) * cos(lat2) * cos(lon2-lon1)) - self.fbearing = self.needle_angle - degrees(self.fbearing) + 90 + self.fbearing = self.needle_angle - degrees(self.fbearing) self.fbearing = (self.fbearing + 360) % 360 def center_map_on_gps(self): diff --git a/needle_to_flock.png b/needle_to_flock.png index 4c6d47d..b625552 100644 Binary files a/needle_to_flock.png and b/needle_to_flock.png differ