[chronojump] kneeAngle: at end waits 1.5s to end writing files



commit df92b284ccd9874388b9bbca91ddc2377980a8e0
Author: Xavier de Blas <xaviblas gmail com>
Date:   Tue May 4 13:35:44 2010 +0800

    kneeAngle: at end waits 1.5s to end writing files

 src/angle/kneeAngle.cpp |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/angle/kneeAngle.cpp b/src/angle/kneeAngle.cpp
index c6093a2..a632b8f 100644
--- a/src/angle/kneeAngle.cpp
+++ b/src/angle/kneeAngle.cpp
@@ -2190,6 +2190,8 @@ int main(int argc,char **argv)
 	fclose(fDataSmooth);
 	*/
 
+	cvWaitKey(1500); //allow to end writing
+
 	//------------------ clear memory ----------------------
 	cvClearMemStorage( stickStorage );
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]