diff python/prediction.py @ 698:8d99a9e16644 dev

added clarification comments
author Nicolas Saunier <nicolas.saunier@polymtl.ca>
date Fri, 17 Jul 2015 14:28:14 -0400
parents ae137e3b1990
children 4cc56ff82c3c
line wrap: on
line diff
--- a/python/prediction.py	Fri Jul 17 14:22:45 2015 -0400
+++ b/python/prediction.py	Fri Jul 17 14:28:14 2015 -0400
@@ -492,7 +492,8 @@
 
 class CVDirectPredictionParameters(PredictionParameters):
     '''Prediction parameters of prediction at constant velocity
-    using direct computation of the intersecting point'''
+    using direct computation of the intersecting point
+    Warning: the computed time to collision may be higher than timeHorizon (not used)'''
     
     def __init__(self):
         PredictionParameters.__init__(self, 'constant velocity (direct computation)', None)
@@ -548,7 +549,8 @@
 
 class CVExactPredictionParameters(PredictionParameters):
     '''Prediction parameters of prediction at constant velocity
-    using direct computation of the intersecting point (solving for the equation'''
+    using direct computation of the intersecting point (solving the equation)
+    Warning: the computed time to collision may be higher than timeHorizon (not used)'''
     
     def __init__(self):
         PredictionParameters.__init__(self, 'constant velocity (direct exact computation)', None)