A tool which uses the esmini OpenSCENARIO player to generate video visualisations of scenarios
This container creates an Xvfb virtual display, executes Esmini which renders to the virtual display and uses avconv to record from the virtual display to a gif
Render and recording is done at 320x240
These instructions will cover usage information for the docker container
In order to run this container you'll need docker installed.
LENGTH
- Length in seconds of recording (default 20)SCENARIO
- The xosc location relative to the scenarios volumeFRAMERATE
- The framerate to record at (default 20)RESOLUTION
- The target resolution (default 320x240)docker run -v ~/esmini/scenarios:/scenarios -e SCENARIO=M804/M4.xosc -e LENGTH=20 matthewcoylecpc/esmini-visualiser
This will do the following:
/scenarios/
- The base directory used to pass in scenarios/root/esmini/build/EnvironmentSimulator/EgoSimulator/EgoSimulator
- Esmini executable
~/run.sh
- Execution script