Contents | < Browse | Browse >
Robot Auto Racing Simulation (RARS)
Amiga version Release 2, based on the RARS 0.45 sources.
Amiga version by:
e-mail : M.F.Offermans@WbMT.TUDelft.NL
Original MS-DOS version by:
Mitchell E. Timin
e-mail : email@example.com
The Robot Auto Racing Simulation (RARS) is a simulation of auto
racing in which the cars are driven by robots. Its purpose is
two-fold: to serve as a vehicle for Artificial Intelligence
development and as a recreational competition among software
authors. The host software, including C++ source, is available at
no charge. It currently runs under MSDOS and UNIX, including
Linux, and on the Amiga.
RARS consists of a simulation of the physics of cars racing on a
track, with a simple bird's-eye view of the race. The unique
feature is that each car is controlled by a separate and
independent control program. Each car is "driven" by its own
control program, which receives information from the simulation
telling it about the car's local situation. The "driver" (control
program) adjusts the steering and throttle, and then the physics
simulation moves the car. This happens many times per second, of
course. Every car has exactly the same physical characteristics,
only the "drivers" are different. Hence, the result is a
competition between the control programs. Furthermore, the
competition is visible as an auto race, with acceleration,
passing, cornering, braking, etc.
It is intended that many users will write their own robot
"drivers". More than a dozen similar, but not identical, examples
are supplied. These are meant to serve as examples for
programmers wishing to develop their own. The control programs
may be written in other languages if they are linker-compatible
on the the intended platform. To date the robot "driver" programs
have used C++ or ANSI C.
For genetic programming, the races will be between several
programs selected from an evolving population of programs. The
racing may take place continuously for long periods of time, with
the graphic display disabled for faster execution. Of course
losers will be eliminated and winners will breed. Genetic
Algorithm proponents will probably design robot drivers with a
vector of parameters to be determined by evolution. Neural nets
are also candidate "drivers". It will be up to the experimenter
to decide if human-designed robots are allowed to compete with
the evolving population.
The race tracks are defined by ASCII files. Many pre-defined
tracks are supplied. The desired track is named on the command
line. Users can create their own tracks using any text editor,
although this is not a trivial process unless a CAD program is
used to find the exact lengths, angles, and radii for the track
segments. It is possible to do it by trial and error, however.
This release is based on the latest RARS sources. Compared to the
first release, the track and text drawing have been improved.
AmigaOS Release 2.04 or better.
An 68020 CPU or better.
The SAS/C 6.55 compiler to recompile the sources.
An FPU is highly recommended as it will speed up the simulation
You can obtain RARS from the RARS anonymous ftp site,
where you can also find other related files:
Alternatively, you can obtain it from an Aminet site,
Archive size: 142266 bytes
The software and the sources are available for free.
Copyright (C) 1994, 1995
Mitchell E. Timin
The reason that this release requires at least an 68020 is that I
have discovered what turns out to be a bug in the SAS/C 6.55
compiler which can only be worked around if you compile for an
68020 and not use the optimizer.