Path planning in various 3D environments
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
-
Python 3.6.10
-
numpy >= 1.16.2
-
matplotlib >= 3.1.1
.
├── src # Scripts
│ ├── maps # Folder contains all envs
│ ├── main.py # Code to create env and call the planner
│ ├── RRT.py # Main rrt algorithm
│ ├── RRTstar.py # Main rrt star algorithm
│ └── Astar.py # Main a star algorithm
├── results # Path visualization in .png
├── doc # Detailed info
└── README.md
There are 7 3D environments that you can try, as shown in The Envs section
Run the following commands to excecute the different path planning algorithms.
- Modify line 145 in the
main.py
file if you want to run different path planning algorithms
MP = RRTstar.RRTstarPlanner(boundary, blocks)
- Execute this command to run the program
python main.py
In the main.py
file
test_single_cube(True)
In the main.py
file
test_flappy_bird(True)
In the main.py
file
test_maze(True)
In the main.py
file
test_monza(True)
In the main.py
file
test_room(True)
In the main.py
file
test_tower(True)
In the main.py
file
test_window(True)