robo realm interface

i have searched the forum and have found nothing similar to what im looking for .

I have seen this been done and im 99.9 % shure its possible with the equipment i have , i want to have a webcam mounted on a servo tracking a coloured object from left to right using roborealm as a way of interpreting the data from the webcam and the arduino controlling the servo . any help would be great :slight_smile: .

tom

As i read your post, the only thing Arduino should do in your setup is to control the servo - right ?

This i absolutely possible. Just look in the playground for example of how to control a servo.

The rest of the stuff is beyond my knowledge :slight_smile:

i under stand the robo realm bit but i dont know how i would move a servo left with the left arrow key and right with the right arrow key , i have got roborealm to simulate a key press when a green ball moves to that side of its view.

So all i really need is a way of making a servo move left 10 degrees for example when the left arrow key on the keyboard is pressed and visa versa.

What is the possibilities for hooking things up to roborealm, i don't even know what it is :slight_smile:

If roborealm is software running on a PC, then you can (somehow) send some data to Arduino over a serial port to command it to move the servo to the desired position.

Check here:

and here:

http://todbot.com/arduino/sketches/ServoSerialBetter/ServoSerialBetter.pde

how to control a servo over a serial connection

Try looking here: http://profmason.com/?p=543 - "Interfacing an Arduino based Servo Controller to Roborealm"

Andrew

thanks this helped lots :slight_smile:

robo realm is agreta bit of software , that uses webcams to carry out some very complex object tracking tasks.