Subject:
|
Re: Wireless Robots ---- Do we need a protocol?
|
Newsgroups:
|
lugnet.robotics
|
Date:
|
Sun, 28 Nov 1999 06:21:59 GMT
|
Original-From:
|
Matt Ramadanovic <matthew.ramadanovic@yale#Spamcake#.edu>
|
Viewed:
|
755 times
|
| |
| |
Xanthra,
Sorry I didn't respond to this sooner, I've been off in SC for the week
(holiday).
Anyhow, what do you think about using a VB TCP control to set up
communication
between he Robot and the laptop (rather than ASP) ASPs are easy but is there
PWS lagtime? I was thinking about coming up with a protocol to communicate
that
is text based and similiar to the POP or NNTP protocols. For example,
suppose
a Server program listened to a port. If it recieved information that began
with the
correct string, it would execute the commands without delay (maybe a
syncronous
or multiple syncronous links?). The commands could be set up like a giant
function
or be little snippits. Suppose the server (program on the laptop) received
the following
command
GO xcoord, ycoord
TURNCAMERA xcoord,ycood
STOP
or maybe something like :
ROBOT x,y,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
Where the x and y made were related to the direction and the use of other
features (like
turning on or off a microphone or turning a camera were not currently used
hence the 0s)
I've written newreaders and pop clients before and am thinking about trying
to invent a
simple highlevel protocol to control the puppy. I don't like the idea of the
robot driving off
as cliff because of network congestion as I send it the STOP command so will
have a
regular (non easily programmable) radio transmitter that will serve as a
kill button if the
link isn't peppy enough.
I was also thinking of having a server listen to a special port based on
what it controlled.
For instance, the camera control talked to a program on port 2000 while the
locomotion
control for the primary engine was on 2001. A newgroup moderation program I
wrote
in VB uses this technique. The advantage is that its easy to do multiple
things simultaneusly.
Since its really just one big app (multiple controls on a form) Sharing
information between
processes is simple.
I just received my RCX (my Sister is the manager of a Toys R Us in South
Carolina) so
it is now time to take it apart.
Matt
-----Original Message-----
From: Xanthra47 <Xanthra47@Inphotek.com>
To: lego-robotics@crynwr.com <lego-robotics@crynwr.com>
Date: Saturday, November 20, 1999 7:22 PM
Subject: Re: Wireless Robots
> I've been working on this exact same thing. To that end I bought a pair of
> wireless ethernet cards from Diamond and I plan to have the "laptop" which
> in my case is a PC/104 Single board computer, run Personal Webserver thereby
> contoling both the Cam and the RCX via the .asp pages I put together.
>
|
|
1 Message in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|