fix typo
This commit is contained in:
parent
dc01afdc78
commit
aff70ddf22
@ -128,11 +128,11 @@ class Vehicle:
|
||||
# reached distance in kilometers: convert km/h to km/s and multiply by driving time
|
||||
kilometers = self.velocity / 3600 * driving_time * SCALING
|
||||
|
||||
# Define a general distance object, initialized with a distance of 1 km.
|
||||
# Define a general distance object, initialized with a distance of k km.
|
||||
d = geopy.distance.distance(kilometers=kilometers)
|
||||
|
||||
# Use the `destination` method with a bearing of bearing degrees
|
||||
# in order to go from point `start` to kilometers km bearing.
|
||||
# Use the `destination` method with a bearing of BEARING degrees
|
||||
# in order to move from point `start` to kilometers km bearing.
|
||||
self._gps_location = d.destination(point=start, bearing=BEARING)
|
||||
|
||||
# update driven kilometers
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user