An open API service indexing awesome lists of open source software.

https://github.com/papalotis/drawing-to-fsd-layout

A tool for easy creation of Formula Student tracks. Convert a hand drawn track layout to one that can be used in in Formula Student Driverless Simulators
https://github.com/papalotis/drawing-to-fsd-layout

driverless formula-student formula-student-driverless python racetrackgenerator streamlit

Last synced: 19 days ago
JSON representation

A tool for easy creation of Formula Student tracks. Convert a hand drawn track layout to one that can be used in in Formula Student Driverless Simulators

Awesome Lists containing this project

README

          

# drawing-to-fsd-layout

A tool that converts a hand drawn track layout to a track layout that can be used in in Formula Student Driverless Simulators

| Input | Plot of output |
| --- | --- |
| ![before](media/before.png) | ![after](media/after.png) |

Clear hand-drawn tracks should also work. They do not have to be filled in.

There is now also a canvas option in the script.

The extracted track can be downloaded as a JSON file with x,y and color values are available for each cone, as well as an LYT file that can be used in Live for Speed.

The tool is hosted on Streamlit Cloud and can be accessed [here](https://drawing-to-fsd-layout.streamlit.app/).

## Installation

If you want to run the tool locally you can follow these steps:

```bash
git clone https://github.com/papalotis/drawing-to-fsd-layout.git

cd drawing-to-fsd-layout

# optional: create a virtual environment

pip install -r requirements.txt

streamlit run streamlit_app.py
```

The tool will be available at `http://localhost:8501`