This was the final project for my MATLAB class. It modeled an autonomous drone navigating from a designated start position to a designated finish in a 3D environment. One script generates the environment, dimensions and obstacles of which can be edited by adjusting a 3D binary matrix, while a second script controls the drone behavior.
The drone is meant to represent simplistic modern autonomous LIDAR systems, and plots its next move based on it’s distance to the finish, where it’s been, and where discovered obstacles are. The graphics update in realtime as the drone moves through the space and discovers obstacles.
For anyone interested, feel free to download and play with the code yourself here.