Introduction:
I wanted to make a really easy to follow tutorial on how to get started using the TUIO Simulator with a Flash Client(EXE or SWF).
To get started read the following instructions,If you don’t know what TUIO is…I would recommend starting with the“What is TUIO?”section.
wo318
Requirements:
Instructions:
Explanation:
Step by Step:
Notes:
What is TUIO?
燃煤助燃剂TUIO(Table-Top User Interfaces Objects)is a simple yet versatile protocol designed specifically to meet the requirements of
Message Syntax:
Since TUIO is implemented using OSC it follows its general syntax:
/tuio/[profileName]set sessionID[parameterList]
/tuio/[profileName]alive[list of active sessionIDs]
/tuio/[profileName]fseq int32
Parameters:
The parameters defined in this section reflect the object properties we considered important for an interactive surface interface.
A session ID number is assigned to each object.This is necessary to uniquely identify untagged objects across successive frames, and in the case where multiple objects tagged with the same classID are simultaneously present on the surface.
Some of these parameters(id,position and angle)are retrieved directly by the sensor.Others(speed,acceleration)are derived from these primary parameters using timing information.Computing these parameters on the low level side of an tangible user interface system allows a more efficient computation,since the necessary timing information does not need to be transferred to clients.
The parameters allowed in a set message:
s sessionID,temporary ob ject ID,int32
i classID,fiducial ID number,int32
x,y,z position,float32,range0 (1)
a,b,c angle,float32,range0..2PI
X,Y,Z movement vector(motion speed&dir ection),float32
A,B,C rotation vector(rotation speed&d irection),float32
m motion acceleration,float32
r rotation acceleration,float32
智能卡制作P free parameter,type defined by OSC packet he ader
Profiles:
养生杯We define a set of profiles,which apply to most table-style tangible user interfaces.This allows the tracking of ob jects and cursors on two dimensional surfaces and in special cases also in the3D space above the table surface.If one of these predefined profiles
does not meet a system’s requirements we also allow so-called raw profiles that send the raw sensor data,as well as free form profiles,which allow a user defined set of parameters to be transmitted.
2D Interactive Surface:
无动力排
风帽/tuio/2Dobj set s i x y a X Y A m r
/tuio/2Dcur set s x y m r
3D Interactive Surfaces:
/tuio/3Dobj set s i x y z a X Y Z A m r
/tuio/3Dcur set s x y z m r
/tuio/_[formatString]
/tuio/_ixyP set s i x y0.57
TUIO Homepage
OSC Homepage
Multitouch TUIO Simulator