madras-simulator / MADRaS

Multi-Agent DRiving Simulator
GNU Affero General Public License v3.0
90 stars 20 forks source link
multi-agent-system reinforcement-learning self-driving-car simulation

Description

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.

Installation

Installation prerequisities

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

- Installling plib (follow instructions on the plib page)
- Installing TORCS
``` shell 
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

Tested on ubuntu-16.04 & ubuntu-18.04

Installation MADRaS

# 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

Maintainers