Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask MATLAB Expert

Specification

For your CS20 final project, your team will be programming an iRobot Create to autonomously navigate a maze. The maze will consist of black lines on a white surface. Your robot will be placed at the start of the maze, faced in any direction (my choice). You are to navigate through the paths of the maze to the end, where you will run into obstacle that will trigger the robot’s bump sensor. At this point, you need to stop and visibly indicate that you are done (beep, flash lights, etc). While navigating the maze, your robot may not cross a line. For the purpose of the assignment, “crossing a line” will be defined as over ½ the robot body crossing the line. You are free to choose any strategy for navigating the maze. I would encourage you to consider a wall following algorithm. (http://en.wikipedia.org/wiki/Maze_solving_algorithm#Wall_follower).

Assumptions you may make

•    All lines are straight. They will be no less than 3” in width.
•    All corners are 90 degrees
•    The maze size is approximately 20’ by 20’.
•    The path width (line to line) is at least 24”
•    The maze is simply connected (every wall is connected to either another wall or to the boundary).
•    Make no assumption about the direction your robot will be facing when started.
•    There is a large object at the end of the maze that will trigger a bump sensor. There will be no other objects in the maze.

As you know, when working in the simulator, when the robot is travelling in area free of lines, the cliff sensors will return a value of 21.5. When a line is detected, the value is 1.5. When working with the hardware, these values are not as clear cut. Therefore, at the top of your main script, declare a variable called LT (for line threshold). All of your code should be written in terms of this value, and not a hard coded value. When you show up demonstration day, I will have done testing given the lighting, to give you a good value for LT. While working in the simulator, any value > 1.5 and < 21.5 will work.

A sample maze may look similar to this:

642_Maze sample.jpg

MATLAB, Engineering

  • Category:- MATLAB
  • Reference No.:- M9629

Have any Question? 


Related Questions in MATLAB

Assignmentq1 find the laplace transforms of the following

Assignment Q.1 Find the Laplace transforms of the following functions: (a) t 2 + at + b and (b) sin(2nΠt/T) Q.2 Find f (t) for the following F(s) = α[ f (t)]. (i) 5/(s + 3), (ii) 1/s 2 + 25, (iii) 1/s(s+1) Q.3 Find the L ...

Assignment details -need to write a code for connecting

Assignment Details - Need to write a code for connecting segments (Lines) a special case of TSP. The problem is to connect lines in 2d/ 3d space with path obstructions. Can you help me write the code for this? Hope you m ...

Assignment -data is given on which want to do computational

Assignment - Data is given on which want to do computational production planning using Metaheuristic MATLAB Programming: 1) Ant Colony Algorithm on both Partial and Total Flexible Problem. 2) Bee Algorithm on both Partia ...

Suppose that a student has the option of enrolling for a

Suppose that a student has the option of enrolling for a single elective during a term. The student must select a course from a limited list of options: "English, " "History, " "Biology, " "Computer, " or "Math." Constru ...

Lab assignment - matlab matrix relationallogical operators

Lab Assignment - MATLAB Matrix, Relational/Logical Operators and Plotting This laboratory exercise/assignment will involve you 1) practicing multiplication operators in MATLAB; 2) practicing relational and logical operat ...

Question a safe prime is a prime number that can be written

Question : A safe prime is a prime number that can be written in the form 2p + 1 where p is also a prime number. Write a MATLAB script file that finds and displays all safe primes between 1 and 1000.

Discrete optimisation- solve the following two problems

Discrete Optimisation - Solve the following two problems with both exhaustive enumeration and branch and bound - Problem 1 is a mixed integer linear optimisation problem (the problem has both discrete and continuous vari ...

Question - verify the attached paper with matlab and get

Question - Verify the attached paper with matlab and get all the results in the paper and explain step by step the matlab code. Paper - Improving Massive MIMO Belief Propagation Detector with Deep Neural Network. Attachm ...

Assignmentafter the success of your robo-advice venture you

Assignment After the success of your robo-advice venture you decide to explore alternative sources of profitability for your company. You realize that Australian investors are often forced to chose between expensive acti ...

Assignment -matlab codes and simulated model in

Assignment - Matlab codes and simulated model in simulink/matlab and truetime. 1. Matlab codes and simulink model for pid controller optimization using particle swarm optimization (PSO) my plant is integer order 1000/(s^ ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As