Squat/Crunch
This action/crunch gesture works by measuring the difference of change in time from given a joint* of your choice (therefore needs getSkeletons to work).
*Usually using “spinecenter” as it is the one which offers better stability.
We are going to create a simple application which changes the text on the screen when the action is triggered.
In order to trigger the function from Javascript we are going to create a message called “msg” in the HTML code, this by default is set to show on the top left of the screen the text ‘Awaiting squat/crunch to be triggered!’ and will change when the action is captured by the sensors.
BUILT-IN GESTURES
- newUser
- noUser
- grip
- release
- getSkeletons
- next
- prior
- changeHandNone
- changeHandRight
- changeHandLeft
- msgFromArduino
- allBuiltinGestures