diff python/tests/moving.txt @ 284:f2cf16ad798f

added LCSS for trajectories
author Nicolas Saunier <nicolas.saunier@polymtl.ca>
date Fri, 21 Dec 2012 18:33:36 -0500
parents 13ec22bec5d4
children fa64b2e3a64f
line wrap: on
line diff
--- a/python/tests/moving.txt	Fri Dec 21 18:20:12 2012 -0500
+++ b/python/tests/moving.txt	Fri Dec 21 18:33:36 2012 -0500
@@ -74,3 +74,8 @@
 (0.500000,0.500000)
 >>> t1.getTrajectoryInPolygon(np.array([[10,10],[14,10],[14,13],[10,13]])).length()
 0
+
+>>> Trajectory.norm2LCSS(t1, t1, 0.1)
+3
+>>> Trajectory.normMaxLCSS(t1, t1, 0.1)
+3