This directory contains the source code for the simple version of the 
walking robot simulation, in which a six-legged robot walks forward on a 
floor and makes right/left turns.

The display of the simulation is composed of 2 windows.   The larger one shows
the floor and the robot.   The smaller one displays the scene seen by the robot 
from the view point of a head mounted camera located on the robot's forehead
(the red sphere on the robots forehead).

This simulation was written in 'C' and makes use of the Silicon Graphics(SGI)
Graphics Library, and therefore will only run in a SGI machine.

Here is some information about the simulation.

1. Source files

     C code: insect.c
     Header: insect.h

2. Compile by typing: make

3. Run by typing: insect

4. Control the program by typing the following keys:

     Type       Function

      G       Starts the robot going forward
      L       Makes the robot turn to the left a pre-specied amount
      R       same as above to the right
      S       Stops the simulation
      C       Resets the robot to its original position
      Q       Quits the program

