Mercurial Hosting > traffic-intelligence
diff python/ubc_utils.py @ 614:5e09583275a4
Merged Nicolas/trafficintelligence into default
author | Mohamed Gomaa <eng.m.gom3a@gmail.com> |
---|---|
date | Fri, 05 Dec 2014 12:13:53 -0500 |
parents | 2f39c4ed0b62 |
children | 15e244d2a1b5 |
line wrap: on
line diff
--- a/python/ubc_utils.py Thu Apr 18 15:29:33 2013 -0400 +++ b/python/ubc_utils.py Fri Dec 05 12:13:53 2014 -0500 @@ -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,18 @@ 'contoursequence'] severityIndicatorNames = ['Distance', - 'Cosine', + 'Collision Course Cosine', 'Velocity Cosine', 'Speed Differential', 'Collision Probability', 'Severity Index', - 'TTC'] + 'Time to Collision'] + +userTypeNames = ['car', + 'pedestrian', + 'twowheels', + 'bus', + 'truck'] # severityIndicator = {'Distance': 0, # 'Cosine': 1,