diff python/utils.py @ 351:891858351bcb

added new parameter (use features) for safety analysis
author Nicolas Saunier <nicolas.saunier@polymtl.ca>
date Thu, 27 Jun 2013 00:25:51 -0400
parents 7e9ad2d9d79c
children 72aa44072093
line wrap: on
line diff
--- a/python/utils.py	Thu Jun 27 00:18:39 2013 -0400
+++ b/python/utils.py	Thu Jun 27 00:25:51 2013 -0400
@@ -460,6 +460,7 @@
         self.minAcceleration = config.getfloat(self.sectionHeader, 'min-acceleration')/self.videoFrameRate**2
         self.maxAcceleration = config.getfloat(self.sectionHeader, 'max-acceleration')/self.videoFrameRate**2
         self.maxSteering = config.getfloat(self.sectionHeader, 'max-steering')/self.videoFrameRate
+        self.useFeaturesForPrediction = config.getboolean(self.sectionHeader, 'use-features-prediction')
 
 #########################
 # sqlite