bearing4
This commit is contained in:
@ -75,6 +75,7 @@ def update_location():
|
|||||||
print('post.php', r.text)
|
print('post.php', r.text)
|
||||||
|
|
||||||
import math
|
import math
|
||||||
|
R = 6371.0
|
||||||
|
|
||||||
def haver_dist(coord1, coord2):
|
def haver_dist(coord1, coord2):
|
||||||
lati1 = math.radians(coord1[0])
|
lati1 = math.radians(coord1[0])
|
||||||
|
|||||||
Reference in New Issue
Block a user