forked from mguzdial3/2813Gestures
-
Notifications
You must be signed in to change notification settings - Fork 0
Message Format
SamWhited edited this page Dec 4, 2012
·
2 revisions
Messages are sent across the network using Open Sound Control. OSC messages are transmitted via UDP while a gesture is being recognized and are named after the gesture they are for.
Name: /GestureName
- X Position (float)
- Y Position (float)
- Z Position (float)
- Confidence (float)
- Duration (float)
- Tempo (float)
Because OSC uses UDP/IP not all messages are guaranteed to arrive. Programs receiving OSC messages should not be dependent on receiving all messages. Messages also cannot be sent over serial connections (USB, RS-232, etc.). If serial communications are desired, the SLIP protocol should be used.
This should be done per user instead of per gesture. This would make it easier for multiple users to perform the same gesture at the same time.