Difference between revisions of "Optitrak + Projector touch table/surface"

From REALab Wiki
Jump to navigation Jump to search
Line 3: Line 3:
== Matlab scripts ==
== Matlab scripts ==


In place of the matlab code for reading in optitrak data, the following matlab functions can be used to additionally:
In place of the matlab code for reading in optitrak data, the following matlab functions can be used to:


# read in data sent from the optitrak system
# read in data sent from the optitrak system, and furthermore
# set the table top as a plane for reference in matlab, and  
# set the table top as a plane for reference in matlab, and  
# transform the native coordinate system of the optitrak (x z y ) into another, possibly more familiar coordinate system (x y z).
# transform the native coordinate system of the optitrak (x z y ) into another, possibly more familiar coordinate system (x y z).

Revision as of 18:27, 19 April 2012


Matlab scripts

In place of the matlab code for reading in optitrak data, the following matlab functions can be used to:

  1. read in data sent from the optitrak system, and furthermore
  2. set the table top as a plane for reference in matlab, and
  3. transform the native coordinate system of the optitrak (x z y ) into another, possibly more familiar coordinate system (x y z).