Skip to content
floe edited this page Nov 16, 2014 · 11 revisions

Examples

Increasing levels of detail with each message

Token

# start a new frame
/tuio2/frm 1148 [time] [dimensions] "RCTV:0@0x80000001"
# basic information: tagged token, temporary (session) ID 123,
# no specific user ID (=0), token type 1, token ID 82, x/y/angle
/tuio2/tok 123 1 82 0.635 0.758 0.32
# add geometric information (object dimensions)
/tuio2/bnd 123 0.32 0.1 0.1 0.01
# add token symbol data: Microsoft Surface identity tag, ID 82
/tuio2/sym 123 1 82 ms/id 0x50E1F82DC0F9D78940DB27993C9E09A3
# finish frame
/tuio2/alv 123

[...]

# new frame
/tuio2/frm 1189 [time] [dimensions] "RCTV:0@0x80000001"
# same token picked up and put down again at different location
# temporary session ID changes, other IDs remain constant
/tuio2/tok 129 1 82 0.958 0.267 0.39
...
Clone this wiki locally