Motion Capture System

hI!
How could i activate a webcam from my laptop Dell1420 across arduino, using a PIR sensor. My project try to link processing with arduino, so, when someone cross the PIR sensor range, the webcam start to capture the images.

this is the processing source code.

import processing.video.*;

Capture cam;

void setup() {
size(640, 480);

// If no device is specified, will just use the default.
cam = new Capture(this, 640, 480);

// To use another device (i.e. if the default device causes an error),
// list all available capture devices to the console to find your camera.
//String[] devices = Capture.list();
//println(devices);

// Change devices[0] to the proper index for your camera.
//cam = new Capture(this, width, height, devices[0]);

// Opens the settings page for this capture device.
//camera.settings();
}

void draw() {
if (cam.available() == true) {
cam.read();
image(cam, 0, 0);
// The following does the same, and is faster when just drawing the image
// without any additional resizing, transformations, or tint.
//set(160, 100, cam);
}
}

G'Day
I know its an old post to bump, but about to embark on a similar project, and wondered how your Vdrive system performed.

Hi guys.
What is the current status of this project? :wink:
Intresting, what do you do with the raw data from gyro and axel? How do you convert the data for 3dMax?

Have a nice time