detail TODO tag
This commit is contained in:
parent
6717f07a49
commit
1baf2e39d7
2
model.py
2
model.py
@ -9,6 +9,7 @@ from geopy import distance
|
||||
|
||||
|
||||
# TODO: instead of centroid use speed and bearing of flockers to create a vector, point rider towards it
|
||||
# use time elapsed since last update, speed vector and current point to compute future location
|
||||
class Flock:
|
||||
"""
|
||||
Flock object is created from a list of agents
|
||||
@ -64,7 +65,6 @@ class Bike(Document):
|
||||
else:
|
||||
t = target
|
||||
|
||||
print(s, t)
|
||||
return s.heading_initial(t)
|
||||
|
||||
def distance_to(self, point):
|
||||
|
||||
Loading…
Reference in New Issue
Block a user