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 1) read in data sent from the optitrak system, 2) set the table top as a plane for reference in matlab, and 3) to transform the native coordinate system of the optitrak (x z y ) into another, possibly more familiar coordinate system (x y z).
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
# 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).

Revision as of 18:26, 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
  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).