cmu-mars / brass-unlogger

post process logs from lincoln tests into summary data
0 stars 0 forks source link

when run from a directory containing uncompressed copies of the data from MIT/LL, run.sh will produce a CSV with one row per test described in the logs and columns as given in column-names.txt. For example:

iev@bruce brass-unlogger % ls
column-names.txt randomTests      run.sh           waypoints.py
initialTests     readme.md        unlogger.py
iev@bruce brass-unlogger % ./run.sh
iev@bruce brass-unlogger % ls
column-names.txt randomTests      results.csv      unlogger.py
initialTests     readme.md        run.sh           waypoints.py
iev@bruce brass-unlogger %

run.sh is not meant to be especially robust, so it should really only be used in this way. it's up to you to download and uncompress initialTests and randomTests and put them in the right place; the .gitignore file for this repo explicitly bans them from being committed because together they are about 4.5 GB.

Once the results.csv file is made, make_maps.py can process it to create a visualization for each test run. Currently, this means a copy of the base map with the start, target, final, and obstacle locations marked for each row in the csv in a PNG named with the test hash number in a directory called images/. That directory must not exist when you run make_maps.py. It takes about a half a second to run for each, so this will be fairly lengthy for the whole results file.

Many thanks to Tom7 for making his font "Hockey is Lif" available for free use on [http://fonts.tom7.com/fonts98.html].