47
edits
QianqianLI (talk | contribs) No edit summary |
QianqianLI (talk | contribs) No edit summary |
||
Line 17: | Line 17: | ||
**Collecting the correlative data for the speed: Through the connecting of OSC and Motion Tracking platform, the root position and the updated data of one person could be obtained. The shifting distance and the relevant time decides the speed of the root node. | **Collecting the correlative data for the speed: Through the connecting of OSC and Motion Tracking platform, the root position and the updated data of one person could be obtained. The shifting distance and the relevant time decides the speed of the root node. | ||
Getting data from theCaputry then calculating the speed of the root<br> | Getting data from theCaputry then calculating the speed of the root<br> | ||
<source | <source "lang=java"> | ||
public void updateRoot(float x, float y, float z) { | public void updateRoot(float x, float y, float z) { | ||
x2 = abs(x - x1); | x2 = abs(x - x1); |
edits