Subject:
|
Re: Mindstorm Robotwars style competition in Southern California/Los Angesles area?
|
Newsgroups:
|
lugnet.robotics
|
Date:
|
Wed, 13 Jan 1999 02:47:24 GMT
|
Viewed:
|
1336 times
|
| |
| |
What may be the most logical thing to do is simply simulate serial
communication between units. That is, send a stream of bytes, one after the
other, to the other unit. Of course, for each byte received, the receiver
should send an acknowledgment, and the sender must be prepared to retransmit
its data if this acknowledgement is not received after some timeout period. If
the IR sensor had any sort of reasonable send/receive buffer, you could
probably up the acknowledgment sequence from every character to whatever you
wanted. But it doesn't, so an ack sequence is probably needed for each
character. (Why do I feel like Ward Christensen here?)
Following this idea, you could encrypt a message, using a custom scheme,
stretching it out over multiple bytes, and only accept data which conformed to
what your system expected to see. Say, encode one byte of data you want to
send into a 3 or 4 byte sequence. It will, of course, take longer to send what
you want, but at least you minimize the chance that it would get confused with
crosstalk.
> > Mark
|
|
Message is in Reply To:
16 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
Active threads in Robotics
|
|
|
|