brenocq / WarthogHolidayWork

QtCreator interface to test path finding algorithms

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Warthog Holiday Work

Introduction

The objective of this work is to use object orientation to simulate the pathfinding algorithms with soccer robots. This work was developed using a QT application to facilitate the visualization of the path generated. Currently the only algorithms being tested are Potential Field and A * in conjunction with Quad-Tree. This work was proposed by the Warthog team (USP, São Carlos).

OOP Classes

The image above shows the relationships between classes.

Pathfinding

For each selected robot it is possible to choose which type of pathfinding algorithm will be used to generate the path. To change the destination just change the position of the pink square. You can still change the position of the currently selected robot and other robots to see how the algorithm behaves. To change the position, just drag and drop.

After clicking the Run button, the robots will start moving along their paths. new paths are calculated as the robots move.

Potential Field

Quad-tree with A*

How to execute

To execute this program with Qt go to File -> Open file or project... inside Qt Creator and open the project file WarthogHolidayWork.pro. Once you have opened the project, click the green button in the bottom right corner.

About

QtCreator interface to test path finding algorithms


Languages

Language:C++ 96.2%Language:QMake 3.8%