This directory hosts AutoDRIVE Simulator executable (for RoboRacer), which supports vehicle and environment simulation as well as communication via a unified API. It equally prioritizes backend physics and frontend graphics to achieve high-fidelity simulation in real-time, and can be therefore exploited by the users to deploy and test their algorithms flexibly.
- Clone the
AutoDRIVE-RoboRacer-Sim-Racingrepository.$ git clone https://github.com/AutoDRIVE-Ecosystem/AutoDRIVE-RoboRacer-Sim-Racing.git
- Give executable permissions to the simulator.
$ cd autodrive_simulator $ sudo chmod +x AutoDRIVE\ Simulator.x86_64
- [OPTIONAL] To leverage the simulator's headless and background rendering capabilities, install
Xvfb(X virtual framebuffer), which is a display server that emulates a virtual framebuffer, allowing users to run X11 applications without a physical display or input devices.$ sudo apt update $ sudo apt install xvfb
- Graphics Mode Bringup:
[OR]
$ ./AutoDRIVE\ Simulator.x86_64 - Headless Mode Bringup:
[OR]
$ xvfb-run ./AutoDRIVE\ Simulator.x86_64 -ip 127.0.0.1 -port 4567 - No-Graphics Mode Bringup:
$ ./AutoDRIVE\ Simulator.x86_64 -batchmode -nographics -ip 127.0.0.1 -port 4567