diff scripts/safety-analysis.py @ 387:91679eb2ff2c

cleaning up safety analysis and the new traditional constant velocity method
author Nicolas Saunier <nicolas.saunier@polymtl.ca>
date Wed, 24 Jul 2013 12:48:12 -0400
parents 619ae9a9a788
children 6551a3cf1750
line wrap: on
line diff
--- a/scripts/safety-analysis.py	Tue Jul 23 05:05:06 2013 -0400
+++ b/scripts/safety-analysis.py	Wed Jul 24 12:48:12 2013 -0400
@@ -26,7 +26,7 @@
     predictionMethod = params.predictionMethod
 
 if predictionMethod == 'cvd':
-    predictionParameters = prediction.CVDirectPredictionParameters(params.maxPredictedSpeed)
+    predictionParameters = prediction.CVDirectPredictionParameters()
 elif predictionMethod == 'cv':
     predictionParameters = prediction.ConstantPredictionParameters(params.maxPredictedSpeed)
 elif predictionMethod == 'na':