The goal is to construct a bridge of communication sensors. At the two ends of the room will be two ports, connected to PCs, which try to establish a communication by emitting RR packets periodically. The two ports will be associated with addresses 0 and 1. They run a normal protocol, so once the connection is established, they can do the RR-RP-RC sequence and start the flow of packets.

The protocol to be run at the robots roaming around in the room is as follows.

Thus, the protocol at the robots can be implemented as the sum of three pieces:

  1. The normal packet propagation and routing code.
  2. Code that examines the source of packets, sets the colors, and uses timers to remove colors after time-outs.
  3. Code that makes the robot roam around at random, backing off when it hits an obstacle.

CMPE 117 Spring 2007/Bridging the gap (last edited 2007-06-01 16:52:33 by LucaDeAlfaro)