Skip to content

User-friendly GUI for drawing paths on the FLL playing mat.

License

Notifications You must be signed in to change notification settings

GO-Robot-FLL/Pathfinder-GUI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Welcome to Pathfinder-GUI!

User-friendly GUI where you can define 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 officiaal FLL map from the Masterpiece season 2023/2024 and will be updated automatically for each season.


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.

Usage

How to start:

  1. Clone this repository from GitHub

  2. Run "main.py" file

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 [email protected] 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

User-friendly GUI for drawing paths on the FLL playing mat.

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages