Friday, January 02, 2004

Initial Project Update 2

After getting the prototype robot to work and prove that my idea was sound, I had to work on refining the method. Specifically I needed something other than the crappy bandwith hogging processor melting remote desktop method. I figured I'd have to learn to program well enough to write my own little client server application that would take joystick and other inputs from one PC and then send it over TCP/IP to the robot's computer and then dumpded down onto the SV203 board. Also the robot PC would have to take inputs such as sound, video, etc and send them back to the controlling PC so that I could see what I'm shooting at, where I'm going, etc etc.

We tried a neat little program that forwarded incoming telnet data to a com port. It worked pretty neet but you had to type all the commands in by hand. Very slow.
We played around a bit more with the virtual desktop method. Here is my friend Ogrenutz looking around my office. We just stuck a web cam on top of two servos.



It was pretty freeking neat having someone control something in my office like that, kinda creepy. For fun we attached a pen to a servo and I let him knock coke cans off the desk.


Unfortunatly I taped over the video of this. The best I have is me doing some servo tests. Fun with lasers and cigarette smoke!
http://www.cp-tel.net/pasqualy/land...s/servotest.wmv ~2megs

My friend roXet and his wife came over to play with it so we wired it up and had a go. I had gotten my own laptop working so we were able to be a little more brave with it, including putting the smackdown on a stool in the office. Here is a video of us rigging it up and driving it around. We did find out that the range of 802.11b is pretty pathetic. (duh) so one of the big obsticals will be getting that range increased.
http://www.cp-tel.net/pasqualy/land...t_tech_test.wmv ~6megs


Playing around with the thing via remote desktop worked but it sucked pretty hard. So I started playing around with Visual Basic and cooked something up.
Most of my programming consisted of tearing bits of useful code from other progams and stuffing them into mine so that I had this frankenstine beast that was a monster but it worked.


Using Visual Basic, I first got a little telnet type prog working that let me send commands via a text box or a button to the servo. Then I got it to take commands from a joystick and send it to the servo.
Then I figured out how to make a simple client/server chat program.
Then I used that to take data from a jstick, send it over tcp/ip to another computer, and have that computer send it to the SV203 board. It worked really crappy at first because the board was getting flooded with commands because of the way the code was written, but man oh man when my pal in Kentucky moved his jstick and I saw the little webcame jerking around I was really excited.
About a month later or so, I finally got around to fixing things and got rid of the flooding problem. What I really need to do now is get video from the robot PC over to the controller PC. If any of you coders out there want to help me with this I would really appreciate it. I'm not much of a coder at all.

Anyway, another update soon. I'm almost caught up to where I stand currently. Just have to tell you about the motors and chassis design etc.

0 Comments:

Post a Comment

<< Home