comparison 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
comparison
equal deleted inserted replaced
315:82b9be447608 316:c5518a35df5f
62 self.addIndicator(indicators.SeverityIndicator('Speed Differential', speedDifferentials)) 62 self.addIndicator(indicators.SeverityIndicator('Speed Differential', speedDifferentials))
63 self.addIndicator(indicators.SeverityIndicator('Collision Course Cosine', collisionCourseCosines)) 63 self.addIndicator(indicators.SeverityIndicator('Collision Course Cosine', collisionCourseCosines))
64 64
65 # todo test for interaction instants and interval, compute indicators 65 # todo test for interaction instants and interval, compute indicators
66 66
67 def addVideoFilename(self,videoFilename):
68 self.videoFilename= videoFilename
69
70 def addInteractionType(self,interactionType):
71 ''' interaction types: conflict or collision if they are known'''
72 self.interactionType= interactionType
67 73
68 def createInteractions(objects): 74 def createInteractions(objects):
69 '''Create all interactions of two co-existing road users 75 '''Create all interactions of two co-existing road users
70 76
71 todo add test to compute categories?''' 77 todo add test to compute categories?'''