Mercurial Hosting > traffic-intelligence
diff python/ubc_utils.py @ 341:2f39c4ed0b62
first version of indicator saving to sqlite
author | Nicolas Saunier <nicolas.saunier@polymtl.ca> |
---|---|
date | Thu, 20 Jun 2013 14:31:24 -0400 |
parents | a70c205ebdd9 |
children | 15e244d2a1b5 |
line wrap: on
line diff
--- a/python/ubc_utils.py Wed Jun 19 23:35:24 2013 -0400 +++ b/python/ubc_utils.py Thu Jun 20 14:31:24 2013 -0400 @@ -1,7 +1,7 @@ #! /usr/bin/env python '''Various utilities to load data saved by the UBC tool(s)''' -import utils +import utils, events from moving import MovingObject, TimeInterval, Trajectory __metaclass__ = type @@ -12,12 +12,12 @@ 'contoursequence'] severityIndicatorNames = ['Distance', - 'Cosine', + 'Collision Course Cosine', 'Velocity Cosine', 'Speed Differential', 'Collision Probability', 'Severity Index', - 'TTC'] + 'Time to Collision'] userTypeNames = ['car', 'pedestrian',