Go to Post There really is nothing else that needs to be said. - billbo911 [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #16   Spotlight this post!  
Unread 23-06-2008, 16:23
antiNeo antiNeo is offline
Registered User
FRC #1569
 
Join Date: Jan 2008
Location: Pocatell, Idaho
Posts: 17
antiNeo has a spectacular aura aboutantiNeo has a spectacular aura about
Re: Control a vex with a laptop?

I mounted my laptop to the Vex, and it works great! Here's a picture:



I used that Perl script to control it and I used an app called Linphone to look through the webcam. As a test I drove the robot down the hall to see if the bathroom was occupied. Seeing that it wasn't with the webcam, I proceded to get off my chair and utilize it.

The one thing I don't really like about it is the way I strapped the laptop on. It didn't fall off, but it's still a bit shaky. I should probably also find a better approach to controlling the robot too, probably with a leaner protocol and a service running on the laptop like seanwitte suggested.

I might even make a video... although I'm not very good at making stuff like that. I'd like to see that webcam attached to the arm... I wish I could have done something like that. The idea reminds me of a robot I saw that one of our team sponsors had built. It had a camera on this neat arm that would telescope out like ten or fifteen feet in the air. It was cool.
  #17   Spotlight this post!  
Unread 24-06-2008, 08:35
seanwitte seanwitte is offline
Registered User
None #0116
Team Role: Engineer
 
Join Date: Nov 2002
Location: Herndon, VA
Posts: 378
seanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant future
Send a message via AIM to seanwitte
Re: Control a vex with a laptop?

On my way to work I remembered this: http://www.chiefdelphi.com/media/papers/1453

I wrote that a few years ago for rapid prototyping on the min-RC. We didn't have an RC radio for it so I wrote an app for the PC to provide a UI to drive the robot using the serial port. I don't know whether it will work with the Vex, but the RC code is pretty simple. It provides 4 2-axis joysticks (widgets you drive with the mouse) and 8 digital inputs. The robot can send back sensor data. It will also plot I/O channels for you.

If you can get a remote desktop or application sharing program to work over the internet then you could just remote into the laptop and drive it using that UI.
  #18   Spotlight this post!  
Unread 24-06-2008, 12:51
antiNeo antiNeo is offline
Registered User
FRC #1569
 
Join Date: Jan 2008
Location: Pocatell, Idaho
Posts: 17
antiNeo has a spectacular aura aboutantiNeo has a spectacular aura about
Re: Control a vex with a laptop?

I added an arm to my robot. It really seems like a robot now. Picking up things with the arm and the webcam is great fun.

I updated my Perl code to use my left joystick for single stick drive and my right joystick to control the arm. As far as I can tell, my PSX controller works as well as the controllers that come with the Vex. I also added some simple timeout detection code that just sends out a '\a' character every second. My code is still event driven, so it doesn't waste bandwidth by sending motor values when nothing has changed.

And I've sort of started working on a video for it... I've chosen the background music at least.
Closed Thread


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Using a VEX Receiver with Non-Vex Equipment akaria VEX 26 06-09-2008 00:55
The poor serial port less laptop owners with a ExpressCard Slot Kingofl337 Programming 8 11-03-2008 22:25
Laptop Controlled VEX robot John Gutmann Technical Discussion 0 11-04-2007 00:51
PC Control of Vex processor tacman1123 Programming 1 06-06-2006 10:47
What to do with an old Windows 3.10 laptop? Elgin Clock IT / Communications 13 14-07-2005 17:45


All times are GMT -5. The time now is 12:49.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi