<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>BrickEngineer: LEGO Design &#187; &#187; code software</title>
	<atom:link href="http://www.brickengineer.com/pages/tag/code-software/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.brickengineer.com/pages</link>
	<description>LEGO Engineering for LEGO NXT and Robot Enthusiasts</description>
	<lastBuildDate>Tue, 10 Mar 2015 04:45:39 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>https://wordpress.org/?v=4.2.39</generator>
	<item>
		<title>Little Rover with Instructions and Code</title>
		<link>http://www.brickengineer.com/pages/2008/10/12/little-rover-with-instructions-and-code/</link>
		<comments>http://www.brickengineer.com/pages/2008/10/12/little-rover-with-instructions-and-code/#comments</comments>
		<pubDate>Sun, 12 Oct 2008 05:43:54 +0000</pubDate>
		<dc:creator><![CDATA[admin]]></dc:creator>
				<category><![CDATA[Constructs]]></category>
		<category><![CDATA[Design]]></category>
		<category><![CDATA[Robotics]]></category>
		<category><![CDATA[code software]]></category>
		<category><![CDATA[instructions]]></category>
		<category><![CDATA[LEGO mindstorms]]></category>
		<category><![CDATA[NXT]]></category>
		<category><![CDATA[NXT-G]]></category>
		<category><![CDATA[robot]]></category>
		<category><![CDATA[rover]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[tutorial]]></category>

		<guid isPermaLink="false">http://www.brickengineer.com/pages/?p=26</guid>
		<description><![CDATA[&#160; I have finally compiled building instructions for my Little Rover, which can be seen above in a 3D Rendering courtesy of POVRay.  An earlier version of this rover can be seen in this YouTube video: Little Rover Prototype Video Rover Design The complete detailed building instructions can be found here in this 94-page pdf [&#8230;]]]></description>
				<content:encoded><![CDATA[<p><a href="http://www.brickengineer.com/pages/wp-content/uploads/2008/10/little-rover-on-mars-med.jpg"><img class="alignleft size-full wp-image-34" title="little-rover-on-mars-med" src="http://www.brickengineer.com/pages/wp-content/uploads/2008/10/little-rover-on-mars-med.jpg" alt="" width="395" height="300" /></a></p>
<p>&nbsp;</p>
<p>I have finally compiled building instructions for my Little Rover, which can be seen above in a 3D Rendering courtesy of <a href="http://www.povray.org/" target="_blank">POVRay</a>.  An earlier version of this rover can be seen in this YouTube video:</p>
<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="425" height="344" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="src" value="http://www.youtube.com/v/cShU-TzoK6w&amp;hl=en&amp;fs=1" /><embed type="application/x-shockwave-flash" width="425" height="344" src="http://www.youtube.com/v/cShU-TzoK6w&amp;hl=en&amp;fs=1" allowfullscreen="true"></embed></object></p>
<p><a href="http://www.youtube.com/watch?v=cShU-TzoK6w">Little Rover Prototype Video</a></p>
<p><strong>Rover Design</strong></p>
<p>The complete detailed building instructions can be found <a title="Little Rover Building Instructions" href="http://www.brickengineer.com/pages/instructions/little-rover-building-instructions.pdf" target="_self">here in this 94-page pdf file</a>.<br />
Warning: it is about 9MB in size.  The design is not entirely compatible with the standard NXT Mindstorms Kit.  This design relies on two touch sensors, several 1&#215;9 bent liftarms, and as far as I can tell from Peeron, the NXT Kit has only two.  This may require a little redesign.  Other compatibility issues and their solutions can be found in the Parts List in the <a title="Little Rover Building Instructions" href="http://www.brickengineer.com/pages/instructions/little-rover-building-instructions.pdf" target="_self">instructions</a>.</p>
<p>Remember to <a href="http://www.brickengineer.com/pages/downloads/code/Little-Rover.zip">download the software DriveSmart here as well</a>.<br />
Installation instructions can be found in the zip file.</p>
<p><strong>DriveSmart Code</strong></p>
<p>The main file is called DriveSmart.rbt.  Drive Smart runs four threads:</p>
<p>Drive Thread<br />
The Drive Thread (lowest one of the four) drives until a warning flag is set by one of the other<br />
threads. It then waits until it gets an all clear message via the Wait Until Free block, and then<br />
it starts driving again.</p>
<p>Bumper Threads<br />
There are two threads that monitor the bumpers.<br />
The reaction is only activated if nothing else is currently commanding the robot.  In this case the<br />
bumper has been pressed and the robot will veer away from the hazard.</p>
<p>Ultrasound Thread<br />
This thread monitors the ultrasound rangefinder.<br />
The reaction is only activated if nothing else is currently commanding the robot.  When the robot<br />
comes too close to a hazard, the robot is commanded to stop.  It then looks both ways and then turns<br />
in the direction with more room.  If the robot is within 10 cm of a hazard on both sides, it then<br />
backs up.</p>
<p>The robot can roam about a wide variety of rooms and not get stuck.<br />
He does not detect stairs though!  So be careful.</p>
<p>Download: <a title="Little Rover Building Instructions" href="http://www.brickengineer.com/pages/instructions/little-rover-building-instructions.pdf" target="_self">instructions</a> and <a href="http://www.brickengineer.com/pages/downloads/code/Little-Rover.zip">code</a>.</p>
<p>Enjoy!<br />
Kevin Knuth</p>
]]></content:encoded>
			<wfw:commentRss>http://www.brickengineer.com/pages/2008/10/12/little-rover-with-instructions-and-code/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>
