Problem with Partially evaluated gestures

Topics: Gesture Recognition Engine
May 30, 2011 at 9:36 PM

Hi Shahed,

 

 

doing some tests here I tried to use the perpendicularTo primitive in this new gesture definition:

name: check5

validate as line1
    Touch state: TouchUp and    
	Touch path length: 600..100000 and
	Touch shape: Line and

validate as line2
    Touch state: TouchUp and    
	Touch path length: 600..100000 and
	Touch shape: Line and
	
validate
    line1 perpendicularTo line2
return
    Touch paths



It seems that a file is missing cause when I did the gesture of two perpendicular lines, the program's execution frozen and then visual studio asked me for a file PartiallyEvaluatedGestures.cs due to some problem on Touch_FrameReported method
on Windows7TouchInputProvider.cs .


Therefore I am unable to use this primitive method.


Any idea of what might be causing this problem?

Coordinator
Jun 3, 2011 at 4:28 AM

Hi Tulio,

It could be a thread issue, most likely it's not a fill missing issue as all primitive types are loaded from compiled DLL. Any missing file would cause the build to break. 

 

By the way, the above gesture definition has some syntax errors:

name: check5

validate as line1
    Touch state: TouchUp and    
	Touch path length: 600..100000 and
	Touch shape: Line and

validate as line2
    Touch state: TouchUp and    
	Touch path length: 600..100000 and
	Touch shape: Line and
	
validate
    line1 perpendicularTo line2
return
    Touch paths

The "and" operator should only be used between two primitives as its a binary operator.