<?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>UnixWars &#187; skybot</title>
	<atom:link href="http://unixwars.com/tag/skybot/feed/" rel="self" type="application/rss+xml" />
	<link>http://unixwars.com</link>
	<description>Taher Shihadeh's ragbag</description>
	<lastBuildDate>Sat, 03 Jul 2010 14:09:34 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Wiilson: Wii-Skybot extreme (Skybot + Wii + PWM)</title>
		<link>http://unixwars.com/2008/05/22/wiilson-wii-skybot-extreme-skybot-wii-pwm/</link>
		<comments>http://unixwars.com/2008/05/22/wiilson-wii-skybot-extreme-skybot-wii-pwm/#comments</comments>
		<pubDate>Wed, 21 May 2008 23:37:54 +0000</pubDate>
		<dc:creator>Taher Shihadeh</dc:creator>
				<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Projects]]></category>
		<category><![CDATA[Python]]></category>
		<category><![CDATA[Robotics]]></category>
		<category><![CDATA[skybot]]></category>
		<category><![CDATA[skypic]]></category>
		<category><![CDATA[Wiimote]]></category>

		<guid isPermaLink="false">http://unixwars.com/?p=99</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[<p>A couple of days ago I mentioned this in the post about <a href="http://unixwars.com/2008/05/19/skybot-take-two-extending-libstargate/">extending libStargate</a> for a class assignment we had. The team was formed by Miguel, Gonzalo and myself, and we received a pretty good grade, by the way. I wanted to write again after having some patches sent to the main author of libStargate by the end of this week, but it turns out I won&#8217;t be able to properly test them until after that. Since a lot of friends have been having problems with their own projects, ours is going to be temporarily cannibalized until their time is up. Wish them luck! ;)</p>
<p>Anyway, I&#8217;ll post again once  I have the things properly tested and I&#8217;ve spoken to the people of <a href="http://iearobotics.com/">IEArobotics</a>. For now, here is the link to <a href="http://unixwars.com/download/wiilson.tgz">download Wiilson</a> if you want to try it out.</p>
<p>As mentioned earlier, it is just a PWM Wiimote implementation to control a Skybot. The Wiimote is interfaced thanks to the excellent <a href="http://www.iearobotics.com/wiki/index.php?title=Pywii">pywii</a> library, Orienting the Wiimote makes the bot move and it goes faster or slower depending on the inclination of the controller. Changing from mode &#8216;A&#8217; to &#8216;B&#8217; (or &#8217;1&#8242; to &#8217;2&#8242;) overrides this behavior and controls the bot with the direction keys of the Wiimote, being able to alter speeds with the &#8216;Plus&#8217; and &#8216;Minus&#8217; buttons. It&#8217;s not pretty, but it is a quick hack and works fine. If you want something better you&#8217;ll have to wait for the release of <em><strong><a href="http://unixwars.com/download/pybot/pybot.html">pybot</a>,</strong></em> a Python module to control (extended) libStargate managed robots with PWM support. The only class present right now is to control the Skybot as it is out of the box, so PWM support is software based -you&#8217;d have to rewire it if you wanted a hardware version of this, much better but totally out of the scope-.</p>
<p>Coming up soon, at least as soon as our bot gets de-cannibalized if that is even a word!</p>
<p>By the way&#8230; I think I&#8217;m getting to love this stuff. I&#8217;ll have to buy a Skypic or Arduino for myself. You can&#8217;t ever play around enough with these things. And to think it was always there and I never knew!</p>
]]></content:encoded>
			<wfw:commentRss>http://unixwars.com/2008/05/22/wiilson-wii-skybot-extreme-skybot-wii-pwm/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Skybot, take two: extending libStargate</title>
		<link>http://unixwars.com/2008/05/19/skybot-take-two-extending-libstargate/</link>
		<comments>http://unixwars.com/2008/05/19/skybot-take-two-extending-libstargate/#comments</comments>
		<pubDate>Sun, 18 May 2008 23:22:09 +0000</pubDate>
		<dc:creator>Taher Shihadeh</dc:creator>
				<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Projects]]></category>
		<category><![CDATA[Python]]></category>
		<category><![CDATA[Robotics]]></category>
		<category><![CDATA[skybot]]></category>
		<category><![CDATA[skypic]]></category>
		<category><![CDATA[Wiimote]]></category>

		<guid isPermaLink="false">http://unixwars.com/?p=85</guid>
		<description><![CDATA[In a previous post I mentioned that we would be playing around with a bot project to interface our Skypic board and the Wiimote as an assignment in class. Hacking these things has been fairly easy thanks to some pretty handy pieces of software we stumbled upon at IeaRobotics and a bit of Python magic. [...]]]></description>
			<content:encoded><![CDATA[<p>In a <a href="http://unixwars.com/2008/03/26/robotics-101-and-the-wiimote-experience/">previous post</a> I mentioned that we would be playing around with a bot project to interface our Skypic board and the <a href="http://en.wikipedia.org/wiki/Wii_Remote">Wiimote</a> as an assignment in class.</p>
<p>Hacking these things has been fairly easy thanks to some pretty handy pieces of software we stumbled upon at <a href="http://www.iearobotics.com">IeaRobotics</a> and a bit of Python magic. The tools of the trade were <a href="http://www.iearobotics.com/wiki/index.php?title=Pydownloader">Pydownloader</a> to program the Skypic, <a href="http://www.iearobotics.com/wiki/index.php?title=Stargate  ">libStargate </a>to interface the PC and the bot, and finally <a href="http://www.iearobotics.com/wiki/index.php?title=Pywii">Pywii</a>, a wonderful Wiimote library.</p>
<p>We ended up implementing a new server for the Skypic that should enable a smooth control of the acceleration applied to the Skybot in response to the Wiimote&#8217;s movements. To handle it we had to extend libStargate. Our job wasn&#8217;t particularly hard to do, but up until now you only had the chance of applying an all-or-nothing type of movement. Now the acceleration is proportional to the pitch and roll values of the controller. Since the controlling code is in the PIC instead of the computer, the effect is really smooth.</p>
<p>The bot has dual power. 6V for the Skypic and 9V for the servos. If only we had used 12V for these the effect would be nicer yet, but overall its fine.</p>
<p>I&#8217;ll clean the code a bit before submitting the patches to the project&#8217;s author, and I hope to have it ready and submitted this week along with a new wrapper class around libStargate to control specifically the SkyBots with <a href="http://en.wikipedia.org/wiki/Pulse-width_modulation">PWM</a> capabilities. It is called pySkybot, by the way.</p>
]]></content:encoded>
			<wfw:commentRss>http://unixwars.com/2008/05/19/skybot-take-two-extending-libstargate/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
