Difference between revisions of "Robolution Example Project"
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | = Project: | + | = Project: Hovercraft = |
Line 6: | Line 6: | ||
[[Image:Rescue_robot_model.jpg|thumb|Line following robot|200px|right|Design of the hover]] | [[Image:Rescue_robot_model.jpg|thumb|Line following robot|200px|right|Design of the hover]] | ||
− | '''Author(s):''' Costin Ionita, Aija Rusina <BR> | + | '''Author(s): ''' Costin Ionita, Aija Rusina <BR> |
− | '''Country(s):''' Romania/Latvia <BR> | + | '''Country(s): ''' Romania/Latvia <BR> |
− | '''Date:''' 11.07. | + | '''Date: ''' 11.07.2010 <BR> |
− | '''Activity:''' | + | '''Activity: ''' R.U.R. - Summer School 2010 <BR> |
== Abstract == | == Abstract == | ||
Line 16: | Line 16: | ||
3 IR sensors: 1-left, 1-center, 1-right. | 3 IR sensors: 1-left, 1-center, 1-right. | ||
− | '''Software Design''': There is a main loop on which the robot analises its current state and tries to move on the direction of the line (Line Follower). The state is coded with three variables: ''qtiRight'', ''qtiCenter'' and ''qtiLeft''. 0 - white (robot doesn't sense anything), 1 - black (robot senses the line). There are three main cases | + | '''Software Design''': There is a main loop on which the robot analises its current state and tries to move on the direction of the line (Line Follower). The state is coded with three variables: ''qtiRight'', ''qtiCenter'' and ''qtiLeft''. 0 - white (robot doesn't sense anything), 1 - black (robot senses the line). There are three main cases. In case all three sensors "feel" 0, it means that the line is over or the curve is too steep. If the curve is too steep, the robot remembers the last change of direction and it tries to search to line in the same direction, otherwise it tries the opposite. If it's the end of the road, the robot uses a simple heuristic to find another line within a certain radius. It moves forward and serches both left and right. In no line is found it repeats this process for a number of times (2 in this case). After 2 steps, if no line is found the robot simply stops. |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | In case all three sensors "feel" 0, it means that the line is over or the curve is too steep. If the curve is too steep, the robot remembers the last change of direction and it tries to search to line in the same direction, otherwise it tries the opposite. If it's the end of the road, the robot uses a simple heuristic to find another line within a certain radius. It moves forward and serches both left and right. In no line is found it repeats this process for a number of times (2 in this case). After 2 steps, if no line is found the robot simply stops. | ||
== Project Files == | == Project Files == | ||
Line 39: | Line 30: | ||
+ | Go back to the [[Summer_School_2010#Projects|List of the projects]] | ||
[[Category:Projects]] | [[Category:Projects]] |
Latest revision as of 12:52, 7 July 2010
Project: Hovercraft
Overview
Author(s): Costin Ionita, Aija Rusina
Country(s): Romania/Latvia
Date: 11.07.2010
Activity: R.U.R. - Summer School 2010
Abstract
Hardware Design: Our robot consists of a basic Boe-Bot to which we have attached a set of 3 IR sensors: 1-left, 1-center, 1-right.
Software Design: There is a main loop on which the robot analises its current state and tries to move on the direction of the line (Line Follower). The state is coded with three variables: qtiRight, qtiCenter and qtiLeft. 0 - white (robot doesn't sense anything), 1 - black (robot senses the line). There are three main cases. In case all three sensors "feel" 0, it means that the line is over or the curve is too steep. If the curve is too steep, the robot remembers the last change of direction and it tries to search to line in the same direction, otherwise it tries the opposite. If it's the end of the road, the robot uses a simple heuristic to find another line within a certain radius. It moves forward and serches both left and right. In no line is found it repeats this process for a number of times (2 in this case). After 2 steps, if no line is found the robot simply stops.
Project Files
Description | Download |
Project documentation | Media:MyDocumentation.pdf |
Project sourcecode | Media:MySource.zip |
Go back to the List of the projects