amosproj / amos2022ss03-turtlebot-fleet-management

MIT License
0 stars 1 forks source link

[FMS] Graph route finding algorithm #59

Open Jonas-Petersen opened 2 years ago

Jonas-Petersen commented 2 years ago

User story

  1. As a SD
  2. we need an algorithm to find the shortest route from point A to point B
  3. So that the robot can find the shortest route to their destination

Acceptance criteria

Definition of done (DoD)

DoD general criteria

nmarkert commented 2 years ago

Implemented a graph search as an A* search in the graph_search.py file. After searching a shortest path from node A to node B this path gets stored in a dictionary, so that if a path for the same combination is searched again, it is already available.

For the A* search we used the python-astar library: https://github.com/jrialland/python-astar

UmangBR commented 2 years ago

35 describes the task to read in a file created from the SICK software and from this create a graph in our fms. This graph is stored in #37. The current issue uses the graph and finds the shortest path between two given points.