changed the used distance function
This commit is contained in:
parent
5406d5f0eb
commit
1b89041375
|
@ -6,7 +6,7 @@ except ImportError:
|
|||
raise RuntimeError('cannot import "carla_server_pb2.py", run the protobuf compiler to generate this file')
|
||||
|
||||
|
||||
import json, csv, time
|
||||
import json, csv, time, math
|
||||
|
||||
|
||||
sldist = lambda c1, c2: math.sqrt((c2[0] - c1[0])**2 + (c2[1] - c1[1])**2)
|
||||
|
|
Loading…
Reference in New Issue