Skip to content

GO-Robot-FLL/Pathfinder-GUI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Welcome to Pathfinder-GUI!

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 GIF Live Demo of Pathfinder


Requirements

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

Usage

How to start:

  1. Clone this repository from GitHub

  2. Run "main.py" file

python main.py

Buttons

  • "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.

Create a single path

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.

Create multiple paths

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.


Reporting bugs

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.

Credits

Developers: @kaiwxn @Ultrawurzelzwerg

About

GUI for planning routes on the FLL map.

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages