Mercurial > hg > nsaunier > traffic-intelligence
diff python/events.py @ 316:c5518a35df5f
merged
| author | Nicolas Saunier <nicolas.saunier@polymtl.ca> |
|---|---|
| date | Fri, 12 Apr 2013 15:22:00 -0400 |
| parents | f7ca78a11ea6 |
| children | d280b881e860 |
line wrap: on
line diff
--- a/python/events.py Fri Apr 12 13:16:38 2013 -0400 +++ b/python/events.py Fri Apr 12 15:22:00 2013 -0400 @@ -64,6 +64,12 @@ # todo test for interaction instants and interval, compute indicators + def addVideoFilename(self,videoFilename): + self.videoFilename= videoFilename + + def addInteractionType(self,interactionType): + ''' interaction types: conflict or collision if they are known''' + self.interactionType= interactionType def createInteractions(objects): '''Create all interactions of two co-existing road users
