Mercurial > hg > nsaunier > traffic-intelligence
comparison python/ubc_utils.py @ 62:290fceb125d2
moved road user types and added plotting for all road users
| author | Nicolas Saunier <nicolas.saunier@polymtl.ca> |
|---|---|
| date | Thu, 04 Nov 2010 17:40:07 -0400 |
| parents | a8c6d544f015 |
| children | ded58c424783 |
comparison
equal
deleted
inserted
replaced
| 61:a8c6d544f015 | 62:290fceb125d2 |
|---|---|
| 3 | 3 |
| 4 import utils | 4 import utils |
| 5 from moving import MovingObject, TimeInterval, Trajectory | 5 from moving import MovingObject, TimeInterval, Trajectory |
| 6 | 6 |
| 7 __metaclass__ = type | 7 __metaclass__ = type |
| 8 | |
| 9 userTypeNames = ['car', | |
| 10 'pedestrian', | |
| 11 'twowheels', | |
| 12 'bus' | |
| 13 'truck'] | |
| 14 | 8 |
| 15 fileTypeNames = ['feature', | 9 fileTypeNames = ['feature', |
| 16 'object', | 10 'object', |
| 17 'prototype', | 11 'prototype', |
| 18 'contoursequence'] | 12 'contoursequence'] |
