fix
This commit is contained in:
parent
b9bb025012
commit
1c1d7a9f55
@ -16,7 +16,7 @@ def get_realistic_coords(center_coords: tuple, current_coords: tuple = None,
|
||||
|
||||
direction = random.uniform(0, 2 * 3.14159)
|
||||
|
||||
speed_degrees = current_speed * DEGREES_PER_KM * (
|
||||
speed_degrees = float(current_speed) * DEGREES_PER_KM * (
|
||||
30 / 3600)
|
||||
lat_offset = speed_degrees * random.uniform(0.8, 1.2) * math.cos(
|
||||
direction)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user