Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The scripts are written in Python. Most of them rely on the debug file that ca2 leaves after execution. At the beginning of the script, after the imports there is always a "configuration" section (delimited by comments) which contains all the (documented) constant variables that must be set appropriately to make the script do exactly what you want.

External dependencies
The scripts often uses matplotlib to plot graphics and numpy and scipy for advanced numerical routines. If you have problems running the scripts make sure these Python libraries are installed on your system.

util/parser.py - debug file parsing
As you can imagine, the parsing of the debug file is strongly dependent on its format. This means that if you change the name of the attributes written in the file for example, the scripts might not work as expected. The parsing does not depend on the order of the attributes so it is safe to change it.

...

Usage

Command line options

  • -o:

util/predictor.py
This is a reimplementation in Python of the supervisor algorithms in "src/car_src/supervisor.c". It is very helpful for testing the supervisor offline instead of running the experiment on the test-bed over and over. This speed up considerably the debugging of the supervisor.

TROUBLESHOOTING (SOFTWARE)

...