<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Björn Tillenius</title>
	<atom:link href="http://bjornt.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://bjornt.wordpress.com</link>
	<description>Just another WordPress.com weblog</description>
	<lastBuildDate>Tue, 29 Jul 2008 21:22:19 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<cloud domain='bjornt.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://www.gravatar.com/blavatar/3379b802f40c15b01d03d7ff740a675e?s=96&#038;d=http://s.wordpress.com/i/buttonw-com.png</url>
		<title>Björn Tillenius</title>
		<link>http://bjornt.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://bjornt.wordpress.com/osd.xml" title="Björn Tillenius" />
		<item>
		<title>Moved to http://tillenius.me/</title>
		<link>http://bjornt.wordpress.com/2008/07/30/moved-to-tilleniusme/</link>
		<comments>http://bjornt.wordpress.com/2008/07/30/moved-to-tilleniusme/#comments</comments>
		<pubDate>Tue, 29 Jul 2008 21:22:19 +0000</pubDate>
		<dc:creator>Björn Tillenius</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://bjornt.wordpress.com/?p=9</guid>
		<description><![CDATA[This blog has been moved to http://tillenius.me/. Any further posts will be done there.
       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bjornt.wordpress.com&blog=909163&post=9&subd=bjornt&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>This blog has been moved to <a href="http://tillenius.me/">http://tillenius.me/</a>. Any further posts will be done there.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/bjornt.wordpress.com/9/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/bjornt.wordpress.com/9/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/bjornt.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/bjornt.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/bjornt.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/bjornt.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/bjornt.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/bjornt.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/bjornt.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/bjornt.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/bjornt.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/bjornt.wordpress.com/9/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bjornt.wordpress.com&blog=909163&post=9&subd=bjornt&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://bjornt.wordpress.com/2008/07/30/moved-to-tilleniusme/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/635862f8c18be404d365d96723eb8df9?s=96&#38;d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">bjornt</media:title>
		</media:content>
	</item>
		<item>
		<title>Version 0.3 of garmin-sync</title>
		<link>http://bjornt.wordpress.com/2008/02/16/version-03-of-garmin-sync/</link>
		<comments>http://bjornt.wordpress.com/2008/02/16/version-03-of-garmin-sync/#comments</comments>
		<pubDate>Sat, 16 Feb 2008 12:44:28 +0000</pubDate>
		<dc:creator>Björn Tillenius</dc:creator>
				<category><![CDATA[garmin-sync]]></category>
		<category><![CDATA[garmin]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://bjornt.wordpress.com/?p=8</guid>
		<description><![CDATA[It&#8217;s been a while, but I&#8217;ve finally found some time to work on pygarmin and garmin-sync again. This has resulted in a new version of garmin-sync, 0.3. Not much has changed since 0.2; the biggest changes are in pygarmin itself. In general, this version should work better for people who had trouble getting it to [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bjornt.wordpress.com&blog=909163&post=8&subd=bjornt&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>It&#8217;s been a while, but I&#8217;ve finally found some time to work on <code>pygarmin</code> and <code>garmin-sync</code> again. This has resulted in a new version of <code>garmin-sync</code>, 0.3. Not much has changed since 0.2; the biggest changes are in <code>pygarmin</code> itself. In general, this version should work better for people who had trouble getting it to work in the past.</p>
<p>You can download it at <a HREF="https://launchpad.net/garmin-sync/+download">https://launchpad.net/garmin-sync/+download</a></p>
<p>New features include:</p>
<ul>
<li>More robust USB communication</li>
<li>Possibility to get debug information, to help fix problems</li>
<li>Might work with Forerunner (testers needed)</li>
<li> Fixed bug 135717 (Missing data point for Forerunner)</li>
<li>Fixed bug 154081 (Some value errors when running garminsync.py)</li>
</ul>
<p>I&#8217;m hoping this release will make <code>garmin-sync</code> work with the Forerunner series, and not only with Edge. If you have a Forerunner, please give it a try, and tell me whether it works.</p>
<p>If you have problem getting your GPS to work, please run <code>garmin-sync</code> with  <code>-d usb.packet</code> and send the output to me. That will help me debug what&#8217;s wrong.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/bjornt.wordpress.com/8/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/bjornt.wordpress.com/8/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/bjornt.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/bjornt.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/bjornt.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/bjornt.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/bjornt.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/bjornt.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/bjornt.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/bjornt.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/bjornt.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/bjornt.wordpress.com/8/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bjornt.wordpress.com&blog=909163&post=8&subd=bjornt&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://bjornt.wordpress.com/2008/02/16/version-03-of-garmin-sync/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/635862f8c18be404d365d96723eb8df9?s=96&#38;d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">bjornt</media:title>
		</media:content>
	</item>
		<item>
		<title>Version 0.2 of GarminSync is released</title>
		<link>http://bjornt.wordpress.com/2007/08/07/version-02-of-garminsync-is-released/</link>
		<comments>http://bjornt.wordpress.com/2007/08/07/version-02-of-garminsync-is-released/#comments</comments>
		<pubDate>Tue, 07 Aug 2007 19:29:58 +0000</pubDate>
		<dc:creator>Björn Tillenius</dc:creator>
				<category><![CDATA[garmin]]></category>
		<category><![CDATA[garmin-sync]]></category>

		<guid isPermaLink="false">http://bjornt.wordpress.com/2007/08/07/version-02-of-garminsync-is-released/</guid>
		<description><![CDATA[The first version of GarminSync didn&#8217;t work too well. It did download the runs from the GPS, but the resulting .tcx files were not valid, so they couldn&#8217;t be uploaded to motionbased.com. Also, if there were pauses in the run, some track points weren&#8217;t included in the exported. I&#8217;ve now fixed all the issues, and [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bjornt.wordpress.com&blog=909163&post=7&subd=bjornt&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>The first version of GarminSync didn&#8217;t work too well. It did download the runs from the GPS, but the resulting .tcx files were not valid, so they couldn&#8217;t be uploaded to motionbased.com. Also, if there were pauses in the run, some track points weren&#8217;t included in the exported. I&#8217;ve now fixed all the issues, and I&#8217;ve managed to upload all my recorded runs to motionbased.com.</p>
<p><a HREF="https://launchpad.net/garmin-sync/+download">Download 0.2 of GarminSync</a> and give it a try. It still has some bugs, but it should be usable. If you find something that doesn&#8217;t work, you can <a HREF="https://bugs.launchpad.net/garmin-sync/+filebug">file a bug</a>, and I&#8217;ll try to fix it.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/bjornt.wordpress.com/7/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/bjornt.wordpress.com/7/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/bjornt.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/bjornt.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/bjornt.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/bjornt.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/bjornt.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/bjornt.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/bjornt.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/bjornt.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/bjornt.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/bjornt.wordpress.com/7/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bjornt.wordpress.com&blog=909163&post=7&subd=bjornt&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://bjornt.wordpress.com/2007/08/07/version-02-of-garminsync-is-released/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/635862f8c18be404d365d96723eb8df9?s=96&#38;d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">bjornt</media:title>
		</media:content>
	</item>
		<item>
		<title>First release of GarminSync</title>
		<link>http://bjornt.wordpress.com/2007/07/14/first-release-of-garminsync/</link>
		<comments>http://bjornt.wordpress.com/2007/07/14/first-release-of-garminsync/#comments</comments>
		<pubDate>Sat, 14 Jul 2007 20:26:15 +0000</pubDate>
		<dc:creator>Björn Tillenius</dc:creator>
				<category><![CDATA[garmin]]></category>
		<category><![CDATA[garmin-sync]]></category>
		<category><![CDATA[launchpad]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[python]]></category>

		<guid isPermaLink="false">http://bjornt.wordpress.com/2007/07/14/first-release-of-garminsync/</guid>
		<description><![CDATA[I have been working on a program that can download data from my Garmin Edge 305 GPS in Linux, and now I&#8217;ve finally got something that&#8217;s work. The program is called GarminSync, and you can download it from Launchpad.
Please try it out, but don&#8217;t expect too much from it. My main focus has been to [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bjornt.wordpress.com&blog=909163&post=6&subd=bjornt&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>I have been working on a program that can download data from my Garmin Edge 305 GPS in Linux, and now I&#8217;ve finally got something that&#8217;s work. The program is called <a HREF="https://launchpad.net/garmin-sync">GarminSync</a>, and you can <a HREF="https://launchpad.net/garmin-sync/+download">download it from Launchpad</a>.</p>
<p>Please try it out, but don&#8217;t expect too much from it. My main focus has been to get something working, now I&#8217;m going to focus more on getting it somewhat stable. There are a tons of bugs, for example it sometimes doesn&#8217;t work to download the data, and you have to simply try to run it again, and/or reconnect the GPS. But at least it&#8217;s able to download the runs from my GPS and export them to TCX files. It should be possible to such files to <a HREF="http://motionbased.com/">MotionBased</a>, but it seems like the format is slightly wrong. At the moment I can&#8217;t get the GPS to work in VMWare, so I haven&#8217;t been able to get a correct file to compare with.</p>
<p>GarminSync is written in Python, so it probably works on other platforms than Linux as well, but I haven&#8217;t tried yet.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/bjornt.wordpress.com/6/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/bjornt.wordpress.com/6/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/bjornt.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/bjornt.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/bjornt.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/bjornt.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/bjornt.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/bjornt.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/bjornt.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/bjornt.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/bjornt.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/bjornt.wordpress.com/6/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bjornt.wordpress.com&blog=909163&post=6&subd=bjornt&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://bjornt.wordpress.com/2007/07/14/first-release-of-garminsync/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/635862f8c18be404d365d96723eb8df9?s=96&#38;d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">bjornt</media:title>
		</media:content>
	</item>
		<item>
		<title>USB support in pygarmin</title>
		<link>http://bjornt.wordpress.com/2007/07/08/usb-support-in-pygarmin/</link>
		<comments>http://bjornt.wordpress.com/2007/07/08/usb-support-in-pygarmin/#comments</comments>
		<pubDate>Sun, 08 Jul 2007 11:51:27 +0000</pubDate>
		<dc:creator>Björn Tillenius</dc:creator>
				<category><![CDATA[garmin]]></category>
		<category><![CDATA[python]]></category>

		<guid isPermaLink="false">http://bjornt.wordpress.com/2007/07/08/usb-support-in-pygarmin/</guid>
		<description><![CDATA[While extending pygarmin to support my Garmin Edge 305, I ran into a problem; pygarmin uses the serial protocol, and some packets that the Edge sends are too big for the serial protocol to handle. So when you request some information from the GPS, you don&#8217;t get any response back. The solution to this was [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bjornt.wordpress.com&blog=909163&post=5&subd=bjornt&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>While extending <a HREF="http://pygarmin.sourceforge.net">pygarmin</a> to support my Garmin Edge 305, I ran into a problem; pygarmin uses the serial protocol, and some packets that the Edge sends are too big for the serial protocol to handle. So when you request some information from the GPS, you don&#8217;t get any response back. The solution to this was to add native USB support to pygarmin, making it possible to use the USB protocol to talk to the GPS.</p>
<p>This turned out to be a quite fun task, actually, <a HREF="http://pyusb.berlios.de">pyusb</a> makes it easy to communicate to USB devices using Python. Of course it wasn&#8217;t entirely trivial, since the Garmin protocol specification seems to be out of date, so not everything the Edge 305 does is documented. But last night I finally managed to get something working, I can now specify <code>"usb:"</code> as the device to use, so that the USB protocol will be used instead of the serial one. It actually seems to work quite well, although there are some bugs still.</p>
<p>For those of you brave enough, I&#8217;d love to get feedback whether it works for you, especially if you have some other Garmin GPS than the Edge 305. You can test it by getting <a HREF="https://code.launchpad.net/~bjornt/pygarmin/edge-305">my edge-305 branch</a> of pygarmin and try the following (which should write out some information about your GPS):</p>
<p><code STYLE="margin-left: 2em">./pygarmin -p "usb:"</code></p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/bjornt.wordpress.com/5/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/bjornt.wordpress.com/5/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/bjornt.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/bjornt.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/bjornt.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/bjornt.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/bjornt.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/bjornt.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/bjornt.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/bjornt.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/bjornt.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/bjornt.wordpress.com/5/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bjornt.wordpress.com&blog=909163&post=5&subd=bjornt&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://bjornt.wordpress.com/2007/07/08/usb-support-in-pygarmin/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/635862f8c18be404d365d96723eb8df9?s=96&#38;d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">bjornt</media:title>
		</media:content>
	</item>
		<item>
		<title>Using Launchpad to contribute to projects</title>
		<link>http://bjornt.wordpress.com/2007/07/08/using-launchpad-to-contribute-to-projects/</link>
		<comments>http://bjornt.wordpress.com/2007/07/08/using-launchpad-to-contribute-to-projects/#comments</comments>
		<pubDate>Sun, 08 Jul 2007 10:55:00 +0000</pubDate>
		<dc:creator>Björn Tillenius</dc:creator>
				<category><![CDATA[bazaar]]></category>
		<category><![CDATA[garmin]]></category>
		<category><![CDATA[launchpad]]></category>

		<guid isPermaLink="false">http://bjornt.wordpress.com/2007/07/08/using-launchpad-to-contribute-to-projects/</guid>
		<description><![CDATA[While modifying pygarmin to support my Edge 305, I was faced with the problem how to submit my patches to be included in pygarmin; I don&#8217;t have commit access, so I can&#8217;t commit the changes myself. One way of doing it is of course to generate a diff, and attach a patch to their patch [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bjornt.wordpress.com&blog=909163&post=4&subd=bjornt&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>While modifying <a HREF="http://pygarmin.sourceforge.net/">pygarmin</a> to support my Edge 305, I was faced with the problem how to submit my patches to be included in pygarmin; I don&#8217;t have commit access, so I can&#8217;t commit the changes myself. One way of doing it is of course to generate a diff, and attach a patch to their patch tracker. That has some problems, though, especially since I want to submit a series of patches. The main problem is how to get people to try out the patches. They would have to apply each patch to their version of the source code, and some patches might not apply cleanly after a while.</p>
<p>So, instead of submitting patches to their patch tracker, I make use of <a HREF="https://launchpad.net/">Launchpad</a>. It has a nice feature that you can import the project&#8217;s source code and make it available as a <a HREF="http://bazaar-vcs.org/">bazaar</a> branch. By importing the code, I can subscribe to <a HREF="https://code.launchpad.net/~vcs-imports/pygarmin/trunk">pygarmin&#8217;s main branch</a> in Launchpad, and get an e-mail notification when someone commits to the branch. But more importantly, I can now easily create a new branch to add support for my Garmin Edge 305:</p>
<p><code STYLE="margin-left: 2em">bettan:~&gt; bzr branch lp:pygarmin edge-305</code><br />
<code STYLE="margin-left: 2em">Branched 82 revision(s).</code></p>
<p>Now I can hack on pygarmin and keep my changes versioned in bazaar, making it easier to keep my patches up-to-date. If code get commited to the trunk branch, I can simply merge and resolve the conflicts:</p>
<p><code STYLE="margin-left: 2em">bettan:~/edge-305&gt; bzr merge lp:pygarmin</code></p>
<p>The next thing I want to do is to publish my changes, so that other people can look at them. I do this by pushing my branch to Launchpad:</p>
<p><code STYLE="margin-left: 2em">bzr</code> <code>push</code> bzr+ssh://bjornt@bazaar.launchpad.net/~bjornt/pygarmin/edge-305</p>
<p>After doing this, the first time, the branch gets registered in Launchpad automatically, and the branch shows up under &#8220;Latest code&#8221; on the pygarmin page. People can now look and subscribe to <a HREF="https://code.launchpad.net/~bjornt/pygarmin/edge-305">my branch</a> to see what changes I make. They can also choose &#8220;Browse code&#8221; to <a HREF="http://codebrowse.launchpad.net/~bjornt/pygarmin/edge-305/changes">see the code, and see the diff</a> of each revision I commit.</p>
<p>If I want someone to try out my changes, I can tell them to get my branch from Launchpad:</p>
<p><code STYLE="margin-left: 2em">bzr</code> <code>branch</code> <code>http://bazaar.launchpad.net/~bjornt/pygarmin/edge-305</code></p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/bjornt.wordpress.com/4/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/bjornt.wordpress.com/4/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/bjornt.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/bjornt.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/bjornt.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/bjornt.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/bjornt.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/bjornt.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/bjornt.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/bjornt.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/bjornt.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/bjornt.wordpress.com/4/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bjornt.wordpress.com&blog=909163&post=4&subd=bjornt&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://bjornt.wordpress.com/2007/07/08/using-launchpad-to-contribute-to-projects/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/635862f8c18be404d365d96723eb8df9?s=96&#38;d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">bjornt</media:title>
		</media:content>
	</item>
		<item>
		<title>Linux support for Garmin Edge 305</title>
		<link>http://bjornt.wordpress.com/2007/03/24/linux-support-for-garmin-edge-305/</link>
		<comments>http://bjornt.wordpress.com/2007/03/24/linux-support-for-garmin-edge-305/#comments</comments>
		<pubDate>Sat, 24 Mar 2007 14:56:15 +0000</pubDate>
		<dc:creator>Björn Tillenius</dc:creator>
				<category><![CDATA[garmin]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://bjornt.wordpress.com/2007/03/24/linux-support-for-garmin-edge-305/</guid>
		<description><![CDATA[I recently bought a new gadget for my bike, a Garmin Edge 305. It&#8217;s a GPS-enabled bicycle computer, which tracks your position, speed, pulse, altitude, etc., and you can of course download the data to your computer and analyse it. You can also upload data to it, for example workout programs, courses, and more.
The sad thing is that its Linux support is currently limited. [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bjornt.wordpress.com&blog=909163&post=3&subd=bjornt&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>I recently bought a new gadget for my bike, a <a HREF="http://www.garmin.com/products/edge305/">Garmin Edge 305</a>. It&#8217;s a GPS-enabled bicycle computer, which tracks your position, speed, pulse, altitude, etc., and you can of course download the data to your computer and analyse it. You can also upload data to it, for example workout programs, courses, and more.</p>
<p>The sad thing is that its Linux support is currently limited. Tools such <a HREF="http://www.gpsbabel.org">gpsbabel</a> and <a HREF="http://www.ncc.up.pt/gpsman/">gpsman</a> claim to support the device, but I haven&#8217;t gotten it to work yet. Also, those tools are mainly for extracting GPS data, they don&#8217;t handle other data, such as pulse and laps that well.</p>
<p>But there is hope! I found a project called <a HREF="http://sourceforge.net/projects/pygarmin/">pygarmin</a> which is a Python library for communicating with Garmin GPS devices. The library is based on <a HREF="http://www.garmin.com/support/commProtocol.html">Garmin&#8217;s Device Interface SDK</a>, so it shouldn&#8217;t be too hard to make it support my GPS device. The protocol specification doesn&#8217;t seem to include all the commands that the Edge uses, but there&#8217;s an open source tool for Windows, <a HREF="http://sourceforge.net/projects/motionbased/">MotionBased Agent</a>, which should be able to download and upload data to a Garmin Edge 305, so it should be possible to find out what needs to be added to pygarmin.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/bjornt.wordpress.com/3/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/bjornt.wordpress.com/3/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/bjornt.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/bjornt.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/bjornt.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/bjornt.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/bjornt.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/bjornt.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/bjornt.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/bjornt.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/bjornt.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/bjornt.wordpress.com/3/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bjornt.wordpress.com&blog=909163&post=3&subd=bjornt&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://bjornt.wordpress.com/2007/03/24/linux-support-for-garmin-edge-305/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/635862f8c18be404d365d96723eb8df9?s=96&#38;d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">bjornt</media:title>
		</media:content>
	</item>
	</channel>
</rss>