GUI where you can plan paths on the playing map and convert them into code for your robot.
We developed this solution for the First Lego League competition in order to accelerate our testing process. We hope that this tool will help you as well.
The map is currently based on the official FLL map from the Submerged season 2024/2025 and will be updated automatically.
Pathfinder-GUI was made with Python 3.12.0. Make sure to install the newest version.
Furthermore, please install the libraries listed in the requirements.txt file.
pip install -r requirements.txt
-
Clone this repository from GitHub
-
Run "main.py" file
python main.py
-
"Output": Prints the code for all paths to the console.
Important Note: The program only calculates the length and angle of the path. You can format the output as you like.
-
"Right" / "Left": Sets the starting point for the current path to the right or left Start Zone. You can only set the starting point if the path is empty.
-
"Clear Map": Clears all paths on the map.
The starting point is always shown in one of the home bases. Just click on the map to add the next points. The shortest path between two points using the euclidean distance is added automatically.
Use number keys 1-6 to select a new path with a different color. The starting point is now colored with the same color as the path. You can switch between paths at any time.
If you find a bug, kindly report it to go.robot@gmynasium-ottobrunn.de or open a pull request. We will try to fix it as soon as possible. If you have any questions regarding the code, please reach out to us using the same Email adress.
Developers: @kaiwxn @Ultrawurzelzwerg