Create a bounding box around the area

Assignment Help MATLAB Programming
Reference no: EM132694541

Handout
Last week you programmed a basic path, now we will make that path be followed better by using sensors. Over the last couple of weeks you should have got used to the simulator and basic scripting to control the robot. The tasks this week combines what you have learnt and asks to complete two tasks: wander randomly, and follow a wall around. You will need to submit your code, and a report. I've include a section regarding the report at the bottom of this handout and a copy on blackboard under the assessment tab.

TASK 1:
- Using the diagram below, create a map as described. The map has a wall which is the skeleton of the path to follow.
- It has some lines that indicate the ideal path that the robot should follow.
- Also, create a bounding box around the area so the robot cannot escape.

TASK 2:
- Using the map you just created the aim of this task is to set the robots position anywhere In the bounding box, the robot should next wander randomly in the environment, if the robot sees a wall then it should follow the wall in a determined direction.
- From the statement above you will see two sub-tasks, so you could break up your code into two sections. You'll need to make a way for the robot to transition from one task to the other.
- Breaking up the tasks:
o Random wander:
• Consider the random distance to travel in a straight line,
• Consider the random angle to turn to, and which random direction
• In V-REP you cannot tell the robot how far to travel or how much to turn by so you will need to devise a way to allow the robot to travel randomly
o Transitioning to a task
o Wall following:
• You could move forward at a constant rate
• Measure the distance between the robot and the wall using one of the sensors to the side.
• Set a threshold - or distance - away from the wall that the robot has to follow
• If the robot travels away from the line, adjust its speed of the wheels accordingly (robot travels too far to the left, adjust the speed to rotate right)
- Remember, plotting the position data will be useful in your reports.

TASK 3 (Optional):
- Test different parameters or your own programming experiments to enhance:
o Making the path smoother and avoiding near misses
o Wasting less time in overshooting correction actions (e.g observe what happens at the turnings in the top tips of the vertical walls)
o Is there any better methods of randomly wandering?


REPORT:
- There is no limit on the number of pages, however, 2 sides should be adequent to introduce the task, what you did and the results and conclusions.
- You must submit your code and the end of the report as a appendix. Failure to do so may mean losing marks from the Design and Implementation criteria of the marking sheet.
- Each Lab handout will have specific instructions on what is the main purpose, which is what should guide your report content.
- You need to submit your own code your own reflections, so that is why we ask not to share code via the Discussion Board.
- You need to present your own experience and analysis of your experiments and results.
- The most important part is that you need to write what you HAVE LEARNED by doing this lab (I already know what you are supposed to do!)
- It is very important to draw and present your own conclusions.

- Take into account that the mark for your work will be given through the report, which should present appropriately your work, therefore it is not enough to just do the exercises (or in the case of the second assignment, develop your solution) and dump some results. You need to present your work appropriately.

- You have a few sources of information to base how your reports should be structured. The first one should be your generic knowledge on how to write reports, this is included here:
o Every report has to have an introduction and present your own interpretation of the problem. So do not just paste the brief's text, you need to write the interpretation of the problem in your own words.
o For larger projects, you need to provide support for your decisions, previous knowledge and statements, which is achieved through a literature review or suitable background section.
o Then you need to present your methodology which includes detailing your chosen alternative(s) approach to solve the problem (if available/applicable) and your experimental setup, development, etc.
o Once you have developed and tested your solution you need to present your results and analyse/discuss them. Depending on the size of the project and report this can involve a section on results and a section on discussion. For a small lab report and coursework report, a single section on analysis of results should do.
o Finally, no report will be complete without an explicit conclusion. The conclusions are NOT a summary of results or objectives achieved (that goes in the section above, analysis of results). The conclusion should be your own reflection on what you have learned by developing the whole project, including lessons on what could have been done better, differently and in the future.

Attachment:- Lab Sensors.rar

Reference no: EM132694541

Questions Cloud

What would be potential disadvantages of making that change : Chris decided against having sex reassignment surgery. What would be the potential advantages and disadvantages of making that change? What do you think you.
Assistive technology essay : There are a variety of assistive technologies (AT) available for early childhood teachers to incorporate into instruction for students with learning disabilitie
Prepare common-sized financial statements for leslie fay : Prepare common-sized financial statements for Leslie Fay for the period 1987- 1991. For that same period, compute for Leslie Fay the ratios shown.
Determine the amount of cash receipts stolen by sales clerk : Alaska Impressions Co. records all cash receipts on the basis of its cash register tapes. Determine the amount of cash receipts stolen by sales clerk
Create a bounding box around the area : Create a bounding box around the area so the robot cannot escape - Test different parameters or your own programming experiments to enhance
What role internal audit play in ensuring adequate control : What evidence exists that a component in the fraud triangle is being compromised? Be specific about the behavior you have observed.
How deviance plays a role in everyday life : Discuss how deviance plays a role in everyday life and apply the various theories in this chapter to your thoughts.
Does social media disclosure substitute sec filing : Does social media disclosure substitute SEC filing of the companies or is it a just complement traditional financial accounting reporting?
Are the reports of departmental net income : Are the reports of departmental net income and the departmental contribution to overhead useful in assessing a department manager's performance? Explain

Reviews

len2694541

11/11/2020 10:42:27 PM

W4 Very important to understand the way in which errors behave e.g. between relative vs absolute position sensing (e.g. odometry vs landmarks). Relative errors from odometry can be small to start with but will always eventually grow up to unmanageable values. Absolute errors from beacons or GPS may be larger, but will be constant and will not increase with time or distance travelled. As always, it’s better to use a combination of these. MAKE SURE THIS JUST A 20% COURSE WORK.

Write a Review

MATLAB Programming Questions & Answers

  Find the laplace transform of the functions

Find the solution of the differential equation - Find the Laplace transform - Find the Laplace transforms of the functions - Using Matlab and Laplace transform, find the solution of the differential equation

  Plot the angular velocity of the pendulum

Plot the angle of the pendulum as calculated from all three ODE solver methods on a single plot, ensuring that the plot is titled, all axes are labelled, units are indicated, and the legend for each solver displayed in Best configuration.

  What is the max and minimum value of the given vector

What is the max and minimum value of the above vector? In what elements are these values found? Find the square root, cube root and 7th root of this vector using a single operation.

  Image segmentation by matlab hi therewhat i need in this

hi there ltbrgt ltbrgtwhat i need in this order is that quotimage segmentationquot. choose any two obvious photos and

  Plotting the function codes in matlab

Now I did this code (the main code is codeJJ2.m) the other are function codes Now, In the main code We have S=3 which plot N1, N2, N3, N4 together

  Newtons and lagrange interpolation polynomials

What conclusion can you draw from the comparison between Newton's and Lagrange interpolation polynomials? Explain your findings.

  It''s a mechanical engineering project proposal

It's a mechanical engineering project proposal. the program that we using is called "Mat lab". Here are the rules for the project proposal.

  Project - visualisation of magnetic fields from mri gradient

Project - Visualisation of magnetic fields from MRI gradient and RF coils - Give a general overview of MRI physics then go into greater detail on coil types

  What is a super-efficiency model

What is a super-efficiency model - distinguish the performance of best-practice DMUs

  Write the commands that will create the matrix

Write the commands that will create the matrix.

  Develop a matlab program for encoding a data sequence

Develop and test a Matlab program for encoding a data sequence using QPSK modulation. The result will be a graph of phase modulated carrier

  Lagrange interpolating polynomial of degree

Lagrange interpolating polynomial of degree

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd