diff python/ubc_utils.py @ 329:a70c205ebdd9

added sqlite code, in particular to load and save road user type
author Nicolas Saunier <nicolas.saunier@polymtl.ca>
date Thu, 13 Jun 2013 00:42:40 -0400
parents 93d851d0d21e
children 2f39c4ed0b62
line wrap: on
line diff
--- a/python/ubc_utils.py	Wed Jun 12 18:23:16 2013 -0400
+++ b/python/ubc_utils.py	Thu Jun 13 00:42:40 2013 -0400
@@ -19,6 +19,12 @@
                           'Severity Index',
                           'TTC']
 
+userTypeNames = ['car',
+                 'pedestrian',
+                 'twowheels',
+                 'bus',
+                 'truck']
+
 # severityIndicator = {'Distance': 0,
 #                      'Cosine': 1,
 #                      'Velocity Cosine': 2,