Fixed relative distance errors in testing

This commit is contained in:
Josh Heidecker
2017-05-02 22:01:03 -04:00
parent d2c087b3e2
commit a30626cfe3
+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.