

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


MEM455: Mobile Robotics
Prof. Ani Hsieh
The objectives of this exercise are to 1) develop a way to copmute the robot’s distance to a given object using the robot’s camera and lasers, and 2) using your results from 1), develop a controller that will enable the robot to drive (open-loop) from one location to any other location in a known workspace.
Let (x, y, z) denote the world coordinate and (u, v) denote the image coordinates. Based on the standard camera geometry shown in Figure 2 we get the following relationship:
(u, v) = (f x z
, f y z
where f is the focal length of our camera. While we do not know f , we can determine f as follows:
Once we have f , for any δu, we can use 1 to find z, i.e. the distance of the robot to the object where the lasers are pointing.
Figure 1: Standard camera geomtry.
Hint 1: One easy way to find the locations of the laser points on your image is to take one image, I 1 , with the lasers on and second image, I 2 , with the lasers off. Convert your images to YUV and looking at the Y channel of both images, generate a new image In such that In = I 1 (Y ) − I 2 (Y ). Your laser points should be the brightest spots in In.
Hint 2: Additionally, keep in mind, to get a good estimate of f you may need to repeat the above steps multiple times with varying distances.
3 Task 2
Given a rectangular workspace, develop an open-loop controller such that the robot can drive itself to a goal location for any initial position. Each wall of the workspace will have a specific color strip to enable the robot to determine its location within the workspace. There will be four distinct colors: blue, flourescent orange, flourescent yellow, and flourescent pink. The goal configuration/location will be given as di cm from wall ci and dj cm from wall cj. Your task is to develop a controller to enable the robot to navigate to the desired location from any initial position within the workspace.
For your report: Describe in 2 pages or less (excluding tables, pseudocode, figures, etc.) your methodology and how it works. Include any tables, pseudocode, figures and other supporting materials in a separate section. If you choose to do the extra credit, describe your approach in 1 page or less (excluding supporting materials).
Grading: Your grade for this assignment will depend on how well your robot is at accomplishing the given tasks. Please set up a time with Nick Kitten so you can demo your robot navigation. Your team should not take more than 10 minutes. You can have at most 3 tries.