rec.autos.simulators

RARS FAQ

Dave 'Gizmo' Gym

RARS FAQ

by Dave 'Gizmo' Gym » Thu, 15 Jun 1995 04:00:00

RARS FAQ:
Robot Auto Racing Simulation (RARS) Frequently Asked Questions
                                    (with answers!)

      Last updated 03 Jun 1995; current RARS version 0.61.

------------------------------------------------------------------------

What is RARS?

  From the RARS 0.50 announcement:

    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 source, is available at no
    charge.

  RARS was designed and written by m...@cac.psu.edu (Mitchell E. Timin).

------------------------------------------------------------------------

Where can I get RARS information and software?

  ftp://ftp.best.com/pub/ijs/rars/
    RARS FTP site; uploads go in "../uploads". This site is maintained
    by ji...@magdanoz.mcafee.com (Jivko Koltchev).

  http://www.cs.bham.ac.uk/~bsr/rars.html
    RARS Home Page

  http://www.mal.com/~dgymer/rars/
    Alternative RARS Home Page

  To join the RARS mailing list, send a message to lists...@netcom.com
    containing "subscribe rars-list" in the message body. To
    unsubscribe, send "unsubscribe rars-list" to the same address. The
    list is maintained by rs...@netcom.com (Rex Sheasby).

  A digest of the juiciest posts is sent to rec.autos.simulators,
    comp.ai.games, and any other interested parties once a week. This
    is handled by dgy...@gdcarc.co.uk (Dave `Gizmo' Gymer).
    Send mail with a subject of "subscribe rars-digest" to join the list,
    and "unsubscribe rars-digest" to be removed from the mailing list.
    The digest archives are available from the FTP site and from here.

------------------------------------------------------------------------

What platforms does RARS run on?

  AIX: t...@VNET.IBM.COM (Thomas K. Netousek):

    I have done a "port" of the linux version to AIX.
    It is a matter of some #include's #ifdef'd AIX

  Amiga: m.f.offerm...@wbmt.tudelft.nl (Marcel Offermans):

    Amiga version Release 2, based on the RARS 0.45 sources.

    Special requirements:

      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
      considerably.

    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.

    This port can be obtained from the normal FTP site, or from
    AmiNet: ftp://ftp.luth.se/pub/aminet/misc/sci/RARS_Amiga_2.lha.

  DJGPP: dgy...@gdcarc.co.uk (Dave `Gizmo' Gymer):

    I've ported RARS 0.60 to DJGPP (GNU C/C++ for DOS) using libGRX.
    The graphics are still lacking polish (there's no flood fill, for
    example) and the OS timer function has been ignored. This version
    is about twice as fast as the Borland one running in "fast" mode,
    but requires a 386 or better. Notions of adapting this to allow
    linking of robots written in Ada95 and compiled with GNAT have
    been postponed into the very distant future.

  IBM PC: m...@cac.psu.edu (Mitchell E. Timin):

    The standard distribution contains machine-dependent code for the
    IBM PC and Borland C++. Porting is generally restricted to two
    files, one for operating system functions and one for graphics
    functions. The rest of the code is written in portable C++. Robot
    drivers can be written in any language which is link compatible
    with the C++ compiler used to build the main code. A Borland
    executable is distributed separately.

    sa...@phoenix.phoenix.net (Randy Saint) is "working on a 3d
    perspective view for MS-DOS.  Not a true port, but who's counting.
    I've got stick figure cars working now, I'm implementing filled
    polygons 'real soon now'."

  Linux:

    The generic Unix port works fine under Linux.

  Macintosh: ho...@zone.com (Hoon Im):

    I've ported RARS to the Mac; it is not complete yet but it runs. I
    used the 0.5 version of RARS. When I get it to draw all the
    strings cleanly, then I'll post the sources.

    The Mac version does not accept command line options but allows
    the user to enter simulation options through a dialog before the
    simulation is run. Otherwise, everything else is the same (for
    now).

  OS/2: t...@VNET.IBM.COM (Thomas K. Netousek):

    There's an OS/2 port in the works from one of my colleagues...

   jhow...@solar.sky.net (John Howard):

    I am working on a port to GNAT Ada 95 for OS/2. It is not really
    RARS anymore since I am implementing for 3d vectors and
    experimenting.  The goal is a simulator using DLL-based inputs, and
    an OpenGL viewer for the animation frames that are output from the
    simulator.

  Symantec C++: dared...@america.com (GPFault):

    I am currently restarting my Symantec C++ port. There's nothing to
    it except for the changes to the graphics (to 320x240x256 I
    expect, due to the availability of XLIB).

  Unix: elasc...@daimi.aau.dk (Lars Clausen):

    There is a generic Unix port available on the FTP site. It uses GCC
    and X11R5; a more "windowized" interface is being worked on.

    Can someone supply more details?

  Visual C++: Hasenber...@elin.co.at (Ronald Hasenberger):

    I'm working on a port to MSVC (Microsoft Visual C++) under MSDOS
    and will maybe port it further to Windows.

    I'm also trying to improve the (object-)structure of the software,
    based on V0.5. This includes headers for all files and a bit more
    object orientation of the system.

  Watcom: n...@cris.com (Mike Inman):

    There is a Watcom C++ port on the FTP site.

    Can someone supply more details?

  Windows/NT: l...@autodesk.com (Muir Lee Harding):

    The files nt_rars.exe and nt_rars.txt on the FTP site are a "hacked
    together" port to Windows/NT.

------------------------------------------------------------------------

Miscellaneous

  How do I write a robot driver?

    Firstly, look at the "tut3.cpp" robot in the 0.50 source code;
    it's heavily commented. Then read the tutorials; they should be
    available from the FTP site, and are also on the Alternative
    RARS Home Page.  "cntrl0.cpp" is another, even more heavily
    commented, robot.  The ".doc" file should also be read, of course.
    Use your debugger or IDE to study the behavior of the code during
    operation.

  Can I compare my robot against those of others?

    There are some more robot drivers on the FTP site. On 30 April
    there will be the first competition race; see the file
    "race.ann" on the FTP site for details.

  I've thought of something to add to RARS. Has anyone else had the
  same idea, or perhaps implemented it?

    The RARS ideas database is posted to the rars-list at the beginning
    of every month. Everybody can then send a list of ideas which they
    like to see implemented, in order of importance. A short motivation
    along with the idea number indicating why you like to see this idea
    implemented is appreciated. Please send your list directly to
             M.F.Offerm...@WbMT.TUDelft.NL (Marcel Offermans)
    instead of to the mailing list. Please put the word "LIST"
    in the subject. Halfway through the month, the lists will be
    evaluated and used to determine what to implement first.

    If you think ideas are missing from the list, please send them to
    Marcel so that he can add them to the database.

------------------------------------------------------------------------

Compiled and maintained by (Dave `Gizmo' Gymer)
  dgy...@gdcarc.co.uk
  http://www.mal.com/~dgymer/

-- Dave "Gizmo" Gymer                 Telephone +44 (0)1268 534228
--   General DataComm Advanced Research Centre Ltd, Basildon, UK
-- dgy...@gdcarc.co.uk                 http://www.mal.com/~dgymer/
-- Team Shark-Porsche online racing         LFRS 95-96 co-director


rec.autos.simulators is a usenet newsgroup formed in December, 1993. As this group was always unmoderated there may be some spam or off topic articles included. Some links do point back to racesimcentral.net as we could not validate the original address. Please report any pages that you believe warrant deletion from this archive (include the link in your email). RaceSimCentral.net is in no way responsible and does not endorse any of the content herein.