Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

3. (10 points) Suppose your intelligent robot has survived the walls thanks to the fuzzy logic based obstacle avoidance system you developed in the first

image text in transcribed

3. (10 points) Suppose your intelligent robot has survived the walls thanks to the fuzzy logic based obstacle avoidance system you developed in the first midterm exam. Now, we add a camera on top of the robot to follow a lane: Projection of the Vlane on the image Lane to follow LEFT SIDE RIGHT SIDE Robot Pixel 0 Pixel n Image Centre In this case, the camera acquires images of the lane and we will use these images to control the motion of the robot similar to what we did previously. We will use a variable d (in pixels) to indicate the distance of the projection of the lane (which will appear as a line on the image) to the centre of the image. So, we will have a rule base as follows: IF d is very near AND the line is on the RIGHT SIDE THEN perform a LOW rotation to the right. IF dis Near AND the line is on the RIGHT SIDE THEN perform a MEDIUM rotation to the right. The crisp value of d will be fuzzified using the input membership given below: (Distance) Very near Near Far 10 20 30 50 80 90 100 Distance (pixels) Then, the amount of rotation is found using the rules in the rulebase using the output membership function below: (Rotation) Low Medium High 20 30 40 60 80 90 Rotation ) At one moment of operation, d value is calculated as 25 pixels and the detected line is on the right side of the image (the membership for this antecedent can be taken as 1.0). Compute the amount of rotation using Mamdani inference method with clipping. (The interval length can be taken as 10). 3. (10 points) Suppose your intelligent robot has survived the walls thanks to the fuzzy logic based obstacle avoidance system you developed in the first midterm exam. Now, we add a camera on top of the robot to follow a lane: Projection of the Vlane on the image Lane to follow LEFT SIDE RIGHT SIDE Robot Pixel 0 Pixel n Image Centre In this case, the camera acquires images of the lane and we will use these images to control the motion of the robot similar to what we did previously. We will use a variable d (in pixels) to indicate the distance of the projection of the lane (which will appear as a line on the image) to the centre of the image. So, we will have a rule base as follows: IF d is very near AND the line is on the RIGHT SIDE THEN perform a LOW rotation to the right. IF dis Near AND the line is on the RIGHT SIDE THEN perform a MEDIUM rotation to the right. The crisp value of d will be fuzzified using the input membership given below: (Distance) Very near Near Far 10 20 30 50 80 90 100 Distance (pixels) Then, the amount of rotation is found using the rules in the rulebase using the output membership function below: (Rotation) Low Medium High 20 30 40 60 80 90 Rotation ) At one moment of operation, d value is calculated as 25 pixels and the detected line is on the right side of the image (the membership for this antecedent can be taken as 1.0). Compute the amount of rotation using Mamdani inference method with clipping. (The interval length can be taken as 10)

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Processing

Authors: David J. Auer David M. Kroenke

13th Edition

ISBN: B01366W6DS, 978-0133058352

More Books

Students also viewed these Databases questions

Question

=1. Describe the elements of a queueing model.

Answered: 1 week ago

Question

7. Identify four antecedents that influence intercultural contact.

Answered: 1 week ago

Question

5. Describe the relationship between history and identity.

Answered: 1 week ago