Multi-Agent DRiving Simulator
MADRaS is a Multi-Agent Autonomous Driving Simulator built on top of TORCS. The simulator can be used to test autonomous vehicle algorithms both heuristic and learning based on an inherently multi agent setting.
Note please : The repository is under active developement and re-design. Currently the master
branch has the Single-Agent version of MADRaS whereas the Multi-Agent part is in the devel
branch.
git clone https://github.com/madras-simulator/TORCS.git
sudo apt-get install libalut-dev
sudo apt-get install libvorbis-dev
sudo apt-get install libxrandr2 libxrandr-dev
sudo apt-get install zlib1g-dev
sudo apt-get install libpng-dev
sudo apt-get install libplib-dev libplib1
sudo apt-get install python-tk
sudo apt-get install xautomation
cd TORCS/
./configure --prefix=$HOME/usr/local
make && make install
make datainstall
export PATH=$HOME/usr/local/bin:$PATH
export LD_LIBRARY_PATH=$HOME/usr/local/lib:$LD_LIBRARY_PATH
torcs
in a new terminal windowscr-serverx
where x will range in [1,9]Tested on ubuntu-16.04 & ubuntu-18.04
# if req an env can also be created
git clone https://github.com/madras-simulator/MADRaS
cd MADRaS/
pip3 install -e .
For further information regarding the simulator please checkout our Wiki