comparison python/storage.py @ 50:7b06d649122b

re-arrangement
author Nicolas Saunier <nicolas.saunier@polymtl.ca>
date Sat, 25 Sep 2010 11:36:37 -0400
parents 8aed225f71d8
children 575340e6fce3
comparison
equal deleted inserted replaced
49:1fb5606506ae 50:7b06d649122b
5 import moving 5 import moving
6 6
7 __metaclass__ = type 7 __metaclass__ = type
8 8
9 9
10 ngsimUserTypes = {'twowheels':1,
11 'car':2,
12 'truck':3}
10 13
11 14
12 15
13 def loadNgsimFile(filename, nObjects = -1, sequenceNum = -1): 16 def loadNgsimFile(filename, nObjects = -1, sequenceNum = -1):
14 '''Reads data from the trajectory data provided by NGSIM project 17 '''Reads data from the trajectory data provided by NGSIM project