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 maze-like obstacle arena. Alternatively, makemap(100) to create a maze-like
obstacle arena. With makemap, you can add obstacles to the arena using the p-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 Bug2 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 Bug1 algorithm. Is the performance better or worse compared to Bug2?
Explain.
Use mapMaze to create a maze - like obstacle

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Accounting Questions!