
<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://wiki.robotika.sk/robowiki/index.php?action=history&amp;feed=atom&amp;title=Line_Follower</id>
		<title>Line Follower - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://wiki.robotika.sk/robowiki/index.php?action=history&amp;feed=atom&amp;title=Line_Follower"/>
		<link rel="alternate" type="text/html" href="https://wiki.robotika.sk/robowiki/index.php?title=Line_Follower&amp;action=history"/>
		<updated>2026-05-19T18:43:22Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.30.0</generator>

	<entry>
		<id>https://wiki.robotika.sk/robowiki/index.php?title=Line_Follower&amp;diff=3410&amp;oldid=prev</id>
		<title>Robot at 11:42, 11 July 2008</title>
		<link rel="alternate" type="text/html" href="https://wiki.robotika.sk/robowiki/index.php?title=Line_Follower&amp;diff=3410&amp;oldid=prev"/>
				<updated>2008-07-11T11:42:18Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;= Project: Line Follower =&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Overview ==&lt;br /&gt;
&lt;br /&gt;
[[Image:Rescue_robot_model.jpg|thumb|Line following robot|200px|right|Design of the hover]]&lt;br /&gt;
&lt;br /&gt;
'''Author(s):''' Costin Ionita, Aija Rusina   &amp;lt;BR&amp;gt;&lt;br /&gt;
'''Country(s):''' Romania/Latvia              &amp;lt;BR&amp;gt;&lt;br /&gt;
'''Date:''' 11.07.2008           &amp;lt;BR&amp;gt;&lt;br /&gt;
'''Activity:''' Robolution 2008  &amp;lt;BR&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Abstract ==&lt;br /&gt;
&lt;br /&gt;
'''Hardware Design''': Our robot consists of a basic Boe-Bot to which we have attached a set of&lt;br /&gt;
3 IR sensors: 1-left, 1-center, 1-right.&lt;br /&gt;
&lt;br /&gt;
'''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:&lt;br /&gt;
&lt;br /&gt;
1. [[qtiCenter = 1]] (the rest doesn't matter)&lt;br /&gt;
   robot moves forward&lt;br /&gt;
2. [[qtiCenter = 0, qtiLeft = 1]]&lt;br /&gt;
   robot tries to search the line on the left side. If the line is found within a certain range the robot stops searching and continues moving forward.&lt;br /&gt;
3. [[qtiCenter = 0, qtiRight = 1]]&lt;br /&gt;
   robot tries to search the line on the right side. If the line is found within a certain range the robot stops searching and continues moving forward.&lt;br /&gt;
&lt;br /&gt;
In case all three sensors &amp;quot;feel&amp;quot; 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. &lt;br /&gt;
&lt;br /&gt;
== Project Files ==&lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;color:green;background-color:#ffffcc;&amp;quot; cellpadding=&amp;quot;2&amp;quot; cellspacing=&amp;quot;0&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
| '''Description''' ||	'''Download''' &lt;br /&gt;
|-&lt;br /&gt;
| Project documentation 	|| [[Media:MyDocumentation.pdf]]&lt;br /&gt;
|-&lt;br /&gt;
| Project sourcecode 	        || [[Media:MySource.zip]]&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Projects]]&lt;/div&gt;</summary>
		<author><name>Robot</name></author>	</entry>

	</feed>