Fixed relative distance errors in testing

old-commit-hash: a30626cfe3
This commit is contained in:
Josh Heidecker
2017-05-02 22:01:03 -04:00
parent e49499a5eb
commit 58abd0c858
+1 -1
View File
@@ -181,7 +181,7 @@ class Plant(object):
# *** radar model ***
if self.lead_relevancy:
d_rel = np.maximum(0., self.distance_lead - distance)
d_rel = np.maximum(0., distance_lead - distance)
v_rel = v_lead - speed
else:
d_rel = 200.