Skip to content

Commit ede80e4

Browse files
committed
update docs
1 parent 224dd3b commit ede80e4

File tree

1 file changed

+4
-90
lines changed

1 file changed

+4
-90
lines changed

docs/modules/5_path_planning/time_based_grid_search/time_based_grid_search_main.rst

Lines changed: 4 additions & 90 deletions
Original file line numberDiff line numberDiff line change
@@ -87,102 +87,16 @@ Multi-Agent Path Planning
8787
Priority Based Planning
8888
~~~~~~~~~~~~~~~~~~~~
8989

90-
TODO: explain the algorithm
90+
The planner generates an order to plan in, and generates plans for the robots in that order. Each planned path is reserved in the grid, and all future plans must avoid that path. The robots are planned for in descending order of distance from start to goal.
9191

92-
TODO: explain why spacetime a* is so much slower
92+
This is a sub-optimal algorithm because no replanning happens once paths are found. It does not guarantee the shortest path is found for any particular robot, nor that the final set of paths found contains the lowest possible amount of time or movement.
9393

94-
Using SpaceTimeAstar for the single agent planner::
95-
Using planner: <class 'PathPlanning.TimeBasedPathPlanning.SpaceTimeAStar.SpaceTimeAStar'>
96-
97-
Planning for agent: StartAndGoal(index=1, start=Position(x=1, y=1), goal=Position(x=19, y=18))
98-
Found path to goal after 300 expansions
99-
100-
Planning for agent: StartAndGoal(index=2, start=Position(x=1, y=2), goal=Position(x=19, y=17))
101-
Found path to goal after 645 expansions
102-
103-
Planning for agent: StartAndGoal(index=3, start=Position(x=1, y=3), goal=Position(x=19, y=16))
104-
Found path to goal after 273 expansions
105-
106-
Planning for agent: StartAndGoal(index=4, start=Position(x=1, y=4), goal=Position(x=19, y=15))
107-
Found path to goal after 7798 expansions
108-
109-
Planning for agent: StartAndGoal(index=5, start=Position(x=1, y=5), goal=Position(x=19, y=14))
110-
Found path to goal after 186 expansions
111-
112-
Planning for agent: StartAndGoal(index=6, start=Position(x=1, y=6), goal=Position(x=19, y=13))
113-
Found path to goal after 216790 expansions
114-
115-
Planning for agent: StartAndGoal(index=7, start=Position(x=1, y=7), goal=Position(x=19, y=12))
116-
Found path to goal after 472128 expansions
117-
118-
Planning for agent: StartAndGoal(index=8, start=Position(x=1, y=8), goal=Position(x=19, y=11))
119-
Found path to goal after 916485 expansions
120-
121-
Planning for agent: StartAndGoal(index=9, start=Position(x=1, y=9), goal=Position(x=19, y=10))
122-
Found path to goal after 2098980 expansions
123-
124-
Planning for agent: StartAndGoal(index=10, start=Position(x=1, y=10), goal=Position(x=19, y=9))
125-
Found path to goal after 50 expansions
126-
127-
Planning for agent: StartAndGoal(index=11, start=Position(x=1, y=11), goal=Position(x=19, y=8))
128-
Found path to goal after 62 expansions
129-
130-
Planning for agent: StartAndGoal(index=12, start=Position(x=1, y=12), goal=Position(x=19, y=7))
131-
...
132-
(timed out)
133-
134-
Using the safe interval path planner::
135-
136-
Planning for agent: StartAndGoal(index=1, start=Position(x=1, y=1), goal=Position(x=19, y=18))
137-
Found path to goal after 256 expansions
138-
139-
Planning for agent: StartAndGoal(index=2, start=Position(x=1, y=2), goal=Position(x=19, y=17))
140-
Found path to goal after 336 expansions
141-
142-
Planning for agent: StartAndGoal(index=3, start=Position(x=1, y=3), goal=Position(x=19, y=16))
143-
Found path to goal after 526 expansions
144-
145-
Planning for agent: StartAndGoal(index=4, start=Position(x=1, y=4), goal=Position(x=19, y=15))
146-
Found path to goal after 619 expansions
147-
148-
Planning for agent: StartAndGoal(index=5, start=Position(x=1, y=5), goal=Position(x=19, y=14))
149-
Found path to goal after 534 expansions
150-
151-
Planning for agent: StartAndGoal(index=6, start=Position(x=1, y=6), goal=Position(x=19, y=13))
152-
Found path to goal after 596 expansions
153-
154-
Planning for agent: StartAndGoal(index=7, start=Position(x=1, y=7), goal=Position(x=19, y=12))
155-
Found path to goal after 149 expansions
156-
157-
Planning for agent: StartAndGoal(index=8, start=Position(x=1, y=8), goal=Position(x=19, y=11))
158-
Found path to goal after 551 expansions
159-
160-
Planning for agent: StartAndGoal(index=9, start=Position(x=1, y=9), goal=Position(x=19, y=10))
161-
Found path to goal after 92 expansions
162-
163-
Planning for agent: StartAndGoal(index=10, start=Position(x=1, y=10), goal=Position(x=19, y=9))
164-
Found path to goal after 1042 expansions
165-
166-
Planning for agent: StartAndGoal(index=11, start=Position(x=1, y=11), goal=Position(x=19, y=8))
167-
Found path to goal after 1062 expansions
168-
169-
Planning for agent: StartAndGoal(index=12, start=Position(x=1, y=12), goal=Position(x=19, y=7))
170-
Found path to goal after 1000 expansions
171-
172-
Planning for agent: StartAndGoal(index=13, start=Position(x=1, y=13), goal=Position(x=19, y=6))
173-
Found path to goal after 867 expansions
174-
175-
Planning for agent: StartAndGoal(index=14, start=Position(x=1, y=14), goal=Position(x=19, y=5))
176-
Found path to goal after 964 expansions
177-
178-
Planning for agent: StartAndGoal(index=15, start=Position(x=1, y=15), goal=Position(x=19, y=4))
179-
Found path to goal after 1146 expansions
180-
181-
Planning took: 0.11520 seconds
94+
TODO: include a gif
18295

18396

18497
References
18598
~~~~~~~~~~~
18699

187100
- `Cooperative Pathfinding <https://www.davidsilver.uk/wp-content/uploads/2020/03/coop-path-AIWisdom.pdf>`__
188101
- `SIPP: Safe Interval Path Planning for Dynamic Environments <https://www.cs.cmu.edu/~maxim/files/sipp_icra11.pdf>`__
102+
- `Prioritized Planning Algorithms for Trajectory Coordination of Multiple Mobile Robots <https://pure.tudelft.nl/ws/portalfiles/portal/67074672/07138650.pdf>`__

0 commit comments

Comments
 (0)