next up previous
Next: Behavior Up: Using hierarchical dynamical systems Previous: Video

Communication

The actions selected by the control module are transmitted to the robots via a wireless serial communication link with a speed of 9600 baud. We use radio transmitters operating on a single frequency that can be chosen between 433.0 MHz and 434.5 MHz in 100 KHz steps. The host sends commands in 8-byte packets that include address, control bits, motor speeds, and a checksum. A priority value can be used to transmit more packets to the most active players.

The microcontroller on the robots decodes the packets, checks their integrity, and sets the target values for the control of the motor speeds. No attempt is made to correct transmission errors, since the packets are sent redundantly. To be independent from the state of the battery charge, we implemented locally a closed loop control of the motor speeds. The microcontroller counts the impulses from the motors 122 times per second, computes the differences to the target values and adjusts the pulse length ratio for the motor drivers accordingly. We use a simple P-control to adapt the motor power.



Sven Behnke
1999-10-07