From 7ac6322a29083a012f8e8a1222caabb7aa740f6f Mon Sep 17 00:00:00 2001 From: rgarcia-herrera Date: Thu, 3 Sep 2020 14:16:11 -0500 Subject: [PATCH] speed from gps is in miles! whatever, just scale --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index ff2401e..92cd2ba 100644 --- a/main.py +++ b/main.py @@ -183,7 +183,7 @@ class FlockompassApp(App): dest_distance = "%0.1f km" % dest_distance self.dest_distance = "Destino: %s\nVel: %0.1f km/h" % (dest_distance, - self.gps_data['speed']) + self.gps_data['speed'] * 1.609344) def center_map_on_gps(self):