Question: Use mapMaze to create a maze - like obstacle arena. Alternatively, makemap ( 1 0 0 ) to create a maze - like obstacle arena.
Use mapMaze to create a mazelike obstacle arena. Alternatively, makemap to create a mazelike
obstacle arena. With makemap, you can add obstacles to the arena using the draw polygon on the arena.
Do not leave out the large empty spaces in the arena. You may download the robotics toolbox for use
with MATLAB, if needed.
a Use the Bug algorithm to "manually" solve a maze contained in an arena. Choose at least two
sets of start and finish locations located farther apart from each other.
b Next, modify the algorithm such that it changes its turn direction as it hits an obstacle. Repeat
part a
c Repeat part a with the Bug algorithm. Is the performance better or worse compared to Bug
Explain.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
