<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" media="screen" href="/styles/xslt/rss.xslt"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:media="http://search.yahoo.com/mrss/" xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" xmlns:c9="http://channel9.msdn.com">
<channel>
	<title>Comment Feed for Channel 9 - Building a Windows Phone controlled Wi-Fi Gadgeteer Image Streaming Robot</title>
	<atom:link rel="self" type="application/rss+xml" href="http://channel9.msdn.com/coding4fun/blog/Building-a-Windows-Phone-controlled-Wi-Fi-Gadgeteer-Image-Streaming-Robot/RSS"></atom:link>
	<image>
		<url>http://files.channel9.msdn.com/thumbnail/b0a5fc2e-d352-4b88-9e11-b34aee2c1c04.png</url>
		<title>Channel 9 - Building a Windows Phone controlled Wi-Fi Gadgeteer Image Streaming Robot</title>
		<link></link>
	</image>
	<description>Today&#39;s Hardware Friday project is another cool project from Marco Minerva, Friend of the Blog. This project brings so many things together that it could have been called the Kitchen Sink project...  Wi-Fi Gadgeteer Robot controlled by Windows Phone with image streamingI have upgraded the .NET Gadgeteer Robot I described in the post Constructing a Bluetooth controlled Robot, replacing the Bluetooth Module with Wi-Fi and adding a camera to stream images. The result is a Robot that can be controlled by a Windows Phone application, with which it is also possible to show captured images. Let’s start seeing the new Gadgeteer application, that uses the following modules connected to a FEZ Spider Mainboard: USB ClientDP; WiFi RS21, to allow connections to the device; Multicolor LED, to indicate device status; OLED Display, to show the IP Address of the device; Motor Driver L298 to control rover movements; Camera, to capture images. You can see the result in following screenshot.     From hardware to the phone app, it&#39;s all covered, including the challenges he faced. Getting and showing image streaming, instead, require a bit more work. First, we use RestSharp, a library that simplifies the process of making requests via HTTP and processing responses in an asynchronous way. But then, we have a problem: Windows Phone doesn’t support BMP format, that is used by .NET Gadgeteer camera module. So, we need a way to load images in this format and convert them in a format that Windows Phone can handle (i.e., in PNG or JPEG). For this task, we’ll use ImageTools, that is available on http://imagetools.codeplex.com. But there is another problem: if we try to read images that come from .NET Gadgeteer camera module with ImageTools, the height property is always negative. So, the read operation causes an exception. To solve this issue, I have downloaded the source code of ImageTools and applied a little hack to the library, in order to take the positive value of height. Doing so, the image is read correctly, but it appears flipped. This is the reason for which I have applied a ScaleTransform tranformation on image object in XAML, so that it is shown in the right direction. Of course, a better approach is to modify the code that reads the bitmap, but for the moment this solution is acceptable. As always, you can find the modified version of ImageTools library in the ZIP file that comes with this article. And of course the source is available, both used inline to explain how he built it;  As well as a the complete Visual Studio Solutions (click through for the download, at the bottom of the post). If you&#39;re ready to create your own Wi-Fi networked and Windows Phone controlled robot head on over to the post, grab the projects and get building! </description>
	<link></link>
	<language>en</language>
	<pubDate>Mon, 20 May 2013 22:41:15 GMT</pubDate>
	<lastBuildDate>Mon, 20 May 2013 22:41:15 GMT</lastBuildDate>
	<generator>Rev9</generator>
	<item>
		<title>Re: Building a Windows Phone controlled Wi-Fi Gadgeteer Image Streaming Robot</title>
		<description>
			<![CDATA[<p>why don´t see you vídeo? o.O</p><p>posted by Diadevelophak</p>]]>
		</description>
		<link>http://channel9.msdn.com/coding4fun/blog/Building-a-Windows-Phone-controlled-Wi-Fi-Gadgeteer-Image-Streaming-Robot#c634802043185244340</link>
		<pubDate>Fri, 10 Aug 2012 14:05:18 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/coding4fun/blog/Building-a-Windows-Phone-controlled-Wi-Fi-Gadgeteer-Image-Streaming-Robot#c634802043185244340</guid>
		<dc:creator>Diadevelophak</dc:creator>
	</item>
	<item>
		<title>Re: Building a Windows Phone controlled Wi-Fi Gadgeteer Image Streaming Robot</title>
		<description>
			<![CDATA[<p>@<a href="/coding4fun/blog/Building-a-Windows-Phone-controlled-Wi-Fi-Gadgeteer-Image-Streaming-Robot#c634802043185244340?areaType=Blogs&amp;areaName=Coding4FunBlog">Diadevelophak</a>: I'm not sure what video you mean. The Windows Phone image above is a prototype/example of the UI, there's no video intended for that snapshot. You can see a video of it working if you click through to the full article and scroll to the bottom of the post.</p><p>posted by gduncan411</p>]]>
		</description>
		<link>http://channel9.msdn.com/coding4fun/blog/Building-a-Windows-Phone-controlled-Wi-Fi-Gadgeteer-Image-Streaming-Robot#c634802065686980150</link>
		<pubDate>Fri, 10 Aug 2012 14:42:48 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/coding4fun/blog/Building-a-Windows-Phone-controlled-Wi-Fi-Gadgeteer-Image-Streaming-Robot#c634802065686980150</guid>
		<dc:creator>gduncan411</dc:creator>
	</item>
	<item>
		<title>Re: Building a Windows Phone controlled Wi-Fi Gadgeteer Image Streaming Robot</title>
		<description>
			<![CDATA[<p>I think what Diadevelophak means is that the silverlight control isn't showing well :&nbsp;</p><p>&nbsp;</p><p>Put V code here&amp;hl=en&quot;&gt;Put V code here&amp;hl=en&quot; type=&quot;application/x-shockwave-flash&quot; wmode=&quot;transparent&quot; width=&quot;425&quot; height=&quot;355&quot;&gt;</p><p>posted by Bruuteuzius</p>]]>
		</description>
		<link>http://channel9.msdn.com/coding4fun/blog/Building-a-Windows-Phone-controlled-Wi-Fi-Gadgeteer-Image-Streaming-Robot#c634802831926170970</link>
		<pubDate>Sat, 11 Aug 2012 11:59:52 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/coding4fun/blog/Building-a-Windows-Phone-controlled-Wi-Fi-Gadgeteer-Image-Streaming-Robot#c634802831926170970</guid>
		<dc:creator>Bruuteuzius</dc:creator>
	</item>
	<item>
		<title>Re: Building a Windows Phone controlled Wi-Fi Gadgeteer Image Streaming Robot</title>
		<description>
			<![CDATA[<p>@<a href="/coding4fun/blog/Building-a-Windows-Phone-controlled-Wi-Fi-Gadgeteer-Image-Streaming-Robot#c634802831926170970?areaType=Blogs&amp;areaName=Coding4FunBlog">Bruuteuzius</a>: AHH... I see. Yeah, that was borked. Fixed. Thanks for pointing that out guys.</p><p>posted by gduncan411</p>]]>
		</description>
		<link>http://channel9.msdn.com/coding4fun/blog/Building-a-Windows-Phone-controlled-Wi-Fi-Gadgeteer-Image-Streaming-Robot#c634802975346016697</link>
		<pubDate>Sat, 11 Aug 2012 15:58:54 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/coding4fun/blog/Building-a-Windows-Phone-controlled-Wi-Fi-Gadgeteer-Image-Streaming-Robot#c634802975346016697</guid>
		<dc:creator>gduncan411</dc:creator>
	</item>
</channel>
</rss>