In order to run the package correctly it is needed to add to the 'opensbt-core' folder the Udacity Simulator executable and the model driver file. These files where made available to us by Davide Yi Xian Hu on GoogleDrive
-
Add the Udacity Simulator folder containing the ubuntu executables in 'opensbt-core/Simulator/SimulatorExec/ubuntu_bianries/'
-
Add the driver model file in 'opensbt-core/Simulator/SelfDrivingModels/'
The simulator is now available as a service. To run it you just need to do:
docker compose upThis will launch the simulation server exposing the necessary APIs @ http://0.0.0.0:8000
To see the OpenApi documentation you can go to /docs
You can enqueue a simulation by posting the simulation to /simulate. This will return a jobId. You can then check the status/result of the simulation with a get request to /simulate/{job_id}