Recording

Record Data From Human Drivers

Recording A Session

In order to extract data for use in agent development and training we provide a helper class aci.recorder.AssettoCorsaRecorder that writes out pairs of state and images files that can be processed by the Assetto Corsa Data Generation Toolkit. The included configuration file examples/configs/record.yaml has the required settings for the interface. To specify where to write out the recording modify the path specified here:

recording:
        save_path: "recording_path"

Running the recorder can be done from the commandline using:

python examples/record_session.py --config "examples/configs/record.yaml"

This will automatically start Assetto Corsa and begin recording. To change settings relating to Assetto Corsa you can modify or add keys under the race.ini key. For more information on this visit the simulation configuration page.

Controller Settings

If you have used ACI to control autonomous agents on the machine you are recording on you will have to change the input device settings manually via the launcher from the virtual gamepad to your preferred method of control.