<?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; Software</title>
	<atom:link href="http://www.brickengineer.com/pages/tag/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>Raspberry Pi: An ARM GNU/Linux box for $25</title>
		<link>http://www.brickengineer.com/pages/2012/04/08/raspberry-pi-an-arm-gnulinux-box-for-25/</link>
		<comments>http://www.brickengineer.com/pages/2012/04/08/raspberry-pi-an-arm-gnulinux-box-for-25/#comments</comments>
		<pubDate>Sun, 08 Apr 2012 04:14:29 +0000</pubDate>
		<dc:creator><![CDATA[admin]]></dc:creator>
				<category><![CDATA[Computing]]></category>
		<category><![CDATA[Electronics]]></category>
		<category><![CDATA[Robotics]]></category>
		<category><![CDATA[robots]]></category>
		<category><![CDATA[1080p]]></category>
		<category><![CDATA[ARM1176]]></category>
		<category><![CDATA[ARM1176JZF-S]]></category>
		<category><![CDATA[BluRay]]></category>
		<category><![CDATA[Broadcom BCM2835]]></category>
		<category><![CDATA[computer]]></category>
		<category><![CDATA[computing]]></category>
		<category><![CDATA[computing technology]]></category>
		<category><![CDATA[Embedded Multimedia Applications Processor]]></category>
		<category><![CDATA[GNU/Linux Box]]></category>
		<category><![CDATA[GPU]]></category>
		<category><![CDATA[High Definition]]></category>
		<category><![CDATA[LEGO]]></category>
		<category><![CDATA[LEGO Brick]]></category>
		<category><![CDATA[LEGO Engineering]]></category>
		<category><![CDATA[LEGO First]]></category>
		<category><![CDATA[LEGO First League]]></category>
		<category><![CDATA[LEGO mindstorms]]></category>
		<category><![CDATA[LEGO motors]]></category>
		<category><![CDATA[LEGO NXT]]></category>
		<category><![CDATA[LEGO robot]]></category>
		<category><![CDATA[LEGO robotics]]></category>
		<category><![CDATA[LEGO sensors]]></category>
		<category><![CDATA[microcontrollers]]></category>
		<category><![CDATA[mindstorms]]></category>
		<category><![CDATA[motors]]></category>
		<category><![CDATA[NXT]]></category>
		<category><![CDATA[OpenGL]]></category>
		<category><![CDATA[OpenVG]]></category>
		<category><![CDATA[processor]]></category>
		<category><![CDATA[Raspberry Pi]]></category>
		<category><![CDATA[robot]]></category>
		<category><![CDATA[sensors]]></category>
		<category><![CDATA[SoC]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[solutions]]></category>
		<category><![CDATA[System on a Chip]]></category>
		<category><![CDATA[technology]]></category>
		<category><![CDATA[Videocore 4 GPU]]></category>

		<guid isPermaLink="false">http://www.brickengineer.com/pages/?p=373</guid>
		<description><![CDATA[Move over LEGO brick! Here comes Raspberry Pi, and it is going to change the face of robotics forever! Raspberry Pi is Linux machine the size of a credit card. Plug in your television and a keyboard and you have a fully-functional computer for $25. YES!!! TWENTY-FIVE DOLLARS!!!! Models: There are two models, Model A [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>Move over LEGO brick!<br />
Here comes Raspberry Pi, and it is going to change the face of robotics forever!</p>
<p>Raspberry Pi is Linux machine the size of a credit card.  Plug in your television and a keyboard and you have a fully-functional computer for $25.<br />
YES!!!<br />
TWENTY-FIVE DOLLARS!!!!</p>
<p><img src="http://www.raspberrypi.org/wp-content/uploads/2011/07/raspi_blue_white.png" alt="Layout of the Raspberry Pi ARM GNU/Linux Box Computer" /></p>
<p>Models:<br />
There are two models, Model A and Model B.<br />
Model A has 256MB RAM, 1 USB port and no Ethernet (network connection).<br />
Model B has 256MB RAM, 2 USB ports and an Ethernet port.</p>
<p>Specs:<br />
It relies on a System on a Chip (SoC).  The particular SoC used is <a href="http://www.broadcom.com/products/BCM2835" title="Broadcom BCM2835" target="_blank">Broadcom BCM2835</a>.  The Broadcom BNC2835 is a High Definition 1080p Embedded Multimedia Applications Processor.  It relies on the <a href="http://www.arm.com/products/processors/classic/arm11/arm1176.php" title="ARM1176 Processor" target="_blank">ARM1176 (ARM1176JZF-S) Processor</a> which has a floating point processor and runs at 700 MHz.  Moreover, the SoC has a <a href="http://en.wikipedia.org/wiki/VideoCore" title="Videocore 4 GPU" target="_blank">Videocore 4 GPU</a>, which is capable of BluRay quality playback, using H.264 at 40MBits/s. The Broadcom BNC2835 has a fast 3D core accessed using the supplied OpenGL ES2.0 and OpenVG libraries.  The GPU is capable of 1 Gpixel/s, 1.5 Gtexel/s or 24 GFLOPs of general purpose computing.</p>
<p>Size:<br />
The Raspberry Pi is SMALL!<br />
The card is slightly larger than 85.60 mm x 53.98 mm x 17 mm due to the fact that the SD card and connectors project over the edges. It weighs with a mass of 45g.  The Raspberry Pi is low power and runs on 4 AA cells.</p>
<p>Programming:<br />
Fedora, Debian and ArchLinux are supported and other distributions will be supported later.  Python is the official educational language.</p>
<p>I cant wait to get my hands on one of these and begin interfacing directly with the LEGO motors and sensors!</p>
<p><img src="http://www.raspberrypi.org/wp-content/uploads/2011/07/PC2365272-1024x768.jpg" alt="A photograph of the Raspberry Pi" /></p>
<table>
<tr>
<td>
<iframe src="http://rcm-na.amazon-adsystem.com/e/cm?t=onlicort-20&#038;o=1&#038;p=8&#038;l=as1&#038;asins=B009SQQF9C&#038;ref=qf_sp_asin_til&#038;fc1=000000&#038;IS2=1&#038;lt1=_top&#038;m=amazon&#038;lc1=0000FF&#038;bc1=FFFFFF&#038;bg1=FFFFFF&#038;f=ifr" style="width:120px;height:240px;" scrolling="no" marginwidth="0" marginheight="0" frameborder="0"></iframe>
</td>
<td>
<iframe src="http://rcm-na.amazon-adsystem.com/e/cm?t=onlicort-20&#038;o=1&#038;p=8&#038;l=as1&#038;asins=B008TCUXLW&#038;ref=qf_sp_asin_til&#038;fc1=000000&#038;IS2=1&#038;lt1=_top&#038;m=amazon&#038;lc1=0000FF&#038;bc1=FFFFFF&#038;bg1=FFFFFF&#038;f=ifr" style="width:120px;height:240px;" scrolling="no" marginwidth="0" marginheight="0" frameborder="0"></iframe>
</td>
<td>
<iframe src="http://rcm-na.amazon-adsystem.com/e/cm?t=onlicort-20&#038;o=1&#038;p=8&#038;l=as1&#038;asins=111846446X&#038;ref=qf_sp_asin_til&#038;fc1=000000&#038;IS2=1&#038;lt1=_top&#038;m=amazon&#038;lc1=0000FF&#038;bc1=FFFFFF&#038;bg1=FFFFFF&#038;f=ifr" style="width:120px;height:240px;" scrolling="no" marginwidth="0" marginheight="0" frameborder="0"></iframe>
</td>
</tr>
</table>
]]></content:encoded>
			<wfw:commentRss>http://www.brickengineer.com/pages/2012/04/08/raspberry-pi-an-arm-gnulinux-box-for-25/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Danny &#8211; NXT Matlab Bluetooth Router</title>
		<link>http://www.brickengineer.com/pages/2009/02/16/danny-nxt-matlab-bluetooth-router/</link>
		<comments>http://www.brickengineer.com/pages/2009/02/16/danny-nxt-matlab-bluetooth-router/#comments</comments>
		<pubDate>Mon, 16 Feb 2009 05:56:20 +0000</pubDate>
		<dc:creator><![CDATA[admin]]></dc:creator>
				<category><![CDATA[Hacking]]></category>
		<category><![CDATA[MATLAB]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Bluetooth]]></category>
		<category><![CDATA[LEGO]]></category>
		<category><![CDATA[LEGO mindstorms]]></category>
		<category><![CDATA[mindstorms]]></category>
		<category><![CDATA[NXT]]></category>
		<category><![CDATA[robot]]></category>
		<category><![CDATA[Robotics]]></category>
		<category><![CDATA[robots]]></category>
		<category><![CDATA[starting]]></category>

		<guid isPermaLink="false">http://www.brickengineer.com/pages/?p=79</guid>
		<description><![CDATA[Daniele Benedettelli introduces a MATLAB-based NXC Bluetooth Router. This router relies on connecting a master NXT Brick to a computer via USB. This master NXT Brick then can communicate messages to up to three additional slave NXT Bricks up to a distance of 10 meters from the master. This software would allow one to create [&#8230;]]]></description>
				<content:encoded><![CDATA[<p><a href="http://robotics.benedettelli.com" target="_blank">Daniele Benedettelli</a> introduces a <a href="http://robotics.benedettelli.com/BT_router.htm" target="_blank">MATLAB-based NXC Bluetooth Router</a>.  This router relies on connecting a master NXT Brick to a computer via USB.  This master NXT Brick then can communicate messages to up to three additional slave NXT Bricks up to a distance of 10 meters from the master.  This software would allow one to create small swarms of up to three LEGO robots, which is a nice starting point for investigating distributed robotic systems.</p>
<div id="attachment_80" style="width: 310px" class="wp-caption alignleft"><img class="size-full wp-image-80" title="MATLAB NXT Bluetooth Router" src="http://www.brickengineer.com/pages/wp-content/uploads/2009/02/bluetooth-router.jpg" alt="MATLAB NXT Bluetooth Router" width="300" height="400" /><p class="wp-caption-text">MATLAB NXT Bluetooth Router</p></div>
<p>The system relies on the <a href="http://www.mindstorms.rwth-aachen.de/" target="_blank">RWTH &#8211; MINDSTORMS NXT Toolbox</a>, the <a href="http://mindstorms.lego.com/support/updates/" target="_blank">NXT Fantom Library</a>, and <a href="http://bricxcc.sourceforge.net/lms_arm_jch.zip" target="_blank">John Hansen&#8217;s enhanced firmware</a>.  The brick software is written in <a href="http://bricxcc.sourceforge.net/nbc/" target="_blank">Not eXactly C (NXC)</a>, which requires <a href="http://bricxcc.sourceforge.net/nbc/" target="_blank">Brick CC 3.3</a>.</p>
<p><a href="http://robotics.benedettelli.com" target="_blank">Daniele Benedettelli</a> also has a book published titled <a href="http://www.amazon.com/gp/product/1590599667?ie=UTF8&amp;tag=onlicort-20&amp;linkCode=as2&amp;camp=1789&amp;creative=9325&amp;creativeASIN=1590599667">Creating Cool MINDSTORMS NXT Robots (Technology in Action)</a><img style="border:none !important; margin:0px !important;" src="http://www.assoc-amazon.com/e/ir?t=onlicort-20&amp;l=as2&amp;o=1&amp;a=1590599667" border="0" alt="" width="1" height="1" /></p>
<p><iframe src="http://rcm.amazon.com/e/cm?t=onlicort-20&#038;o=1&#038;p=8&#038;l=as1&#038;asins=1590599667&#038;fc1=000000&#038;IS2=1&#038;lt1=_blank&#038;m=amazon&#038;lc1=0000FF&#038;bc1=000000&#038;bg1=FFFFFF&#038;f=ifr" style="width:120px;height:240px;" scrolling="no" marginwidth="0" marginheight="0" frameborder="0"></iframe></p>
]]></content:encoded>
			<wfw:commentRss>http://www.brickengineer.com/pages/2009/02/16/danny-nxt-matlab-bluetooth-router/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Infrared-Ultrasonic Beacons for Localization</title>
		<link>http://www.brickengineer.com/pages/2009/02/16/infrared-ultrasonic-beacons-for-localization/</link>
		<comments>http://www.brickengineer.com/pages/2009/02/16/infrared-ultrasonic-beacons-for-localization/#comments</comments>
		<pubDate>Mon, 16 Feb 2009 05:38:15 +0000</pubDate>
		<dc:creator><![CDATA[admin]]></dc:creator>
				<category><![CDATA[Electronics]]></category>
		<category><![CDATA[Hacking]]></category>
		<category><![CDATA[beacon]]></category>
		<category><![CDATA[filter]]></category>
		<category><![CDATA[kalman]]></category>
		<category><![CDATA[LabVIEW]]></category>
		<category><![CDATA[LEGO mindstorms]]></category>
		<category><![CDATA[localization]]></category>
		<category><![CDATA[microcontrollers]]></category>
		<category><![CDATA[NXT]]></category>
		<category><![CDATA[projects]]></category>
		<category><![CDATA[robot]]></category>
		<category><![CDATA[Robotics]]></category>
		<category><![CDATA[robots]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[spatial]]></category>

		<guid isPermaLink="false">http://www.brickengineer.com/pages/?p=75</guid>
		<description><![CDATA[An article at NXTasy.org highlights a three-wheeled robot that moves in one dimension and detects signals from an external beacon that emits ultrasonic bursts.  The robot relies on a microcontroller that runs a Kalman filter to perform and maintain spatial localization.  The NXT software is implemented using the LabVIEW NXT toolkit Details on the project [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>An <a href="http://nxtasy.org/2009/01/25/1d-navigation-using-a-scalar-kalman-filter/" target="_blank">article at NXTasy.org</a> highlights a three-wheeled robot that moves in one dimension and detects signals from an external beacon that emits ultrasonic bursts.  The robot relies on a microcontroller that runs a <a href="http://en.wikipedia.org/wiki/Kalman_filter" target="_blank">Kalman filter</a> to perform and maintain spatial localization.  The NXT software is implemented using the LabVIEW NXT toolkit</p>
<div id="attachment_76" style="width: 321px" class="wp-caption alignleft"><img class="size-full wp-image-76" title="NXT Reciever with Kalman Filter " src="http://www.brickengineer.com/pages/wp-content/uploads/2009/02/nxt_receiver.png" alt="NXT Reciever with Kalman Filter " width="311" height="261" /><p class="wp-caption-text">NXT Reciever with Kalman Filter </p></div>
<p>Details on the project can be found at <a href="http://www.convict.lu/htm/rob/ir_us.htm#Kalman" target="_blank">http://www.convict.lu/htm/rob/ir_us.htm#Kalman</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.brickengineer.com/pages/2009/02/16/infrared-ultrasonic-beacons-for-localization/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>LEGO Rendering Tutorial: The Basics</title>
		<link>http://www.brickengineer.com/pages/2009/02/15/lego-rendering-tutorial-the-basics/</link>
		<comments>http://www.brickengineer.com/pages/2009/02/15/lego-rendering-tutorial-the-basics/#comments</comments>
		<pubDate>Mon, 16 Feb 2009 01:44:37 +0000</pubDate>
		<dc:creator><![CDATA[admin]]></dc:creator>
				<category><![CDATA[Rendering]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[animation]]></category>
		<category><![CDATA[exploration]]></category>
		<category><![CDATA[image]]></category>
		<category><![CDATA[LDRAW]]></category>
		<category><![CDATA[LEGO]]></category>
		<category><![CDATA[LEGO mindstorms]]></category>
		<category><![CDATA[list]]></category>
		<category><![CDATA[MLCAD]]></category>
		<category><![CDATA[parts]]></category>
		<category><![CDATA[POV-Ray]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[render]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[solutions]]></category>
		<category><![CDATA[starting]]></category>
		<category><![CDATA[tutorial]]></category>
		<category><![CDATA[video]]></category>

		<guid isPermaLink="false">http://www.brickengineer.com/pages/?p=49</guid>
		<description><![CDATA[This is the first in a series of installments that describe how to render high-quality 3D images of your LEGO creations.  You will need the following free software: LDraw MLCad L3P POV-Ray v3.6 which can be downloaded with the LDraw All In One Installer In this tutorial, we will be aiming for a nice simple [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>This is the first in a series of installments that describe how to render high-quality 3D images of your LEGO creations.  You will need the following <em>free</em> software:</p>
<ul>
<li>LDraw</li>
<li>MLCad</li>
<li>L3P</li>
<li>POV-Ray v3.6</li>
</ul>
<p>which can be downloaded with the <a title="LDRAW Installer" href="http://www.ldraw.org/Article104.html" target="_blank">LDraw All In One Installer</a></p>
<p>In this tutorial, we will be aiming for a nice simple still image of three bricks.  In later tutorials, we will animate them.  That will require extra software to put a series of inages together to form a video or an animated gif.  I use Adobe ImageReady to make animated gifs, but there are cheaper solutions.</p>
<p>You can also download all the files we will create here<br />
<a href="http://www.brickengineer.com/pages/files/BE_render_tutorial_1.zip">BE_render_tutorial_1.zip</a><br />
and follow along.</p>
<p><strong>STEP 1: Create an MLCad file of the scene to be rendered<br />
</strong></p>
<p>Open MLCad and prepare to place a few LEGO pieces in the scene.</p>
<p><strong><em>Step 1.1</em>: </strong>Set up a 1&#215;1 brick<br />
On the upper left-hand side, click on <em>Brick</em>.<br />
Drag the 1&#215;1 brick into one of the three viewing panels.<br />
With the brick selected click the <span style="color: #ff0000;">RED</span> color button to color it red.<br />
Right-click on the brick and select <em>Enter Pos. + Rot&#8230;<br />
Use Position Values</em> should be checked<br />
Set the X and Z values all to zero and Y to -100 (negative 100)</p>
<p><strong><em>Step 1.2</em>: </strong>Add a 2&#215;4 brick<br />
Following the steps above, find the 2&#215;4 brick in the <em>Brick</em> list (+ will expand the list) and add it to the scene.  Set its color to <span style="color: #ffcc00;">YELLOW</span> and its position to X=100, Y=-100,  Z=50.</p>
<p><strong><em>Step 1.3</em>: </strong>Add a 2&#215;6 plate<br />
Following the steps above, find the 2&#215;6 plate in the <em>Plate</em> list (you will have to scroll down to the <em>Plate</em> tab) and add it to the scene.  Set its color to <span style="color: #0000ff;">BLUE</span> and its position to X=100, Y=-100,  Z=-100.</p>
<p>Be sure that these pieces are all at Y=-100.  The -y direction points upward and this will place them above the Y=0 plane.</p>
<p><strong><em>Step 1.4</em>: </strong>Save your work as <strong><em>part-zoo-1.ldr</em></strong></p>
<p>The screenshot below shows what you should see at this point on your MLCad screen.</p>
<div id="attachment_57" style="width: 460px" class="wp-caption alignleft"><img class="size-full wp-image-57" title="mlcad-screenshot-render-tutorial-1_450x316" src="http://www.brickengineer.com/pages/wp-content/uploads/2009/02/mlcad-screenshot-render-tutorial-1_450x316.jpg" alt="MLCad Screenshot" width="450" height="316" /><p class="wp-caption-text">MLCad Screenshot</p></div>
<p><em><br />
</em><strong><em></em></strong></p>
<p><strong>STEP 2: Create a POVRay file using L3PAO</strong></p>
<p>Open LP3AO (<em>L3P-Add-on)</em> keeping in mind where you stored your MLCad files.  This figure shows you the basic L3PAO window.</p>
<div id="attachment_59" style="width: 460px" class="wp-caption alignleft"><img class="size-full wp-image-59" title="l3pao-screenshot-render-tutorial-1_450x468" src="http://www.brickengineer.com/pages/wp-content/uploads/2009/02/l3pao-screenshot-render-tutorial-1_450x468.jpg" alt="L3PAO Screenshot" width="450" height="468" /><p class="wp-caption-text">L3PAO Screenshot</p></div>
<p><strong><em>Step 2.1</em>:</strong> In the <em>L3P-Add-on</em> window set the <em>Model File</em> to point to your MLCad file.  To browse, you may need to click on the button labeled &#8230;</p>
<p><strong><em>Step 2.2</em>:</strong> In the <em>L3P-Add-on</em> window set the <em>POV-Ray Output File</em> to point to the folder where you want your POV-Ray file to go.  To browse, you may need to click on the button labeled &#8230;</p>
<p><strong><em>Step 2.3</em>:</strong> In the middle of the right-hand column is the Quality Level setting.  Set this to 2.  IF you select 3 it prints the LEGO logo on every stud.  If you want this, you may leave it.  But I prefer to remove them.</p>
<p><strong><em>Step 2.4</em>:</strong> At the bottom of the middle column is the <em>Render upon Completion</em> option.  This will launch POV-Ray automatically.  However, if you have problems with the automatic launch, turn this option off and load it manually.  In later tutorials, we will edit the POV-Ray file manually anyway.</p>
<p><strong>Step: 2.5:</strong> To start <em>L3PAdd-on</em> click on the <em>Run L3P</em> button in the lower right.  This will create the POV-Ray <strong><em>part-zoo-1.pov</em></strong> file in the directory you specified, and possibly launch POV-Ray depending on the settings you used in <em>Step 2.4</em> above.</p>
<p><strong>STEP 3: Render the Image with POV-Ray<br />
</strong></p>
<p>If you launched POV-Ray automatically, you will already have your image.  Here we assume that you will render it manually.</p>
<div id="attachment_60" style="width: 460px" class="wp-caption alignleft"><img class="size-full wp-image-60" title="povray-screenshot-render-tutorial-1_450x433" src="http://www.brickengineer.com/pages/wp-content/uploads/2009/02/povray-screenshot-render-tutorial-1_450x433.jpg" alt="POV-Ray Screenshot" width="450" height="433" /><p class="wp-caption-text">POV-Ray Screenshot</p></div>
<p><strong><em>Step 3.1</em>:</strong> Open POV-Ray and in the <em>File Menu</em>, use <em>Open File</em> to open the .pov file that was created by L3pAO.</p>
<p><strong><em>Step 3.2</em>:</strong> Once the file is open, you can simply press the <em>Run</em> button on the upper bar.  This will create a default image, which is a 640&#215;480 .bmp bitmap image.  This is saved automatically in the same folder as your .pov file.  Here it is:</p>
<div id="attachment_61" style="width: 460px" class="wp-caption alignleft"><img class="size-full wp-image-61" title="part-zoo-1-default" src="http://www.brickengineer.com/pages/wp-content/uploads/2009/02/part-zoo-1-default.jpg" alt="Part-Zoo-1 Default image" width="450" height="338" /><p class="wp-caption-text">Part-Zoo-1 Default image</p></div>
<p>Note that the LEGO pieces are lifted up above the floor.  This is because we set their y-coordinates to be -100, which is above the floor at zero.  Remember that negative y is up.  We now look to change a few features of our render.</p>
<p><strong><em>Step 3.3</em>:</strong> If you click on the <em>Ini</em> button (to the left of <em>Run</em> above), you will go to a screen that enables you to change the size of the output image.  The <em>Section</em> field on the right has many options that include the resolution of the final image as well as whether <a title="Anti-Aliasing" href="http://en.wikipedia.org/wiki/Anti-aliasing" target="_blank">Anti-Aliasing</a> (AA) is used.  Try changing the resolution and look at the differences between anti-aliased images and non-anti-aliased images.</p>
<p>Note however, that the output images will always be saved in either .bmp or .png format.  You will have to use another program to convert them to other formats if you are interested.</p>
<p><strong><em>Step 3.4</em>: </strong>You can try playing with the commands in the .pov file.  POV-Ray acts like an editor and you can manually edit your files.  For example, there is a section near the bottom that reads:</p>
<blockquote><p>// Floor:<br />
object {<br />
plane { y, 24 hollow }<br />
texture {<br />
pigment { color rgb &lt;0.8,0.8,0.8&gt; }<br />
finish { ambient 0.4 diffuse 0.4 }<br />
}<br />
}</p></blockquote>
<p>This code controls the floor of the image.  If you delete it completely, the floor will disappear as you can see here in this image:</p>
<div id="attachment_64" style="width: 460px" class="wp-caption alignleft"><img class="size-full wp-image-64" title="part-zoo-1-no-floor" src="http://www.brickengineer.com/pages/wp-content/uploads/2009/02/part-zoo-1-no-floor.jpg" alt="Part-Zoo-1 with No Floor" width="450" height="338" /><p class="wp-caption-text">Part-Zoo-1 with No Floor</p></div>
<p><strong>Step 3.4: </strong>IF you don&#8217;t like the black background, look in the .pov file for the <em>Background</em> section:</p>
<blockquote><p>// Background:<br />
background { color rgb &lt;0,0,0&gt;}</p></blockquote>
<p>Changing the rgb (red, green, and blue) colors to &lt;0.7, 0.7, 1.0&gt;:</p>
<blockquote><p>// Background:<br />
background { color rgb &lt;0.7, 0.7, 1.0&gt;}</p></blockquote>
<p>Will give you an image with no floor and a light blue background:</p>
<div id="attachment_66" style="width: 460px" class="wp-caption alignleft"><img class="size-full wp-image-66" title="part-zoo-1-blue-background" src="http://www.brickengineer.com/pages/wp-content/uploads/2009/02/part-zoo-1-blue-background.jpg" alt="Part-Zoo-1 with a blue blackground" width="450" height="338" /><p class="wp-caption-text">Part-Zoo-1 with a blue blackground</p></div>
<p>We have explored making simple cad images in MLCad, generating a .pov file using L3PAO, and rendering a high-quality bitmap image using POV-Ray.   You should read through the .pov file and try to figure out what the different parts do.  You can change their values and re-render the image to see what impact your changes have.  Just remember that POV-Ray saves the changes on top of the original file,  so you may want to make a backup first.</p>
<p>Happy Rendering!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.brickengineer.com/pages/2009/02/15/lego-rendering-tutorial-the-basics/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MATLAB Packages for the NXT</title>
		<link>http://www.brickengineer.com/pages/2009/02/11/matlab-packages-for-the-nxt/</link>
		<comments>http://www.brickengineer.com/pages/2009/02/11/matlab-packages-for-the-nxt/#comments</comments>
		<pubDate>Wed, 11 Feb 2009 07:10:14 +0000</pubDate>
		<dc:creator><![CDATA[admin]]></dc:creator>
				<category><![CDATA[Resources]]></category>
		<category><![CDATA[Robotics]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[Bluetooth]]></category>
		<category><![CDATA[Design]]></category>
		<category><![CDATA[LEGO]]></category>
		<category><![CDATA[LEGO mindstorms]]></category>
		<category><![CDATA[MATLAB]]></category>
		<category><![CDATA[mindstorms]]></category>
		<category><![CDATA[NXT]]></category>
		<category><![CDATA[package]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[robot]]></category>
		<category><![CDATA[robots]]></category>
		<category><![CDATA[starting]]></category>

		<guid isPermaLink="false">http://www.brickengineer.com/pages/?p=45</guid>
		<description><![CDATA[There are now several MATLAB packages for robotics, and specifically for the NXT.  One paradigm is to run the code on a PC and have it communicate direct commands to the NXT Brick via Bluetooth or USB.  I have found this paradigm to be a bit dangerous since in the event of a MATLAB crash [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>There are now several MATLAB packages for robotics, and specifically for the NXT.  One paradigm is to run the code on a PC and have it communicate direct commands to the NXT Brick via Bluetooth or USB.  I have found this paradigm to be a bit dangerous since in the event of a MATLAB crash or a miscommunication, the NXT Brick will continue with its last command until ordered to stop.  This has the potential to destroy your robot.  The paradigm that I prefer to use is to write several programs that run on the brick.  These programs take commands from files on the brick that can be uploaded rapidly from the PC.  The MATLAB code then is in charge of sending the command files and starting and stopping programs.  In the event of a MATLAB crash or communication failure, the software running on the NXT Brick can be designed to terminate gracefully.</p>
<p>Here are the MATLAB packages that I know of.  The first two are specifically geared toward the NXT; whereas the last is a general robotics package.</p>
<ul>
<li>LEGO MINDSTORMS NXT Toolkit for MATLAB and Simulink<br />
<a href="http://www.mathworks.com/programs/mindstorms/" target="_blank">http://www.mathworks.com/programs/mindstorms/</a></li>
<li>Robotics Toolbox for MATLAB (Release 7.1) (P.I. Corke)<br />
<a href="http://petercorke.com/Robotics%20Toolbox.html" target="_blank">http://petercorke.com/Robotics%20Toolbox.html</a></li>
<li>RWTH Mindstorms NXT Toolbox for Matlab<br />
<a href="http://www.mindstorms.rwth-aachen.de/" target="_blank">http://www.mindstorms.rwth-aachen.de/</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.brickengineer.com/pages/2009/02/11/matlab-packages-for-the-nxt/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<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>
