Mercurial Hosting > traffic-intelligence
diff python/moving.py @ 662:72174e66aba5
corrected bug that increased TTC by 1 frame and structure to store collision points and crossing zones
author | Nicolas Saunier <nicolas.saunier@polymtl.ca> |
---|---|
date | Mon, 18 May 2015 17:17:06 +0200 |
parents | dc70d9e711f5 |
children | 65a867942eee |
line wrap: on
line diff
--- a/python/moving.py Mon May 18 13:53:25 2015 +0200 +++ b/python/moving.py Mon May 18 17:17:06 2015 +0200 @@ -988,7 +988,7 @@ self.userType = userType self.features = None # compute bounding polygon from trajectory - + @staticmethod def generate(p, v, timeInterval): positions, velocities = Trajectory.generate(p, v, int(timeInterval.length()))