Installation
f1tenth_gym is a pure Python library. We provide two ways to set up the environment.
Using docker
A Dockerfile is provided. A container can be created by running the following commands. Note that sudo might be needed depending on how you’ve set up your Docker engine.
$ git clone https://github.com/f1tenth/f1tenth_gym.git
$ cd f1tenth_gym
$ git checkout exp_py
$ docker build -t f1tenth_gym -f Dockerfile .
$ docker run -it --name=f1tenth_gym_container --rm f1tenth_gym
Using pip
The environment is a Python package, and only depends on numpy, scipy, numba, Pillow, gym, pyyaml, and pyglet. You can install the package via pip:
$ pip3 install git+https://github.com/f1tenth/f1tenth_gym.git