Mercurial Hosting > traffic-intelligence
changeset 1117:bb58506c1bfd
minor
author | Nicolas Saunier <nicolas.saunier@polymtl.ca> |
---|---|
date | Tue, 25 Jun 2019 00:38:56 -0400 |
parents | a3982d591a61 |
children | 234e2228fd30 |
files | trafficintelligence/moving.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/trafficintelligence/moving.py Mon Jun 24 22:34:36 2019 -0400 +++ b/trafficintelligence/moving.py Tue Jun 25 00:38:56 2019 -0400 @@ -1457,7 +1457,7 @@ if p1[2] == p2[2]: alpha = t-float(i) return [(1-alpha)*p1[0]+alpha*p2[0], (1-alpha)*p1[1]+alpha*p2[1], p1[2]] - elif alignments is not None: + elif alignments is not None: # can be done only if assuming there is no missing alignmentn where the object has no coordinate pass # TODO else: print('Object {} changes lane at {} and alignments are not provided'.format(self.getNum(), t))