Raceline virtual environment
To run the scripts to create the raceline you will need to create a python virtual environment.
You will need a working python installation >= 3.8 and it's respective venv
package.
- Navigate to the
raceline
directory of theubm-f1tenth
repo - run
python3 -m venv <path-to-venv>
, the path to the virtual environment can be any path, if you don't know where to put it useraceline/.venv
. Make sure to remember this path. - Activate the environment:
- In bash:
source <path-to-venv>/bin/activate
- In powershell:
<path-to-venv>/Scripts/Activate.ps1
- In bash:
- Install the required packages:
pip install -r requirements.txt
Now you can run the raceline scripts, but you need to activate the environment again every time you restart your shell to do so.