Skip to content

Latest commit

 

History

History
12 lines (11 loc) · 1.01 KB

auto_test.md

File metadata and controls

12 lines (11 loc) · 1.01 KB

Configure multiple repetitions

An example of the configuration file can be found under automated_simulation. This follows exactly the same style as simulation. You can add another repetition with one more line under repetitions with different or same configuration. A new repetition es executed either when kill_after runns out or the car violated any conditions under res/checks (e.g. vehicle exits track).

Launch automated test

Automated tests must be launch with a launch.py which requires two files. A configuration file (e.g. automated_simulation) and an output directory (e.g. sim_output/)

usage: launch.py [-h] [--config FILE] [--output OUTPUT]

And example launching code can look like this if called from within a workspace.

./src/fssim/fssim/scripts/launch.py --config src/fssim/fssim/config/automated_simulation.yaml --output ~/sim_output