Mercurial Hosting > traffic-intelligence
diff python/tests/prediction.txt @ 466:e891a41c6c75
name change in prediction.py
author | Nicolas Saunier <nicolas.saunier@polymtl.ca> |
---|---|
date | Wed, 05 Mar 2014 17:47:26 -0500 |
parents | e56c34c1ebac |
children | 72174e66aba5 |
line wrap: on
line diff
--- a/python/tests/prediction.txt Thu Feb 27 03:30:28 2014 -0500 +++ b/python/tests/prediction.txt Wed Mar 05 17:47:26 2014 -0500 @@ -18,7 +18,7 @@ >>> import random >>> acceleration = lambda: random.uniform(-0.5,0.5) >>> steering = lambda: random.uniform(-0.1,0.1) ->>> et = prediction.PredictedTrajectoryNormalAdaptation(moving.Point(0,0),moving.Point(1,1), acceleration, steering, maxSpeed = 2) +>>> et = prediction.PredictedTrajectoryRandomControl(moving.Point(0,0),moving.Point(1,1), acceleration, steering, maxSpeed = 2) >>> p = et.predictPosition(500) >>> from numpy import max >>> max(et.getPredictedSpeeds()) <= 2.