Archive for the ‘Mocap’ Category

Arduino to Maya Mocap II

Saturday, August 1st, 2009

Another proof of concept: Maya processing and recording three simultaneous data streams from the Arduino at ~30 fps. There’s still only the one button on the Arduino, but I’m faking three sensors by reading and transmitting its state three times.

The keys for the spheres’ “simultaneous” state changes are never more than about 50 milliseconds apart. In every mocap test I’ve run so far, every key has wound up quantized by multiples of 10 milliseconds in the timeline, perhaps due to the pySerial sampling rate or some internal Maya clock… suspicious.

Code follows:
(more…)

Basic Arduino to Maya Mocap

Wednesday, July 29th, 2009

Once again, The Mystery Hand starring in Proof of Concept: MOCAP.

I’m transmitting from the Arduino 10 times a second, which is slow enough for the Python to behave in an orderly fashion.

The Arduino code and board setup is the same as before. Highlights of the new Python code include the ability to break the script out of an otherwise infinite loop, using the GUI’s snazzy built-in progress-bar.

Code follows:
(more…)

Basic Arduino to Maya III

Tuesday, July 28th, 2009

Baby steps while I bonk my head against the Maya API:

Code follows:
(more…)