<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<id>tag:old.nabble.com,2006:forum-2015</id>
	<title>Nabble - GPS</title>
	<updated>2009-12-05T00:05:04Z</updated>
	<link rel="self" type="application/atom+xml" href="http://old.nabble.com/GPS-f2015.xml" />
	<link rel="alternate" type="text/html" href="http://old.nabble.com/GPS-f2015.html" />
	<subtitle type="html">GPS - Global Positioning System.</subtitle>
	
<entry>
	<id>tag:old.nabble.com,2006:post-26653648</id>
	<title>new gps report</title>
	<published>2009-12-05T00:05:04Z</published>
	<updated>2009-12-05T00:05:04Z</updated>
	<author>
		<name>HTTP Server</name>
	</author>
	<content type="html">Remote: 85.23.163.220:34394
&lt;br&gt;&lt;br&gt;[LD-4W]
&lt;br&gt;type = device
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; chipset = SiRF-3
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; date = 5 Dec 2009
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; location = Oulu, FI, 65N 25E
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; model = LD-4W
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; noconfigure = yes
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; notes = I first tried gpsd package from Ubuntu 9.10, which broke device on probe. Luckily this device has 'reset' function by pressing power button for 10 sec. Then I recompiled gpsd with only support for Generic NMEA and SiRF binary and with fixed speed (--enable-fixed-port-speed=9600). Now device works in sirf mode, and doesn't break on probe.
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; packaging = mouse
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; rating = fair
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; submitter = &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26653648&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jussi.kivilinna@...&lt;/a&gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; techdoc = &lt;a href=&quot;http://europe.nokia.com/find-products/accessories/all-accessories/navigation/gps-modules/ld-4w&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://europe.nokia.com/find-products/accessories/all-accessories/navigation/gps-modules/ld-4w&lt;/a&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; tested = 2.39
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; vendor = Nokia
&lt;br&gt;&lt;br /&gt; &lt;br /&gt;_______________________________________________
&lt;br&gt;Gpsd-dev mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26653648&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Gpsd-dev@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.berlios.de/mailman/listinfo/gpsd-dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.berlios.de/mailman/listinfo/gpsd-dev&lt;/a&gt;&lt;br&gt;&lt;div class=&quot;small&quot;&gt;&lt;br/&gt;&lt;img src=&quot;http://old.nabble.com/images/icon_attachment.gif&quot; &gt; &lt;strong&gt;sample.bin&lt;/strong&gt; (15K) &lt;a href=&quot;http://old.nabble.com/attachment/26653648/0/sample.bin&quot; target=&quot;_top&quot;&gt;Download Attachment&lt;/a&gt;&lt;/div&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/GPSd---Dev-f2021.html&quot; embed=&quot;fixTarget[2021]&quot; target=&quot;_top&quot; &gt;GPSd - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/new-gps-report-tp26653648p26653648.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26653370</id>
	<title>Re: [esr at BerliOS] [Gpsd-commit-watch] r6710 - trunk</title>
	<published>2009-12-04T22:49:38Z</published>
	<updated>2009-12-04T22:49:38Z</updated>
	<author>
		<name>Eric S. Raymond-2</name>
	</author>
	<content type="html">Greg Troxel &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26653370&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;gdt@...&lt;/a&gt;&amp;gt;:
&lt;br&gt;&amp;gt; &amp;gt; 1. Once on the bu-303 atltitude calculation under i386 only.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; no, also on NetBSD/amd64, but differently.
&lt;br&gt;&lt;br&gt;Noted in the TODO.
&lt;br&gt;-- 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;a href=&amp;quot;&lt;a href=&quot;http://www.catb.org/~esr/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.catb.org/~esr/&lt;/a&gt;&amp;quot;&amp;gt;Eric S. Raymond&amp;lt;/a&amp;gt;
&lt;br&gt;&lt;br /&gt; &lt;br /&gt;_______________________________________________
&lt;br&gt;Gpsd-dev mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26653370&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Gpsd-dev@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.berlios.de/mailman/listinfo/gpsd-dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.berlios.de/mailman/listinfo/gpsd-dev&lt;/a&gt;&lt;br&gt;&lt;div class=&quot;small&quot;&gt;&lt;br/&gt;&lt;img src=&quot;http://old.nabble.com/images/icon_attachment.gif&quot; &gt; &lt;strong&gt;signature.asc&lt;/strong&gt; (196 bytes) &lt;a href=&quot;http://old.nabble.com/attachment/26653370/0/signature.asc&quot; target=&quot;_top&quot;&gt;Download Attachment&lt;/a&gt;&lt;/div&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/GPSd---Dev-f2021.html&quot; embed=&quot;fixTarget[2021]&quot; target=&quot;_top&quot; &gt;GPSd - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-esr-at-BerliOS---Gpsd-commit-watch--r6710---trunk-tp26649016p26653370.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26653360</id>
	<title>Re: sin/cos issues</title>
	<published>2009-12-04T22:48:27Z</published>
	<updated>2009-12-04T22:48:27Z</updated>
	<author>
		<name>Eric S. Raymond-2</name>
	</author>
	<content type="html">Michael R. Davis &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26653360&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;mrdvt92@...&lt;/a&gt;&amp;gt;:
&lt;br&gt;&amp;gt; We do not need to re-invent the wheel. &amp;nbsp;The official US Government function for calculating earth distances is called INVERSE. &lt;a href=&quot;http://www.ngs.noaa.gov/TOOLS/Inv_Fwd/Inv_Fwd.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.ngs.noaa.gov/TOOLS/Inv_Fwd/Inv_Fwd.html&lt;/a&gt;&amp;nbsp;=&amp;gt; &lt;a href=&quot;http://www.ngs.noaa.gov/PC_PROD/Inv_Fwd/source/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.ngs.noaa.gov/PC_PROD/Inv_Fwd/source/&lt;/a&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; This public domain Fortran code has all of the algorithm switching logic built in.
&lt;br&gt;&lt;br&gt;I think we have a winner. &amp;nbsp;We're not likely to do better on technical grounds,
&lt;br&gt;and I like the idea of being able to document that we're using the same
&lt;br&gt;algorithm the U.S. Government's geodesists do.
&lt;br&gt;&lt;br&gt;Somebody with domain expertise (Chris?, Hakan?) please step up to the task
&lt;br&gt;of finding a C implementation or translating the Fortran for our use. &amp;nbsp;I'm
&lt;br&gt;putting this one in the TODO.
&lt;br&gt;-- 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;a href=&amp;quot;&lt;a href=&quot;http://www.catb.org/~esr/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.catb.org/~esr/&lt;/a&gt;&amp;quot;&amp;gt;Eric S. Raymond&amp;lt;/a&amp;gt;
&lt;br&gt;_______________________________________________
&lt;br&gt;Gpsd-dev mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26653360&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Gpsd-dev@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.berlios.de/mailman/listinfo/gpsd-dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.berlios.de/mailman/listinfo/gpsd-dev&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/GPSd---Dev-f2021.html&quot; embed=&quot;fixTarget[2021]&quot; target=&quot;_top&quot; &gt;GPSd - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/sin-cos-issues-tp26643202p26653360.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26653349</id>
	<title>Re: regression failures</title>
	<published>2009-12-04T22:41:21Z</published>
	<updated>2009-12-04T22:41:21Z</updated>
	<author>
		<name>Eric S. Raymond-2</name>
	</author>
	<content type="html">Greg Troxel &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26653349&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;gdt@...&lt;/a&gt;&amp;gt;:
&lt;div class='shrinkable-quote'&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; netbsd-5/sparc64 is down to two failures:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp; bu303-nofix has different altitudes from the checked in &amp;quot;right
&lt;br&gt;&amp;gt; &amp;nbsp; answer&amp;quot;. &amp;nbsp;It matches what I get on netbsd-5/amd64. &amp;nbsp;I also get a
&lt;br&gt;&amp;gt; &amp;nbsp; failure on this test on linux/i386, but with a different answer.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp; superstar2 output is totally missing. &amp;nbsp;Running just that by hand, I
&lt;br&gt;&amp;gt; &amp;nbsp; think gpsd is failing to ever detect a packet in the dump. &amp;nbsp;Almost
&lt;br&gt;&amp;gt; &amp;nbsp; surely this is an endian issue. &amp;nbsp;Has anyone else run on a big-endian
&lt;br&gt;&amp;gt; &amp;nbsp; machine? &amp;nbsp;Fire up those old PPC macs!
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; The output is too big for the list, and is at:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp; &lt;a href=&quot;http://www.lexort.com/gpsd/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.lexort.com/gpsd/&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;I'm adding this to TODO so it won't get lost.
&lt;br&gt;-- 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;a href=&amp;quot;&lt;a href=&quot;http://www.catb.org/~esr/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.catb.org/~esr/&lt;/a&gt;&amp;quot;&amp;gt;Eric S. Raymond&amp;lt;/a&amp;gt;
&lt;br&gt;&lt;br /&gt; &lt;br /&gt;_______________________________________________
&lt;br&gt;Gpsd-dev mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26653349&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Gpsd-dev@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.berlios.de/mailman/listinfo/gpsd-dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.berlios.de/mailman/listinfo/gpsd-dev&lt;/a&gt;&lt;br&gt;&lt;div class=&quot;small&quot;&gt;&lt;br/&gt;&lt;img src=&quot;http://old.nabble.com/images/icon_attachment.gif&quot; &gt; &lt;strong&gt;signature.asc&lt;/strong&gt; (196 bytes) &lt;a href=&quot;http://old.nabble.com/attachment/26653349/0/signature.asc&quot; target=&quot;_top&quot;&gt;Download Attachment&lt;/a&gt;&lt;/div&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/GPSd---Dev-f2021.html&quot; embed=&quot;fixTarget[2021]&quot; target=&quot;_top&quot; &gt;GPSd - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Progress-towards-the-2.90-release-tp26624082p26653349.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26652077</id>
	<title>?Suppress “GPS device” string as &lt;Document&gt;&lt;Name&gt; in KML?</title>
	<published>2009-12-04T17:31:19Z</published>
	<updated>2009-12-04T17:31:19Z</updated>
	<author>
		<name>Jelf</name>
	</author>
	<content type="html">I’m using version 1.3.6 to convert GPX files to KML with the default settings. &amp;nbsp;The start of the resulting KML file looks like:
&lt;br&gt;&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot; ?&amp;gt; 
&lt;br&gt;- &amp;lt;kml xmlns=&amp;quot;&lt;a href=&quot;http://earth.google.com/kml/2.1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://earth.google.com/kml/2.1&lt;/a&gt;&amp;quot; xmlns:xsi=&amp;quot;&lt;a href=&quot;http://www.w3.org/2001/XMLSchema-instance&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.w3.org/2001/XMLSchema-instance&lt;/a&gt;&amp;quot;&amp;gt;
&lt;br&gt;- &amp;lt;Document&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;lt;name&amp;gt;&lt;b&gt;GPS device&lt;/b&gt;&amp;lt;/name&amp;gt; 
&lt;br&gt;&lt;br&gt;Is there an option to tell GPSBabel to leave the &amp;lt;Document&amp;gt;&amp;lt;name&amp;gt; element blank in the KML output file? &amp;nbsp;I looked through the documentation and I did not see any option for this purpose.
&lt;br&gt;&lt;br&gt;I have an app that uses these KML files to produce a map. &amp;nbsp;Anything in the &amp;lt;Document&amp;gt;&amp;lt;name&amp;gt; element is displayed on the map as a caption. &amp;nbsp;Right now the phrase “GPS device” is showing up on my map as a caption.
&lt;br&gt;&lt;br&gt;For now I will write more php to read the kml file, erase this bit, and re-write the file. &amp;nbsp;But if I could tell GPSBabel to just leave the &amp;lt;Document&amp;gt;&amp;lt;name&amp;gt; element blank, then my app would run faster.&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/GPSBabel---General-f2019.html&quot; embed=&quot;fixTarget[2019]&quot; target=&quot;_top&quot; &gt;GPSBabel - General&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-Suppress-%E2%80%9CGPS-device%E2%80%9D-string-as-%3CDocument%3E%3CName%3E-in-KML--tp26652077p26652077.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26652075</id>
	<title>Timestamps on fix data</title>
	<published>2009-12-04T16:58:59Z</published>
	<updated>2009-12-04T16:58:59Z</updated>
	<author>
		<name>David Severt</name>
	</author>
	<content type="html">I'm using gpsd with a Trimble Resolution SMT starter kit. &amp;nbsp;If I connect 
&lt;br&gt;to gpsd and send &amp;quot;w+&amp;quot; to get raw data, the &amp;quot;O&amp;quot; type messages returned 
&lt;br&gt;never have a valid timestamp. &amp;nbsp;The &amp;quot;Y&amp;quot; type messages do have a valid 
&lt;br&gt;timestamp. &amp;nbsp;Is this normal? &amp;nbsp;Also, if I turn off raw mode and send &amp;quot;d&amp;quot; 
&lt;br&gt;to gpsd, I usually get &amp;quot;GPSD,D=?&amp;quot; back in response. &amp;nbsp;However, it does 
&lt;br&gt;sometimes return a date/time if I keep doing the &amp;quot;d&amp;quot; command. &amp;nbsp;Is this 
&lt;br&gt;also normal or is gpsd acting funny with Trimble/TSIP?
&lt;br&gt;&lt;br&gt;David
&lt;br&gt;_______________________________________________
&lt;br&gt;Gpsd-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26652075&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Gpsd-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.berlios.de/mailman/listinfo/gpsd-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.berlios.de/mailman/listinfo/gpsd-users&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/GPSd---Users-f2022.html&quot; embed=&quot;fixTarget[2022]&quot; target=&quot;_top&quot; &gt;GPSd - Users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Timestamps-on-fix-data-tp26652075p26652075.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26651175</id>
	<title>Re: sin/cos issues</title>
	<published>2009-12-04T15:48:33Z</published>
	<updated>2009-12-04T15:48:33Z</updated>
	<author>
		<name>Michael R. Davis</name>
	</author>
	<content type="html">GPSD Folks,
&lt;br&gt;&lt;br&gt;&amp;gt; For such small distances it should be much better to just
&lt;br&gt;&amp;gt; use Pythagoras directly, i.e. evaluate
&lt;br&gt;&lt;br&gt;We do not need to re-invent the wheel. &amp;nbsp;The official US Government function for calculating earth distances is called INVERSE. &lt;a href=&quot;http://www.ngs.noaa.gov/TOOLS/Inv_Fwd/Inv_Fwd.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.ngs.noaa.gov/TOOLS/Inv_Fwd/Inv_Fwd.html&lt;/a&gt;&amp;nbsp;=&amp;gt; &lt;a href=&quot;http://www.ngs.noaa.gov/PC_PROD/Inv_Fwd/source/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.ngs.noaa.gov/PC_PROD/Inv_Fwd/source/&lt;/a&gt;&lt;br&gt;&lt;br&gt;This public domain Fortran code has all of the algorithm switching logic built in.
&lt;br&gt;&lt;br&gt;Mike
&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;_______________________________________________
&lt;br&gt;Gpsd-dev mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26651175&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Gpsd-dev@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.berlios.de/mailman/listinfo/gpsd-dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.berlios.de/mailman/listinfo/gpsd-dev&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/GPSd---Dev-f2021.html&quot; embed=&quot;fixTarget[2021]&quot; target=&quot;_top&quot; &gt;GPSd - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/sin-cos-issues-tp26643202p26651175.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26650969</id>
	<title>Re: regression failures</title>
	<published>2009-12-04T15:34:25Z</published>
	<updated>2009-12-04T15:34:25Z</updated>
	<author>
		<name>Diego Berge-2</name>
	</author>
	<content type="html">-----BEGIN PGP SIGNED MESSAGE-----
&lt;br&gt;Hash: SHA1
&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp;I have not been following this issue closely, so I apologise if I'm
&lt;br&gt;misinterpreting something here. &amp;nbsp;That said:
&lt;br&gt;&lt;br&gt;Matthias Urlichs wrote:
&lt;br&gt;&amp;gt; On Fr, 2009-12-04 at 12:08 -0500, Greg Troxel wrote:
&lt;br&gt;&amp;gt;&amp;gt; I thought that earth_distance computed the difference between two
&lt;br&gt;&amp;gt;&amp;gt; lat/lon pairs on the surface, and was used to find out how different
&lt;br&gt;&amp;gt;&amp;gt; two fixes were. 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Bah. That has slipped my mind. Sorry.
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp;The working principle however, is roughly the same as Matthias
&lt;br&gt;illustrated in his previous post, i.e., one is measuring the length of
&lt;br&gt;an arc of great radius (~6000km) subtending a very small angle.
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp;There is an inherent lack of precision in this problem, which appears
&lt;br&gt;to be what the regressions tests are showing.
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp;Wouldn't it be possible to work on the regression tests so that they
&lt;br&gt;detect this artifact and behave accordingly, rather than giving a
&lt;br&gt;straight fail? &amp;nbsp;e.g., what about if one had a different set of
&lt;br&gt;regression results for each different architecture?
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp;Again, I apologise if I'm missing the point by a mile (I blame it on
&lt;br&gt;my own kind of instability :).
&lt;br&gt;&lt;br&gt;&lt;br&gt;Regards,
&lt;br&gt;Diego Berge.
&lt;br&gt;&lt;br&gt;-----BEGIN PGP SIGNATURE-----
&lt;br&gt;Version: GnuPG v1.4.10 (GNU/Linux)
&lt;br&gt;Comment: Using GnuPG with Mozilla - &lt;a href=&quot;http://enigmail.mozdev.org/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://enigmail.mozdev.org/&lt;/a&gt;&lt;br&gt;&lt;br&gt;iEYEARECAAYFAksZnIEACgkQmlKEtSWrbj0HTQCgiJWhFbn+MbyKMCFCusUw2Gft
&lt;br&gt;xqgAoIWOmEsqhIytaEXfbS5Sb+IgHY1p
&lt;br&gt;=uoTt
&lt;br&gt;-----END PGP SIGNATURE-----
&lt;br&gt;_______________________________________________
&lt;br&gt;Gpsd-dev mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26650969&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Gpsd-dev@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.berlios.de/mailman/listinfo/gpsd-dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.berlios.de/mailman/listinfo/gpsd-dev&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/GPSd---Dev-f2021.html&quot; embed=&quot;fixTarget[2021]&quot; target=&quot;_top&quot; &gt;GPSd - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Progress-towards-the-2.90-release-tp26624082p26650969.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26650790</id>
	<title>Re: sin/cos issues</title>
	<published>2009-12-04T15:09:35Z</published>
	<updated>2009-12-04T15:09:35Z</updated>
	<author>
		<name>Håkan Johansson-5</name>
	</author>
	<content type="html">&lt;br&gt;I have not tested the code itself, this is just 'theoretical' 
&lt;br&gt;considerations:
&lt;br&gt;&lt;br&gt;sin/cos are not at fault, but the algortihm as such for small distances.
&lt;br&gt;&lt;br&gt;Assume a distance b of 1 dm, then the 'normalized' dot product called a 
&lt;br&gt;in the routine will have a value of approximately 1-b^2/R^2, R being the 
&lt;br&gt;radius. &amp;nbsp;I.e. 1 - 2.46e-16, where 2.46e-16 is close to the epsilon of a 
&lt;br&gt;double (2.22e-16).
&lt;br&gt;&lt;br&gt;For such small distances it should be much better to just use Pythagoras 
&lt;br&gt;directly, i.e. evaluate
&lt;br&gt;&lt;br&gt;R = CalcRad((lat1+lat2)/2);
&lt;br&gt;d = sqrt((x1-x2)*(x1-x2) + (y1-y2)*(y1-y2) + (z1-z2)*(z1-z2));
&lt;br&gt;if (d &amp;lt; 10000) // comment on this value below
&lt;br&gt;&amp;nbsp; &amp;nbsp;return d * (1 + (d/R)*(d/R) / 24);
&lt;br&gt;&lt;br&gt;a similar issue appears for points on opposite sides of the globe, where a 
&lt;br&gt;is ~= -1. &amp;nbsp;acos(a) should then be close to pi and the result about 20000 
&lt;br&gt;km, so the loss of accuracy of a dm should not matter. &amp;nbsp;but it makes no 
&lt;br&gt;sense to return nans, rather do
&lt;br&gt;&lt;br&gt;if (a &amp;lt; -1)
&lt;br&gt;&amp;nbsp; &amp;nbsp;a = -1;
&lt;br&gt;&lt;br&gt;before the final calculation.
&lt;br&gt;&lt;br&gt;The simple use a Pythagoras above sort of defies the fact the the earth is 
&lt;br&gt;not flat. &amp;nbsp;If b is the distance along the surface and we call d the 
&lt;br&gt;straight distance between the two points, and theta the angle between 
&lt;br&gt;them (where a = cos (theta), approximately), we have:
&lt;br&gt;&lt;br&gt;b = R * theta
&lt;br&gt;d = 2 * R * sin(theta / 2)
&lt;br&gt;&lt;br&gt;since &amp;nbsp;sin x = x - x^2/3! + x^5/5! + O(x^7)
&lt;br&gt;&lt;br&gt;and with theta = b/R we get
&lt;br&gt;&lt;br&gt;d = 2 * R * ((b/2R) - (b/2R)^2/3! + (b/2R)^5/5! + ...)
&lt;br&gt;&lt;br&gt;d = b - b^3/(2R)^2/3! + b^5/(2R)^4/5! + ...
&lt;br&gt;&lt;br&gt;now, to solve for b, set b=d for the correction terms:
&lt;br&gt;&lt;br&gt;b = d + d^3/(2R)^2/3! + d^5/(2R)^4/5! - ...
&lt;br&gt;&lt;br&gt;If we do not want an error larger than say 1e-8 in b (relative to d), then 
&lt;br&gt;look for
&lt;br&gt;&lt;br&gt;d^3/(2R)^2/3!/d = 1e-8 &amp;nbsp;==&amp;gt; d = 3.1 km
&lt;br&gt;&lt;br&gt;for the next term:
&lt;br&gt;&lt;br&gt;d^5/(2R)^4/5!/d = 1e-8 &amp;nbsp;==&amp;gt; d = 421 km
&lt;br&gt;&lt;br&gt;b = d + d^3/R*2*2*3*2*1 = d + 1/24 * d^3/R^2
&lt;br&gt;&lt;br&gt;So I opted for a 10 km cut and applying a first term correction. &amp;nbsp;At d = 
&lt;br&gt;10 km, a = 0.9999987 so I think the original should work.
&lt;br&gt;&lt;br&gt;Of course, one could probably skip the correction altogether, as a 
&lt;br&gt;correction of 1e-8 on 10 km is just 1 mm... &amp;nbsp;:-)
&lt;br&gt;&lt;br&gt;--
&lt;br&gt;&lt;br&gt;Some further notes:
&lt;br&gt;&lt;br&gt;with such a cut, the routine will certainly not be continous. &amp;nbsp;would that 
&lt;br&gt;matter?
&lt;br&gt;&lt;br&gt;I wrote 'normalized' dot product in the above as it divides not by the 
&lt;br&gt;product of the two vector lengths, but some square of an 'average' of the 
&lt;br&gt;two.
&lt;br&gt;&lt;br&gt;It's late night here, factors of 2 and 3 may easily be wrong.
&lt;br&gt;&lt;br&gt;Cheers,
&lt;br&gt;Håkan&lt;br /&gt;_______________________________________________
&lt;br&gt;Gpsd-dev mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26650790&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Gpsd-dev@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.berlios.de/mailman/listinfo/gpsd-dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.berlios.de/mailman/listinfo/gpsd-dev&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/GPSd---Dev-f2021.html&quot; embed=&quot;fixTarget[2021]&quot; target=&quot;_top&quot; &gt;GPSd - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/sin-cos-issues-tp26643202p26650790.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26650356</id>
	<title>Re: [esr at BerliOS] [Gpsd-commit-watch] r6710 - trunk</title>
	<published>2009-12-04T14:36:57Z</published>
	<updated>2009-12-04T14:36:57Z</updated>
	<author>
		<name>Greg Troxel</name>
	</author>
	<content type="html">&lt;br&gt;&amp;quot;Eric S. Raymond&amp;quot; &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26650356&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;esr@...&lt;/a&gt;&amp;gt; writes:
&lt;br&gt;&lt;br&gt;&amp;gt; 1. Once on the bu-303 atltitude calculation under i386 only.
&lt;br&gt;&lt;br&gt;no, also on NetBSD/amd64, but differently.
&lt;br&gt;&lt;br&gt;&amp;gt; 2. Once on the Navcom test file due to the sin/cos instability.
&lt;br&gt;&lt;br&gt;More like &amp;quot;due to a numerically unstable earth_distance algorithm&amp;quot;. &amp;nbsp;I
&lt;br&gt;have not seen any evidence that sin/cos is broken.
&lt;br&gt;&lt;br /&gt; &lt;br /&gt;_______________________________________________
&lt;br&gt;Gpsd-dev mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26650356&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Gpsd-dev@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.berlios.de/mailman/listinfo/gpsd-dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.berlios.de/mailman/listinfo/gpsd-dev&lt;/a&gt;&lt;br&gt;&lt;div class=&quot;small&quot;&gt;&lt;br/&gt;&lt;img src=&quot;http://old.nabble.com/images/icon_attachment.gif&quot; &gt; &lt;strong&gt;attachment0&lt;/strong&gt; (200 bytes) &lt;a href=&quot;http://old.nabble.com/attachment/26650356/0/attachment0&quot; target=&quot;_top&quot;&gt;Download Attachment&lt;/a&gt;&lt;/div&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/GPSd---Dev-f2021.html&quot; embed=&quot;fixTarget[2021]&quot; target=&quot;_top&quot; &gt;GPSd - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-esr-at-BerliOS---Gpsd-commit-watch--r6710---trunk-tp26649016p26650356.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26649860</id>
	<title>Re: [esr at BerliOS] [Gpsd-commit-watch] r6710 - trunk</title>
	<published>2009-12-04T13:59:12Z</published>
	<updated>2009-12-04T13:59:12Z</updated>
	<author>
		<name>Eric S. Raymond-2</name>
	</author>
	<content type="html">Greg Troxel &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26649860&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;gdt@...&lt;/a&gt;&amp;gt;:
&lt;br&gt;&amp;gt; There have been a lot of changes in the last week, and regression tests
&lt;br&gt;&amp;gt; have been failing enough to put us into state red according to the
&lt;br&gt;&amp;gt; documented procedure, so it's hard to tell what's going on.
&lt;br&gt;&lt;br&gt;We just shipped. &amp;nbsp;I fixed two of the port problems (the time-overflow ones)
&lt;br&gt;last night, and added the others as known problems to the TODO list.
&lt;br&gt;&lt;br&gt;I expect your regression tests may currently break in two places:
&lt;br&gt;&lt;br&gt;1. Once on the bu-303 atltitude calculation under i386 only.
&lt;br&gt;&lt;br&gt;2. Once on the Navcom test file due to the sin/cos instability.
&lt;br&gt;-- 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;a href=&amp;quot;&lt;a href=&quot;http://www.catb.org/~esr/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.catb.org/~esr/&lt;/a&gt;&amp;quot;&amp;gt;Eric S. Raymond&amp;lt;/a&amp;gt;
&lt;br&gt;_______________________________________________
&lt;br&gt;Gpsd-dev mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26649860&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Gpsd-dev@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.berlios.de/mailman/listinfo/gpsd-dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.berlios.de/mailman/listinfo/gpsd-dev&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/GPSd---Dev-f2021.html&quot; embed=&quot;fixTarget[2021]&quot; target=&quot;_top&quot; &gt;GPSd - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-esr-at-BerliOS---Gpsd-commit-watch--r6710---trunk-tp26649016p26649860.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26649877</id>
	<title>new gps report</title>
	<published>2009-12-04T13:45:11Z</published>
	<updated>2009-12-04T13:45:11Z</updated>
	<author>
		<name>HTTP Server</name>
	</author>
	<content type="html">Remote: 216.239.45.4:21209
&lt;br&gt;&lt;br&gt;[device]
&lt;br&gt;type = device
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; model = device
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; packaging = mouse
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; submitter = &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26649877&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;nobody@...&lt;/a&gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; techdoc = &lt;a href=&quot;http://www.example.com/no-such-gps.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.example.com/no-such-gps.html&lt;/a&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; vendor = fake
&lt;br&gt;&lt;br /&gt; &lt;br /&gt;_______________________________________________
&lt;br&gt;Gpsd-dev mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26649877&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Gpsd-dev@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.berlios.de/mailman/listinfo/gpsd-dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.berlios.de/mailman/listinfo/gpsd-dev&lt;/a&gt;&lt;br&gt;&lt;div class=&quot;small&quot;&gt;&lt;br/&gt;&lt;img src=&quot;http://old.nabble.com/images/icon_attachment.gif&quot; &gt; &lt;strong&gt;sample.bin&lt;/strong&gt; (22 bytes) &lt;a href=&quot;http://old.nabble.com/attachment/26649877/0/sample.bin&quot; target=&quot;_top&quot;&gt;Download Attachment&lt;/a&gt;&lt;/div&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/GPSd---Dev-f2021.html&quot; embed=&quot;fixTarget[2021]&quot; target=&quot;_top&quot; &gt;GPSd - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/new-gps-report-tp26649877p26649877.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26649337</id>
	<title>make regress status</title>
	<published>2009-12-04T13:14:48Z</published>
	<updated>2009-12-04T13:14:48Z</updated>
	<author>
		<name>Greg Troxel</name>
	</author>
	<content type="html">&lt;br&gt;As of r6712, make check shows only the known failures:
&lt;br&gt;&lt;br&gt;&amp;nbsp; netbsd-5/i386: bu303-nofix navcom
&lt;br&gt;&amp;nbsp; netbsd-5/amd64: bu303-nofix
&lt;br&gt;&lt;br&gt;and actually running on netbsd-5/i386 with an antaris 4 works.
&lt;br&gt;&lt;br&gt;&lt;br&gt;in progress, will yell if unexpected trouble
&lt;br&gt;&amp;nbsp; netbsd-5/sparc64: bu303-nofix
&lt;br&gt;&lt;br /&gt; &lt;br /&gt;_______________________________________________
&lt;br&gt;Gpsd-dev mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26649337&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Gpsd-dev@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.berlios.de/mailman/listinfo/gpsd-dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.berlios.de/mailman/listinfo/gpsd-dev&lt;/a&gt;&lt;br&gt;&lt;div class=&quot;small&quot;&gt;&lt;br/&gt;&lt;img src=&quot;http://old.nabble.com/images/icon_attachment.gif&quot; &gt; &lt;strong&gt;attachment0&lt;/strong&gt; (200 bytes) &lt;a href=&quot;http://old.nabble.com/attachment/26649337/0/attachment0&quot; target=&quot;_top&quot;&gt;Download Attachment&lt;/a&gt;&lt;/div&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/GPSd---Dev-f2021.html&quot; embed=&quot;fixTarget[2021]&quot; target=&quot;_top&quot; &gt;GPSd - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/make-regress-status-tp26649337p26649337.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26649216</id>
	<title>Re: sin/cos issues</title>
	<published>2009-12-04T13:04:06Z</published>
	<updated>2009-12-04T13:04:06Z</updated>
	<author>
		<name>Chris Kuethe</name>
	</author>
	<content type="html">On Fri, Dec 4, 2009 at 10:37 AM, Eric S. Raymond &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26649216&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;esr@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt; Greg Troxel &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26649216&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;gdt@...&lt;/a&gt;&amp;gt;:
&lt;br&gt;&amp;gt;&amp;gt; Or, I could easily make test_trig.c.  Perhaps that is better.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Do it.  Good idea.
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://arxiv.org/abs/cs.PL/0701192&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://arxiv.org/abs/cs.PL/0701192&lt;/a&gt;&amp;nbsp;(The pitfalls of verifying
&lt;br&gt;floating-point computations)
&lt;br&gt;&lt;a href=&quot;http://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.42.8553&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.42.8553&lt;/a&gt;&lt;br&gt;(Numerical Replication of Computer Simulations: Some Pitfalls and How
&lt;br&gt;To Avoid Them)
&lt;br&gt;&lt;br&gt;A separate trig tester would be good. I tried to be very careful about
&lt;br&gt;writing the float test so that all the intermediate results should be
&lt;br&gt;precise even in IEEE754 - that will be basically impossible for trig.
&lt;br&gt;&lt;br&gt;A very cursory glance at citeseer and scholar didn't show a similar
&lt;br&gt;sort of document oriented at verifying trig results and I'm drawing a
&lt;br&gt;blank on finding regression test suites for space programs... anyone
&lt;br&gt;got friends at NASA, ESA, CSA (et al.) who could tell us about their
&lt;br&gt;test suites? IS-GPS-200 has very little to say about this other than
&lt;br&gt;pi is defined as &amp;quot;3.1415926535898.&amp;quot;
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; --
&lt;br&gt;&amp;gt;                &amp;lt;a href=&amp;quot;&lt;a href=&quot;http://www.catb.org/~esr/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.catb.org/~esr/&lt;/a&gt;&amp;quot;&amp;gt;Eric S. Raymond&amp;lt;/a&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; -----BEGIN PGP SIGNATURE-----
&lt;br&gt;&amp;gt; Version: GnuPG v1.4.9 (GNU/Linux)
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; iD8DBQFLGVbOrfUW04Qh8RwRAjdWAJ9l4nk0xNPfKifHcddL4f5zrz8iGwCgpmEI
&lt;br&gt;&amp;gt; JfUdhYZIUq2m0cFv4+AGEZ8=
&lt;br&gt;&amp;gt; =Q5Ku
&lt;br&gt;&amp;gt; -----END PGP SIGNATURE-----
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; Gpsd-dev mailing list
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26649216&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Gpsd-dev@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;https://lists.berlios.de/mailman/listinfo/gpsd-dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.berlios.de/mailman/listinfo/gpsd-dev&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;GDB has a 'break' feature; why doesn't it have 'fix' too?
&lt;br&gt;_______________________________________________
&lt;br&gt;Gpsd-dev mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26649216&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Gpsd-dev@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.berlios.de/mailman/listinfo/gpsd-dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.berlios.de/mailman/listinfo/gpsd-dev&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/GPSd---Dev-f2021.html&quot; embed=&quot;fixTarget[2021]&quot; target=&quot;_top&quot; &gt;GPSd - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/sin-cos-issues-tp26643202p26649216.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26649016</id>
	<title>[esr at BerliOS] [Gpsd-commit-watch] r6710 - trunk</title>
	<published>2009-12-04T12:48:58Z</published>
	<updated>2009-12-04T12:48:58Z</updated>
	<author>
		<name>Greg Troxel</name>
	</author>
	<content type="html">So I presume
&lt;br&gt;&lt;br&gt;&amp;nbsp; we are really really frozen, with changes only after list discussion
&lt;br&gt;&lt;br&gt;&amp;nbsp; you expect people to svn up and run tests, and we can assess whether
&lt;br&gt;&amp;nbsp; to ship or not?
&lt;br&gt;&lt;br&gt;There have been a lot of changes in the last week, and regression tests
&lt;br&gt;have been failing enough to put us into state red according to the
&lt;br&gt;documented procedure, so it's hard to tell what's going on.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br /&gt;Author: esr
&lt;br&gt;Date: 2009-12-04 21:45:44 +0100 (Fri, 04 Dec 2009)
&lt;br&gt;New Revision: 6710
&lt;br&gt;&lt;br&gt;Modified:
&lt;br&gt;&amp;nbsp; &amp;nbsp;trunk/configure.ac
&lt;br&gt;Log:
&lt;br&gt;Version bump. &amp;nbsp;Time to ship 2.90.
&lt;br&gt;&lt;br&gt;&lt;br&gt;Modified: trunk/configure.ac
&lt;br&gt;===================================================================
&lt;br&gt;--- trunk/configure.ac	2009-12-04 20:41:03 UTC (rev 6709)
&lt;br&gt;+++ trunk/configure.ac	2009-12-04 20:45:44 UTC (rev 6710)
&lt;br&gt;@@ -1,6 +1,6 @@
&lt;br&gt;&amp;nbsp;dnl $Id$
&lt;br&gt;&amp;nbsp;AC_INIT
&lt;br&gt;-AM_INIT_AUTOMAKE(gpsd, 2.90dev)
&lt;br&gt;+AM_INIT_AUTOMAKE(gpsd, 2.90)
&lt;br&gt;&amp;nbsp;dnl AC_PREFIX_PROGRAM(gcc)
&lt;br&gt;&amp;nbsp;AM_CONFIG_HEADER(gpsd_config.h)
&lt;br&gt;&amp;nbsp;AC_LANG([C])
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Gpsd-commit-watch mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26649016&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Gpsd-commit-watch@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.berlios.de/mailman/listinfo/gpsd-commit-watch&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.berlios.de/mailman/listinfo/gpsd-commit-watch&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;Gpsd-dev mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26649016&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Gpsd-dev@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.berlios.de/mailman/listinfo/gpsd-dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.berlios.de/mailman/listinfo/gpsd-dev&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/GPSd---Dev-f2021.html&quot; embed=&quot;fixTarget[2021]&quot; target=&quot;_top&quot; &gt;GPSd - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-esr-at-BerliOS---Gpsd-commit-watch--r6710---trunk-tp26649016p26649016.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26648506</id>
	<title>Re: regression failures</title>
	<published>2009-12-04T12:09:07Z</published>
	<updated>2009-12-04T12:09:07Z</updated>
	<author>
		<name>Greg Troxel</name>
	</author>
	<content type="html">&lt;br&gt;Matthias Urlichs &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26648506&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;matthias@...&lt;/a&gt;&amp;gt; writes:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; On Fr, 2009-12-04 at 12:08 -0500, Greg Troxel wrote:
&lt;br&gt;&amp;gt;&amp;gt; I thought that earth_distance computed the difference between two
&lt;br&gt;&amp;gt;&amp;gt; lat/lon pairs on the surface, and was used to find out how different
&lt;br&gt;&amp;gt;&amp;gt; two fixes were. 
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Bah. That has slipped my mind. Sorry.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Anyway, the comment in that function does say that the value for small
&lt;br&gt;&amp;gt; distances _is_ numerically unstable and can even be mathematically
&lt;br&gt;&amp;gt; impossible. Also, arccos magnifies numeric errors; for example,
&lt;br&gt;&amp;gt; arccos(0.9999999999) has only four zeroes after the decimal point.
&lt;/div&gt;&lt;/div&gt;I didn't find that comment. &amp;nbsp;But since we use it for small distances, we
&lt;br&gt;should replace it with a stable algorithm.
&lt;br&gt;&lt;br&gt;This doesn't seem urgent, because minor differences in whether estimated
&lt;br&gt;position erros are greater than motion don't seem that important.
&lt;br&gt;&lt;br /&gt; &lt;br /&gt;_______________________________________________
&lt;br&gt;Gpsd-dev mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26648506&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Gpsd-dev@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.berlios.de/mailman/listinfo/gpsd-dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.berlios.de/mailman/listinfo/gpsd-dev&lt;/a&gt;&lt;br&gt;&lt;div class=&quot;small&quot;&gt;&lt;br/&gt;&lt;img src=&quot;http://old.nabble.com/images/icon_attachment.gif&quot; &gt; &lt;strong&gt;attachment0&lt;/strong&gt; (200 bytes) &lt;a href=&quot;http://old.nabble.com/attachment/26648506/0/attachment0&quot; target=&quot;_top&quot;&gt;Download Attachment&lt;/a&gt;&lt;/div&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/GPSd---Dev-f2021.html&quot; embed=&quot;fixTarget[2021]&quot; target=&quot;_top&quot; &gt;GPSd - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Progress-towards-the-2.90-release-tp26624082p26648506.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26647795</id>
	<title>Re: regression failures</title>
	<published>2009-12-04T11:20:23Z</published>
	<updated>2009-12-04T11:20:23Z</updated>
	<author>
		<name>Matthias Urlichs-3</name>
	</author>
	<content type="html">On Fr, 2009-12-04 at 12:08 -0500, Greg Troxel wrote:
&lt;br&gt;&amp;gt; I thought that earth_distance computed the difference between two
&lt;br&gt;&amp;gt; lat/lon pairs on the surface, and was used to find out how different
&lt;br&gt;&amp;gt; two fixes were. 
&lt;br&gt;&lt;br&gt;Bah. That has slipped my mind. Sorry.
&lt;br&gt;&lt;br&gt;Anyway, the comment in that function does say that the value for small
&lt;br&gt;distances _is_ numerically unstable and can even be mathematically
&lt;br&gt;impossible. Also, arccos magnifies numeric errors; for example,
&lt;br&gt;arccos(0.9999999999) has only four zeroes after the decimal point.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Gpsd-dev mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26647795&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Gpsd-dev@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.berlios.de/mailman/listinfo/gpsd-dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.berlios.de/mailman/listinfo/gpsd-dev&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/GPSd---Dev-f2021.html&quot; embed=&quot;fixTarget[2021]&quot; target=&quot;_top&quot; &gt;GPSd - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Progress-towards-the-2.90-release-tp26624082p26647795.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26647125</id>
	<title>Re: sin/cos issues</title>
	<published>2009-12-04T10:37:02Z</published>
	<updated>2009-12-04T10:37:02Z</updated>
	<author>
		<name>Eric S. Raymond-2</name>
	</author>
	<content type="html">Greg Troxel &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26647125&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;gdt@...&lt;/a&gt;&amp;gt;:
&lt;br&gt;&amp;gt; Or, I could easily make test_trig.c. &amp;nbsp;Perhaps that is better.
&lt;br&gt;&lt;br&gt;Do it. &amp;nbsp;Good idea.
&lt;br&gt;-- 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;a href=&amp;quot;&lt;a href=&quot;http://www.catb.org/~esr/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.catb.org/~esr/&lt;/a&gt;&amp;quot;&amp;gt;Eric S. Raymond&amp;lt;/a&amp;gt;
&lt;br&gt;&lt;br /&gt; &lt;br /&gt;_______________________________________________
&lt;br&gt;Gpsd-dev mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26647125&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Gpsd-dev@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.berlios.de/mailman/listinfo/gpsd-dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.berlios.de/mailman/listinfo/gpsd-dev&lt;/a&gt;&lt;br&gt;&lt;div class=&quot;small&quot;&gt;&lt;br/&gt;&lt;img src=&quot;http://old.nabble.com/images/icon_attachment.gif&quot; &gt; &lt;strong&gt;signature.asc&lt;/strong&gt; (196 bytes) &lt;a href=&quot;http://old.nabble.com/attachment/26647125/0/signature.asc&quot; target=&quot;_top&quot;&gt;Download Attachment&lt;/a&gt;&lt;/div&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/GPSd---Dev-f2021.html&quot; embed=&quot;fixTarget[2021]&quot; target=&quot;_top&quot; &gt;GPSd - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/sin-cos-issues-tp26643202p26647125.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26645780</id>
	<title>Re: regression failures</title>
	<published>2009-12-04T09:08:46Z</published>
	<updated>2009-12-04T09:08:46Z</updated>
	<author>
		<name>Greg Troxel</name>
	</author>
	<content type="html">&lt;br&gt;Matthias Urlichs &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26645780&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;matthias@...&lt;/a&gt;&amp;gt; writes:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; On Fr, 2009-12-04 at 11:11 -0500, Greg Troxel wrote:
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; sin is sometimes different in the lowest order bit, more or less.
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; For points that are very close, earth_distance computes distances
&lt;br&gt;&amp;gt;&amp;gt; that
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; can be several % off (0.25 vs 0.21 or something like that) depending
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; on this tiny difference in sin().
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Is it? Consider how far away those satellites are, let's say 10^5
&lt;br&gt;&amp;gt; meters. We're talking about a difference of 10^-3 meters or so. That's
&lt;br&gt;&amp;gt; an error on the order of 10^-8.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; The bit in the sin output is 10^-15, if I remember correctly. Now add in
&lt;br&gt;&amp;gt; a couple of numerically tricky calculations (think &amp;quot;two lines crossing
&lt;br&gt;&amp;gt; at a very shallow angle&amp;quot; for an example of this sort of problem) and I'm
&lt;br&gt;&amp;gt; not sure there's any real problem.
&lt;/div&gt;&lt;/div&gt;I thought that earth_distance computed the difference between two
&lt;br&gt;lat/lon pairs on the surface, and was used to find out how different two
&lt;br&gt;fixes were.
&lt;br&gt;&lt;br /&gt; &lt;br /&gt;_______________________________________________
&lt;br&gt;Gpsd-dev mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26645780&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Gpsd-dev@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.berlios.de/mailman/listinfo/gpsd-dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.berlios.de/mailman/listinfo/gpsd-dev&lt;/a&gt;&lt;br&gt;&lt;div class=&quot;small&quot;&gt;&lt;br/&gt;&lt;img src=&quot;http://old.nabble.com/images/icon_attachment.gif&quot; &gt; &lt;strong&gt;attachment0&lt;/strong&gt; (200 bytes) &lt;a href=&quot;http://old.nabble.com/attachment/26645780/0/attachment0&quot; target=&quot;_top&quot;&gt;Download Attachment&lt;/a&gt;&lt;/div&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/GPSd---Dev-f2021.html&quot; embed=&quot;fixTarget[2021]&quot; target=&quot;_top&quot; &gt;GPSd - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Progress-towards-the-2.90-release-tp26624082p26645780.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26645680</id>
	<title>Re: regression failures</title>
	<published>2009-12-04T09:01:24Z</published>
	<updated>2009-12-04T09:01:24Z</updated>
	<author>
		<name>Matthias Urlichs-3</name>
	</author>
	<content type="html">On Fr, 2009-12-04 at 11:11 -0500, Greg Troxel wrote:
&lt;br&gt;&amp;gt; &amp;nbsp; sin is sometimes different in the lowest order bit, more or less.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp; For points that are very close, earth_distance computes distances
&lt;br&gt;&amp;gt; that
&lt;br&gt;&amp;gt; &amp;nbsp; can be several % off (0.25 vs 0.21 or something like that) depending
&lt;br&gt;&amp;gt; &amp;nbsp; on this tiny difference in sin().
&lt;br&gt;&lt;br&gt;Is it? Consider how far away those satellites are, let's say 10^5
&lt;br&gt;meters. We're talking about a difference of 10^-3 meters or so. That's
&lt;br&gt;an error on the order of 10^-8.
&lt;br&gt;&lt;br&gt;The bit in the sin output is 10^-15, if I remember correctly. Now add in
&lt;br&gt;a couple of numerically tricky calculations (think &amp;quot;two lines crossing
&lt;br&gt;at a very shallow angle&amp;quot; for an example of this sort of problem) and I'm
&lt;br&gt;not sure there's any real problem.
&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Gpsd-dev mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26645680&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Gpsd-dev@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.berlios.de/mailman/listinfo/gpsd-dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.berlios.de/mailman/listinfo/gpsd-dev&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/GPSd---Dev-f2021.html&quot; embed=&quot;fixTarget[2021]&quot; target=&quot;_top&quot; &gt;GPSd - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Progress-towards-the-2.90-release-tp26624082p26645680.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26644857</id>
	<title>Re: regression failures</title>
	<published>2009-12-04T08:11:41Z</published>
	<updated>2009-12-04T08:11:41Z</updated>
	<author>
		<name>Greg Troxel</name>
	</author>
	<content type="html">&lt;br&gt;According to &lt;a href=&quot;http://docs.sun.com/source/806-3568/ncg_math.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://docs.sun.com/source/806-3568/ncg_math.html&lt;/a&gt;&amp;nbsp;, 1 ULP
&lt;br&gt;in double is about 2.220446e-16, which is just about the difference in
&lt;br&gt;the sin outputs.
&lt;br&gt;&lt;br&gt;So as I see it:
&lt;br&gt;&lt;br&gt;&amp;nbsp; sin is sometimes different in the lowest order bit, more or less.
&lt;br&gt;&lt;br&gt;&amp;nbsp; For points that are very close, earth_distance computes distances that
&lt;br&gt;&amp;nbsp; can be several % off (0.25 vs 0.21 or something like that) depending
&lt;br&gt;&amp;nbsp; on this tiny difference in sin().
&lt;br&gt;&lt;br&gt;If that's true, the problem is poor numerical stability of
&lt;br&gt;earth_distance, not the sin() implementation. &amp;nbsp;It's not clear that
&lt;br&gt;either of hte answers is correct.
&lt;br&gt;&lt;br&gt;It's very good to have found this - unless I'm confused all uses of
&lt;br&gt;earth_distance may be getting the wrong answer.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br /&gt; &lt;br /&gt;_______________________________________________
&lt;br&gt;Gpsd-dev mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26644857&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Gpsd-dev@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.berlios.de/mailman/listinfo/gpsd-dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.berlios.de/mailman/listinfo/gpsd-dev&lt;/a&gt;&lt;br&gt;&lt;div class=&quot;small&quot;&gt;&lt;br/&gt;&lt;img src=&quot;http://old.nabble.com/images/icon_attachment.gif&quot; &gt; &lt;strong&gt;attachment0&lt;/strong&gt; (200 bytes) &lt;a href=&quot;http://old.nabble.com/attachment/26644857/0/attachment0&quot; target=&quot;_top&quot;&gt;Download Attachment&lt;/a&gt;&lt;/div&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/GPSd---Dev-f2021.html&quot; embed=&quot;fixTarget[2021]&quot; target=&quot;_top&quot; &gt;GPSd - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Progress-towards-the-2.90-release-tp26624082p26644857.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26644552</id>
	<title>Re: regression failures</title>
	<published>2009-12-04T07:43:54Z</published>
	<updated>2009-12-04T07:43:54Z</updated>
	<author>
		<name>Michael Ledford-2</name>
	</author>
	<content type="html">&lt;br&gt;On Dec 4, 2009, at 9:01 AM, Greg Troxel wrote:
&lt;br&gt;&lt;br&gt;&amp;gt; Michael: How different are the results from sin and cos on various
&lt;br&gt;&amp;gt; platforms?
&lt;br&gt;&lt;br&gt;I think the best thing to do is show some differences. I essentially &amp;nbsp;
&lt;br&gt;broke out all the calculations and printed them with %2.30f. Looking &amp;nbsp;
&lt;br&gt;at it, it appears that the difference comes around 1.*10e-15. We could &amp;nbsp;
&lt;br&gt;truncate the calculations but that would probably introduce other &amp;nbsp;
&lt;br&gt;errors.
&lt;br&gt;&lt;br&gt;&amp;lt; earth_distance(): x1Rad1 = 6352183.601540576666593551635742187500; &amp;nbsp;
&lt;br&gt;x1Rad2 = 0.213431703525181981628833227660; x1Rad3 =
&lt;br&gt;&amp;nbsp; 1.041234054705739042745449296490; x1cos = &amp;nbsp;
&lt;br&gt;0.977309784626648858640862727043; x1sin = &amp;nbsp;
&lt;br&gt;0.863028273901615849972301930393;
&lt;br&gt;---
&lt;br&gt;&amp;nbsp;&amp;gt; earth_distance(): x1Rad1 = 6352183.601540576666593551635742187500; &amp;nbsp;
&lt;br&gt;x1Rad2 = 0.213431703525181981628833227660; x1Rad3 =
&lt;br&gt;&amp;nbsp; 1.041234054705739042745449296490; x1cos = &amp;nbsp;
&lt;br&gt;0.977309784626648858640862727043; x1sin = &amp;nbsp;
&lt;br&gt;0.863028273901615738949999467877;
&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;lt; earth_distance(): x2Rad1 = 6352183.601475819945335388183593750000; &amp;nbsp;
&lt;br&gt;x2Rad2 = 0.213431705596529519564086285754; x2Rad3 =
&lt;br&gt;&amp;nbsp; 1.041234055889366239000537461834; x2cos = &amp;nbsp;
&lt;br&gt;0.977309784187906482877394864772; x2sin = &amp;nbsp;
&lt;br&gt;0.863028274499531788954698185989;
&lt;br&gt;---
&lt;br&gt;&amp;nbsp;&amp;gt; earth_distance(): x2Rad1 = 6352183.601475819945335388183593750000; &amp;nbsp;
&lt;br&gt;x2Rad2 = 0.213431705596529519564086285754; x2Rad3 =
&lt;br&gt;&amp;nbsp; 1.041234055889366239000537461834; x2cos = &amp;nbsp;
&lt;br&gt;0.977309784187906482877394864772; x2sin = &amp;nbsp;
&lt;br&gt;0.863028274499531677932395723474;
&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;lt; earth_distance(): y1Rad1 = 6352183.601540576666593551635742187500; &amp;nbsp;
&lt;br&gt;y1Rad2 = 0.213431703525181981628833227660; y1Rad3 =
&lt;br&gt;&amp;nbsp; 1.041234054705739042745449296490; y1sin1 = &amp;nbsp;
&lt;br&gt;0.211814977924161845779238433352; y1sin2 = &amp;nbsp;
&lt;br&gt;0.863028273901615849972301930393;
&lt;br&gt;---
&lt;br&gt;&amp;nbsp;&amp;gt; earth_distance(): y1Rad1 = 6352183.601540576666593551635742187500; &amp;nbsp;
&lt;br&gt;y1Rad2 = 0.213431703525181981628833227660; y1Rad3 =
&lt;br&gt;&amp;nbsp; 1.041234054705739042745449296490; y1sin1 = &amp;nbsp;
&lt;br&gt;0.211814977924161845779238433352; y1sin2 = &amp;nbsp;
&lt;br&gt;0.863028273901615738949999467877;
&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;lt; earth_distance(): y2Rad1 = 6352183.601475819945335388183593750000; &amp;nbsp;
&lt;br&gt;y2Rad2 = 0.213431705596529519564086285754; y2Rad3 =
&lt;br&gt;&amp;nbsp; 1.041234055889366239000537461834; y2sin1 = &amp;nbsp;
&lt;br&gt;0.211814979948510062612854198960; y2sin2 = &amp;nbsp;
&lt;br&gt;0.863028274499531788954698185989;
&lt;br&gt;---
&lt;br&gt;&amp;nbsp;&amp;gt; earth_distance(): y2Rad1 = 6352183.601475819945335388183593750000; &amp;nbsp;
&lt;br&gt;y2Rad2 = 0.213431705596529519564086285754; y2Rad3 =
&lt;br&gt;&amp;nbsp; 1.041234055889366239000537461834; y2sin1 = &amp;nbsp;
&lt;br&gt;0.211814979948510062612854198960; y2sin2 = &amp;nbsp;
&lt;br&gt;0.863028274499531677932395723474;
&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;lt; earth_distance(): z1Rad1 = 6352183.601540576666593551635742187500; &amp;nbsp;
&lt;br&gt;z1Rad2 = 1.041234054705739042745449296490; z1cos =
&lt;br&gt;0.505155618048931054353545277991;
&lt;br&gt;---
&lt;br&gt;&amp;nbsp;&amp;gt; earth_distance(): z1Rad1 = 6352183.601540576666593551635742187500; &amp;nbsp;
&lt;br&gt;z1Rad2 = 1.041234054705739042745449296490; z1cos =
&lt;br&gt;0.505155618048931165375847740506;
&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;lt; earth_distance(): x1 = 5357723.700667369179427623748779296875; x2 = &amp;nbsp;
&lt;br&gt;5357723.701919406652450561523437500000; y1 = &amp;nbsp;
&lt;br&gt;1161193.866297113010659813880920410156; y2 = &amp;nbsp;
&lt;br&gt;1161193.878187472000718116760253906250; z1 = &amp;nbsp;
&lt;br&gt;3208841.233196514658629894256591796
&lt;br&gt;875; z2 = 3208841.226675023790448904037475585938; a = &amp;nbsp;
&lt;br&gt;0.999999999999999666933092612453
&lt;br&gt;---
&lt;br&gt;&amp;nbsp;&amp;gt; earth_distance(): x1 = 5357723.700667368248105049133300781250; x2 = &amp;nbsp;
&lt;br&gt;5357723.701919406652450561523437500000; y1 = 11611
&lt;br&gt;93.866297113010659813880920410156; y2 = &amp;nbsp;
&lt;br&gt;1161193.878187471767887473106384277344; z1 = &amp;nbsp;
&lt;br&gt;3208841.233196515589952468872070312
&lt;br&gt;500; z2 = 3208841.226675023790448904037475585938; a = &amp;nbsp;
&lt;br&gt;0.999999999999999666933092612453
&lt;br&gt;&lt;br&gt;Sincerely,
&lt;br&gt;Michael
&lt;br&gt;_______________________________________________
&lt;br&gt;Gpsd-dev mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26644552&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Gpsd-dev@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.berlios.de/mailman/listinfo/gpsd-dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.berlios.de/mailman/listinfo/gpsd-dev&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/GPSd---Dev-f2021.html&quot; embed=&quot;fixTarget[2021]&quot; target=&quot;_top&quot; &gt;GPSd - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Progress-towards-the-2.90-release-tp26624082p26644552.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26643218</id>
	<title>Re: sin/cos issues</title>
	<published>2009-12-04T06:20:58Z</published>
	<updated>2009-12-04T06:20:58Z</updated>
	<author>
		<name>Greg Troxel</name>
	</author>
	<content type="html">&lt;br&gt;Or, I could easily make test_trig.c. &amp;nbsp;Perhaps that is better.
&lt;br&gt;&lt;br /&gt; &lt;br /&gt;_______________________________________________
&lt;br&gt;Gpsd-dev mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26643218&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Gpsd-dev@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.berlios.de/mailman/listinfo/gpsd-dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.berlios.de/mailman/listinfo/gpsd-dev&lt;/a&gt;&lt;br&gt;&lt;div class=&quot;small&quot;&gt;&lt;br/&gt;&lt;img src=&quot;http://old.nabble.com/images/icon_attachment.gif&quot; &gt; &lt;strong&gt;attachment0&lt;/strong&gt; (200 bytes) &lt;a href=&quot;http://old.nabble.com/attachment/26643218/0/attachment0&quot; target=&quot;_top&quot;&gt;Download Attachment&lt;/a&gt;&lt;/div&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/GPSd---Dev-f2021.html&quot; embed=&quot;fixTarget[2021]&quot; target=&quot;_top&quot; &gt;GPSd - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/sin-cos-issues-tp26643202p26643218.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26643202</id>
	<title>sin/cos issues</title>
	<published>2009-12-04T06:19:55Z</published>
	<updated>2009-12-04T06:19:55Z</updated>
	<author>
		<name>Greg Troxel</name>
	</author>
	<content type="html">&lt;br&gt;OK to commit this? &amp;nbsp;It makes test_float be more verbose, but also print
&lt;br&gt;out some trig that we could compare to expected.
&lt;br&gt;&lt;br&gt;I ran this on netbsd-5 i386 and sparc64, and got the same results,
&lt;br&gt;available at:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &lt;a href=&quot;http://www.lexort.com/gpsd/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.lexort.com/gpsd/&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;Index: test_float.c
&lt;br&gt;===================================================================
&lt;br&gt;--- test_float.c	(revision 6694)
&lt;br&gt;+++ test_float.c	(working copy)
&lt;br&gt;@@ -30,9 +30,10 @@
&lt;br&gt;&amp;nbsp;int main( void );
&lt;br&gt;&amp;nbsp;int test_single( void );
&lt;br&gt;&amp;nbsp;int test_double( void );
&lt;br&gt;+int test_trig( void );
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;int main() {
&lt;br&gt;-	int i, j;
&lt;br&gt;+	int i, j, k;
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;	if ((i = test_single()))
&lt;br&gt;&amp;nbsp;		printf(&amp;quot;WARNING: Single-precision &amp;quot;
&lt;br&gt;@@ -42,7 +43,12 @@
&lt;br&gt;&amp;nbsp;		printf(&amp;quot;WARNING: Double-precision &amp;quot;
&lt;br&gt;&amp;nbsp;			&amp;quot;floating point math might be broken\n&amp;quot;);
&lt;br&gt;&amp;nbsp;
&lt;br&gt;+	if ((k = test_trig()))
&lt;br&gt;+		printf(&amp;quot;WARNING: trig &amp;quot;
&lt;br&gt;+			&amp;quot;floating point math might be broken\n&amp;quot;);
&lt;br&gt;+
&lt;br&gt;&amp;nbsp;	i += j;
&lt;br&gt;+	i += k;
&lt;br&gt;&amp;nbsp;	if (i == 0)
&lt;br&gt;&amp;nbsp;		printf(&amp;quot;floating point math appears to work\n&amp;quot;);
&lt;br&gt;&amp;nbsp;	return i;
&lt;br&gt;@@ -254,3 +260,30 @@
&lt;br&gt;&amp;nbsp;	}
&lt;br&gt;&amp;nbsp;	return 0;
&lt;br&gt;&amp;nbsp;}
&lt;br&gt;+
&lt;br&gt;+#include &amp;lt;math.h&amp;gt;
&lt;br&gt;+
&lt;br&gt;+#define Deg2Rad(x) ((x) * (2 * M_PI / 360.0))
&lt;br&gt;+
&lt;br&gt;+int test_trig() {
&lt;br&gt;+	int i;
&lt;br&gt;+	double arg;
&lt;br&gt;+	double res;
&lt;br&gt;+
&lt;br&gt;+	for (i = 0; i &amp;lt;= 360; i++) {
&lt;br&gt;+		arg = Deg2Rad(i);
&lt;br&gt;+		res = sin(arg);
&lt;br&gt;+		printf(&amp;quot;sin(%.14f) = %.14f\n&amp;quot;, arg, res);
&lt;br&gt;+	}
&lt;br&gt;+
&lt;br&gt;+	for (i = 0; i &amp;lt;= 360; i++) {
&lt;br&gt;+		arg = Deg2Rad(i);
&lt;br&gt;+		res = cos(arg);
&lt;br&gt;+		printf(&amp;quot;cos(%.14f) = %.14f\n&amp;quot;, arg, res);
&lt;br&gt;+	}
&lt;br&gt;+
&lt;br&gt;+	/* Always claim success. */
&lt;br&gt;+	return 0;
&lt;br&gt;+}
&lt;br&gt;+
&lt;br&gt;+
&lt;br&gt;&lt;br&gt;&lt;br /&gt; &lt;br /&gt;_______________________________________________
&lt;br&gt;Gpsd-dev mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26643202&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Gpsd-dev@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.berlios.de/mailman/listinfo/gpsd-dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.berlios.de/mailman/listinfo/gpsd-dev&lt;/a&gt;&lt;br&gt;&lt;div class=&quot;small&quot;&gt;&lt;br/&gt;&lt;img src=&quot;http://old.nabble.com/images/icon_attachment.gif&quot; &gt; &lt;strong&gt;attachment0&lt;/strong&gt; (200 bytes) &lt;a href=&quot;http://old.nabble.com/attachment/26643202/0/attachment0&quot; target=&quot;_top&quot;&gt;Download Attachment&lt;/a&gt;&lt;/div&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/GPSd---Dev-f2021.html&quot; embed=&quot;fixTarget[2021]&quot; target=&quot;_top&quot; &gt;GPSd - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/sin-cos-issues-tp26643202p26643202.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26642927</id>
	<title>Re: regression failures</title>
	<published>2009-12-04T06:01:08Z</published>
	<updated>2009-12-04T06:01:08Z</updated>
	<author>
		<name>Greg Troxel</name>
	</author>
	<content type="html">&lt;br&gt;Michael Ledford &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26642927&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;michael@...&lt;/a&gt;&amp;gt; writes:
&lt;br&gt;&lt;br&gt;&amp;gt; I did more logging that shows the differences of calculations coming &amp;nbsp;
&lt;br&gt;&amp;gt; from the sin() and cos() functions inside earth_distance(). And as you &amp;nbsp;
&lt;br&gt;&amp;gt; can tell they add (or multiply) to a bigger difference coming out of &amp;nbsp;
&lt;br&gt;&amp;gt; the function.
&lt;br&gt;&lt;br&gt;I'm glad you are digging into this - it seems very tricky.
&lt;br&gt;&lt;br&gt;@esr: We should be careful about saying &amp;quot;numerically unstable&amp;quot;:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &lt;a href=&quot;http://en.wikipedia.org/wiki/Numerical_stability&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://en.wikipedia.org/wiki/Numerical_stability&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;I understand that we are having a situation where gpsd computes a
&lt;br&gt;different value from the same inputs on different systems, and that the
&lt;br&gt;cause of the difference is trig returning different values for the same
&lt;br&gt;inputs. &amp;nbsp;But that doesn't mean that the trig is at fault; it could be
&lt;br&gt;that those differences are allowable and that the use of them magnifies
&lt;br&gt;the resulting difference beyond reason - which would be the essence of
&lt;br&gt;being able to label the earth_distance *function* numerically unstable,
&lt;br&gt;not sin/cos.
&lt;br&gt;&lt;br&gt;It would be good to have a regression test for earth_distance.
&lt;br&gt;&lt;br&gt;Michael: How different are the results from sin and cos on various
&lt;br&gt;platforms?
&lt;br&gt;&lt;br /&gt; &lt;br /&gt;_______________________________________________
&lt;br&gt;Gpsd-dev mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26642927&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Gpsd-dev@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.berlios.de/mailman/listinfo/gpsd-dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.berlios.de/mailman/listinfo/gpsd-dev&lt;/a&gt;&lt;br&gt;&lt;div class=&quot;small&quot;&gt;&lt;br/&gt;&lt;img src=&quot;http://old.nabble.com/images/icon_attachment.gif&quot; &gt; &lt;strong&gt;attachment0&lt;/strong&gt; (200 bytes) &lt;a href=&quot;http://old.nabble.com/attachment/26642927/0/attachment0&quot; target=&quot;_top&quot;&gt;Download Attachment&lt;/a&gt;&lt;/div&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/GPSd---Dev-f2021.html&quot; embed=&quot;fixTarget[2021]&quot; target=&quot;_top&quot; &gt;GPSd - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Progress-towards-the-2.90-release-tp26624082p26642927.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26642763</id>
	<title>Re: regression failures</title>
	<published>2009-12-04T05:48:51Z</published>
	<updated>2009-12-04T05:48:51Z</updated>
	<author>
		<name>Greg Troxel</name>
	</author>
	<content type="html">&lt;br&gt;netbsd-5/sparc64 is down to two failures:
&lt;br&gt;&lt;br&gt;&amp;nbsp; bu303-nofix has different altitudes from the checked in &amp;quot;right
&lt;br&gt;&amp;nbsp; answer&amp;quot;. &amp;nbsp;It matches what I get on netbsd-5/amd64. &amp;nbsp;I also get a
&lt;br&gt;&amp;nbsp; failure on this test on linux/i386, but with a different answer.
&lt;br&gt;&lt;br&gt;&amp;nbsp; superstar2 output is totally missing. &amp;nbsp;Running just that by hand, I
&lt;br&gt;&amp;nbsp; think gpsd is failing to ever detect a packet in the dump. &amp;nbsp;Almost
&lt;br&gt;&amp;nbsp; surely this is an endian issue. &amp;nbsp;Has anyone else run on a big-endian
&lt;br&gt;&amp;nbsp; machine? &amp;nbsp;Fire up those old PPC macs!
&lt;br&gt;&lt;br&gt;The output is too big for the list, and is at:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &lt;a href=&quot;http://www.lexort.com/gpsd/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.lexort.com/gpsd/&lt;/a&gt;&lt;br&gt;&lt;br /&gt; &lt;br /&gt;_______________________________________________
&lt;br&gt;Gpsd-dev mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26642763&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Gpsd-dev@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.berlios.de/mailman/listinfo/gpsd-dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.berlios.de/mailman/listinfo/gpsd-dev&lt;/a&gt;&lt;br&gt;&lt;div class=&quot;small&quot;&gt;&lt;br/&gt;&lt;img src=&quot;http://old.nabble.com/images/icon_attachment.gif&quot; &gt; &lt;strong&gt;attachment0&lt;/strong&gt; (200 bytes) &lt;a href=&quot;http://old.nabble.com/attachment/26642763/0/attachment0&quot; target=&quot;_top&quot;&gt;Download Attachment&lt;/a&gt;&lt;/div&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/GPSd---Dev-f2021.html&quot; embed=&quot;fixTarget[2021]&quot; target=&quot;_top&quot; &gt;GPSd - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Progress-towards-the-2.90-release-tp26624082p26642763.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26639033</id>
	<title>Re: Using gpsd without real GPS; reading position from text file</title>
	<published>2009-12-04T00:08:01Z</published>
	<updated>2009-12-04T00:08:01Z</updated>
	<author>
		<name>Eric S. Raymond-2</name>
	</author>
	<content type="html">Antti Toivanen &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26639033&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;anttit@...&lt;/a&gt;&amp;gt;:
&lt;br&gt;&amp;gt; Thanks for your quick responses, I'll investigate how to get our flight
&lt;br&gt;&amp;gt; simulator to output gps-fake compatible data. Let's see if I succeed :-)
&lt;br&gt;&lt;br&gt;If you can get it to emulate plain-vanilla NMEA 0813, that will do.
&lt;br&gt;-- 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;a href=&amp;quot;&lt;a href=&quot;http://www.catb.org/~esr/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.catb.org/~esr/&lt;/a&gt;&amp;quot;&amp;gt;Eric S. Raymond&amp;lt;/a&amp;gt;
&lt;br&gt;_______________________________________________
&lt;br&gt;Gpsd-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26639033&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Gpsd-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.berlios.de/mailman/listinfo/gpsd-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.berlios.de/mailman/listinfo/gpsd-users&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/GPSd---Users-f2022.html&quot; embed=&quot;fixTarget[2022]&quot; target=&quot;_top&quot; &gt;GPSd - Users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Using-gpsd-without-real-GPS--reading-position-from-text-file-tp26630717p26639033.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26638968</id>
	<title>Re: Using gpsd without real GPS; reading position from 	text file</title>
	<published>2009-12-03T23:55:07Z</published>
	<updated>2009-12-03T23:55:07Z</updated>
	<author>
		<name>Antti Toivanen</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;&lt;br&gt;On Fri, Dec 4, 2009 at 01:56, Eric S. Raymond &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26638968&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;esr@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Easily. &amp;nbsp;This is what gpsfake is for - feeding logfiles to an instance of
&lt;br&gt;&amp;gt; gpsd as though they were GPS hardware. &amp;nbsp;Anything listening on port 2947
&lt;br&gt;&amp;gt; will
&lt;br&gt;&amp;gt; see the position dara from the logfile.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; We use gpsfake as a text jig, but you can apply it to gfake our a GPS
&lt;br&gt;&amp;gt; client program as well.
&lt;br&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;Excellent! This is just what I was looking for. I was a bit unsure if
&lt;br&gt;gpsfake can be feed the specific data we want but thanks for correcting me.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;gt; Awkwardly, we have a subproject called gpssim to do do just this - but
&lt;br&gt;&amp;gt; it's only about 75% finished. &amp;nbsp;What's missing is the ability to generate
&lt;br&gt;&amp;gt; skyviews so we can fake $GPGSV. &amp;nbsp;If you have someone who's a decent
&lt;br&gt;&amp;gt; Python programmer willing to learn basic orbital-calculation math, it
&lt;br&gt;&amp;gt; would probably be about ten man-days of work to finish.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;Unfortunately I don't speak Python (..yet :-) so I can't help you, but can
&lt;br&gt;you keep me up to date about this project? Sounds very interesting.
&lt;br&gt;&lt;br&gt;Thanks for your quick responses, I'll investigate how to get our flight
&lt;br&gt;simulator to output gps-fake compatible data. Let's see if I succeed :-)
&lt;br&gt;&lt;br&gt;Best regards,
&lt;br&gt;Antti
&lt;br&gt;_______________________________________________
&lt;br&gt;Gpsd-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26638968&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Gpsd-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.berlios.de/mailman/listinfo/gpsd-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.berlios.de/mailman/listinfo/gpsd-users&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/GPSd---Users-f2022.html&quot; embed=&quot;fixTarget[2022]&quot; target=&quot;_top&quot; &gt;GPSd - Users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Using-gpsd-without-real-GPS--reading-position-from-text-file-tp26630717p26638968.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26638862</id>
	<title>Re: regression failures</title>
	<published>2009-12-03T23:48:02Z</published>
	<updated>2009-12-03T23:48:02Z</updated>
	<author>
		<name>Eric S. Raymond-2</name>
	</author>
	<content type="html">Greg Troxel &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26638862&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;gdt@...&lt;/a&gt;&amp;gt;:
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; mkt-3301 and rgm3800 looks like a bogus test with times beyond Y2038.
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Yes. &amp;nbsp;I think these are due to a driver-level bug in how the time value
&lt;br&gt;&amp;gt; &amp;gt; is extracted fro m these devices. &amp;nbsp;They're ckuethe's patch.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; So the 'desired' outputs are wrong too, and when the bug is fixed, we'll
&lt;br&gt;&amp;gt; regen those?
&lt;br&gt;&lt;br&gt;Correct.
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; navcom looks like a real bug.
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; I think mledford has this diagnosed. &amp;nbsp;It's an instability problem
&lt;br&gt;&amp;gt; &amp;gt; arising from trig functions that IEEE754 doesn't guarantee will have
&lt;br&gt;&amp;gt; &amp;gt; stable outputs.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; So are we calling trig functions with values that don't make sense?
&lt;br&gt;&lt;br&gt;No, as mleford explained the trig functions themselves are numerically
&lt;br&gt;unstable.
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;gt; &amp;gt; All pass, consistemtly, on my Intel Core Duo 2 running Ubuntu 9.10.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; So is that in i386 mode or amd64 mode?
&lt;br&gt;&lt;br&gt;amd64.
&lt;br&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I get the same 4 failures (as netbsd-5-i386) on ubuntu/i386.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; On netbsd-5/amd64, I get 3 of the errors, but not navcom.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; On netbsd-5/amd64, I think time_t is still 32 bits. &amp;nbsp;On netbsd-current,
&lt;br&gt;&amp;gt; I think it's 64 bits (all all cpus), but I haven't run gpsd there yet.
&lt;br&gt;&lt;br&gt;Your results are consistent with a couple of those being 32-vs.64-bit issues.
&lt;br&gt;-- 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;a href=&amp;quot;&lt;a href=&quot;http://www.catb.org/~esr/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.catb.org/~esr/&lt;/a&gt;&amp;quot;&amp;gt;Eric S. Raymond&amp;lt;/a&amp;gt;
&lt;br&gt;&lt;br /&gt; &lt;br /&gt;_______________________________________________
&lt;br&gt;Gpsd-dev mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26638862&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Gpsd-dev@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.berlios.de/mailman/listinfo/gpsd-dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.berlios.de/mailman/listinfo/gpsd-dev&lt;/a&gt;&lt;br&gt;&lt;div class=&quot;small&quot;&gt;&lt;br/&gt;&lt;img src=&quot;http://old.nabble.com/images/icon_attachment.gif&quot; &gt; &lt;strong&gt;signature.asc&lt;/strong&gt; (196 bytes) &lt;a href=&quot;http://old.nabble.com/attachment/26638862/0/signature.asc&quot; target=&quot;_top&quot;&gt;Download Attachment&lt;/a&gt;&lt;/div&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/GPSd---Dev-f2021.html&quot; embed=&quot;fixTarget[2021]&quot; target=&quot;_top&quot; &gt;GPSd - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Progress-towards-the-2.90-release-tp26624082p26638862.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26637013</id>
	<title>Re: regression failures</title>
	<published>2009-12-03T18:28:29Z</published>
	<updated>2009-12-03T18:28:29Z</updated>
	<author>
		<name>Eric S. Raymond-2</name>
	</author>
	<content type="html">Greg Troxel &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26637013&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;gdt@...&lt;/a&gt;&amp;gt;:
&lt;br&gt;&amp;gt; &amp;nbsp; uBlox-lea-4t: GPGSA very different, all else ok (including SKY in
&lt;br&gt;&amp;gt; &amp;nbsp; json)
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; sample GPGSA difference:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; -$GPGSA,A,3,21,24,18,26,29,16,10,10,2146959360,2146959360,-1717986918,1073977753,-171798692,1072913448,1889785610,1073809981,687194767,1073123164,687194767,1074171740,1717986919,1078412902,2146959360,14,21,24,15,18,26,29,16,06,10,03,22,,,,,,,,,,,,,,,,2.5,1.2,2.1*05
&lt;br&gt;&amp;gt; +$GPGSA,A,3,21,24,18,26,29,16,10,10,2146959360,2146959360,1073977753,-1717986918,1072913448,-171798692,1073809981,1889785610,1073123164,687194767,1074171740,687194767,1078412902,1717986919,2146959360,14,21,24,15,18,26,29,16,06,10,03,22,,,,,,,,,,,,,,,,2.5,1.2,2.1*05^M
&lt;br&gt;&lt;br&gt;Nailed. &amp;nbsp;This was a uBlox driver bug; USED_SET was getting set when it 
&lt;br&gt;shouldn't have been.
&lt;br&gt;-- 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;a href=&amp;quot;&lt;a href=&quot;http://www.catb.org/~esr/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.catb.org/~esr/&lt;/a&gt;&amp;quot;&amp;gt;Eric S. Raymond&amp;lt;/a&amp;gt;
&lt;br&gt;&lt;br /&gt; &lt;br /&gt;_______________________________________________
&lt;br&gt;Gpsd-dev mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26637013&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Gpsd-dev@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.berlios.de/mailman/listinfo/gpsd-dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.berlios.de/mailman/listinfo/gpsd-dev&lt;/a&gt;&lt;br&gt;&lt;div class=&quot;small&quot;&gt;&lt;br/&gt;&lt;img src=&quot;http://old.nabble.com/images/icon_attachment.gif&quot; &gt; &lt;strong&gt;signature.asc&lt;/strong&gt; (196 bytes) &lt;a href=&quot;http://old.nabble.com/attachment/26637013/0/signature.asc&quot; target=&quot;_top&quot;&gt;Download Attachment&lt;/a&gt;&lt;/div&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/GPSd---Dev-f2021.html&quot; embed=&quot;fixTarget[2021]&quot; target=&quot;_top&quot; &gt;GPSd - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Progress-towards-the-2.90-release-tp26624082p26637013.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26636728</id>
	<title>Re: regression failures</title>
	<published>2009-12-03T17:47:55Z</published>
	<updated>2009-12-03T17:47:55Z</updated>
	<author>
		<name>Eric S. Raymond-2</name>
	</author>
	<content type="html">Greg Troxel &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26636728&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;gdt@...&lt;/a&gt;&amp;gt;:
&lt;div class='shrinkable-quote'&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I ran regression tests on NetBSD-5/sparc64 (LP64, big endian). &amp;nbsp;The
&lt;br&gt;&amp;gt; navcom test passed, and the three that fail on my other platforms
&lt;br&gt;&amp;gt; failed, plus:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp; superstar2: no output from test at all
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp; uBlox-lea-4t: GPGSA very different, all else ok (including SKY in
&lt;br&gt;&amp;gt; &amp;nbsp; json)
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; sample GPGSA difference:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; -$GPGSA,A,3,21,24,18,26,29,16,10,10,2146959360,2146959360,-1717986918,1073977753,-171798692,1072913448,1889785610,1073809981,687194767,1073123164,687194767,1074171740,1717986919,1078412902,2146959360,14,21,24,15,18,26,29,16,06,10,03,22,,,,,,,,,,,,,,,,2.5,1.2,2.1*05
&lt;br&gt;&amp;gt; +$GPGSA,A,3,21,24,18,26,29,16,10,10,2146959360,2146959360,1073977753,-1717986918,1072913448,-171798692,1073809981,1889785610,1073123164,687194767,1074171740,687194767,1078412902,1717986919,2146959360,14,21,24,15,18,26,29,16,06,10,03,22,,,,,,,,,,,,,,,,2.5,1.2,2.1*05^M
&lt;/div&gt;&lt;/div&gt;&lt;br&gt;Those large values for satellite IDs are clearly garbage. &amp;nbsp;Somehow the
&lt;br&gt;GPGSA dump code is deriving a wrong number of satellites. &amp;nbsp;I'll look
&lt;br&gt;into this.
&lt;br&gt;-- 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;a href=&amp;quot;&lt;a href=&quot;http://www.catb.org/~esr/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.catb.org/~esr/&lt;/a&gt;&amp;quot;&amp;gt;Eric S. Raymond&amp;lt;/a&amp;gt;
&lt;br&gt;&lt;br /&gt; &lt;br /&gt;_______________________________________________
&lt;br&gt;Gpsd-dev mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26636728&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Gpsd-dev@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.berlios.de/mailman/listinfo/gpsd-dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.berlios.de/mailman/listinfo/gpsd-dev&lt;/a&gt;&lt;br&gt;&lt;div class=&quot;small&quot;&gt;&lt;br/&gt;&lt;img src=&quot;http://old.nabble.com/images/icon_attachment.gif&quot; &gt; &lt;strong&gt;signature.asc&lt;/strong&gt; (196 bytes) &lt;a href=&quot;http://old.nabble.com/attachment/26636728/0/signature.asc&quot; target=&quot;_top&quot;&gt;Download Attachment&lt;/a&gt;&lt;/div&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/GPSd---Dev-f2021.html&quot; embed=&quot;fixTarget[2021]&quot; target=&quot;_top&quot; &gt;GPSd - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Progress-towards-the-2.90-release-tp26624082p26636728.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26636459</id>
	<title>Re: regression failures</title>
	<published>2009-12-03T17:19:22Z</published>
	<updated>2009-12-03T17:19:22Z</updated>
	<author>
		<name>Greg Troxel</name>
	</author>
	<content type="html">&lt;br&gt;I ran regression tests on NetBSD-5/sparc64 (LP64, big endian). &amp;nbsp;The
&lt;br&gt;navcom test passed, and the three that fail on my other platforms
&lt;br&gt;failed, plus:
&lt;br&gt;&lt;br&gt;&amp;nbsp; superstar2: no output from test at all
&lt;br&gt;&lt;br&gt;&amp;nbsp; uBlox-lea-4t: GPGSA very different, all else ok (including SKY in
&lt;br&gt;&amp;nbsp; json)
&lt;br&gt;&lt;br&gt;sample GPGSA difference:
&lt;br&gt;&lt;br&gt;-$GPGSA,A,3,21,24,18,26,29,16,10,10,2146959360,2146959360,-1717986918,1073977753,-171798692,1072913448,1889785610,1073809981,687194767,1073123164,687194767,1074171740,1717986919,1078412902,2146959360,14,21,24,15,18,26,29,16,06,10,03,22,,,,,,,,,,,,,,,,2.5,1.2,2.1*05
&lt;br&gt;+$GPGSA,A,3,21,24,18,26,29,16,10,10,2146959360,2146959360,1073977753,-1717986918,1072913448,-171798692,1073809981,1889785610,1073123164,687194767,1074171740,687194767,1078412902,1717986919,2146959360,14,21,24,15,18,26,29,16,06,10,03,22,,,,,,,,,,,,,,,,2.5,1.2,2.1*05^M
&lt;br&gt;&lt;br /&gt; &lt;br /&gt;_______________________________________________
&lt;br&gt;Gpsd-dev mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26636459&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Gpsd-dev@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.berlios.de/mailman/listinfo/gpsd-dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.berlios.de/mailman/listinfo/gpsd-dev&lt;/a&gt;&lt;br&gt;&lt;div class=&quot;small&quot;&gt;&lt;br/&gt;&lt;img src=&quot;http://old.nabble.com/images/icon_attachment.gif&quot; &gt; &lt;strong&gt;attachment0&lt;/strong&gt; (200 bytes) &lt;a href=&quot;http://old.nabble.com/attachment/26636459/0/attachment0&quot; target=&quot;_top&quot;&gt;Download Attachment&lt;/a&gt;&lt;/div&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/GPSd---Dev-f2021.html&quot; embed=&quot;fixTarget[2021]&quot; target=&quot;_top&quot; &gt;GPSd - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Progress-towards-the-2.90-release-tp26624082p26636459.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26635523</id>
	<title>Re: Using gpsd without real GPS; reading position from text file</title>
	<published>2009-12-03T16:00:32Z</published>
	<updated>2009-12-03T16:00:32Z</updated>
	<author>
		<name>Eric S. Raymond-2</name>
	</author>
	<content type="html">Eric S. Raymond &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26635523&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;esr@...&lt;/a&gt;&amp;gt;:
&lt;br&gt;&amp;gt; We use gpsfake as a text jig, but you can apply it to gfake our a GPS
&lt;br&gt;&amp;gt; client program as well.
&lt;br&gt;&lt;br&gt;I meant &amp;quot;We use gpsfake as a *test* jig, but you can apply it to *fake
&lt;br&gt;out* a GPS client program as well.&amp;quot; &amp;nbsp;Typos are the bane of my life...
&lt;br&gt;-- 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;a href=&amp;quot;&lt;a href=&quot;http://www.catb.org/~esr/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.catb.org/~esr/&lt;/a&gt;&amp;quot;&amp;gt;Eric S. Raymond&amp;lt;/a&amp;gt;
&lt;br&gt;_______________________________________________
&lt;br&gt;Gpsd-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26635523&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Gpsd-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.berlios.de/mailman/listinfo/gpsd-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.berlios.de/mailman/listinfo/gpsd-users&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/GPSd---Users-f2022.html&quot; embed=&quot;fixTarget[2022]&quot; target=&quot;_top&quot; &gt;GPSd - Users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Using-gpsd-without-real-GPS--reading-position-from-text-file-tp26630717p26635523.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26635468</id>
	<title>Re: Using gpsd without real GPS; reading position from text file</title>
	<published>2009-12-03T15:56:27Z</published>
	<updated>2009-12-03T15:56:27Z</updated>
	<author>
		<name>Eric S. Raymond-2</name>
	</author>
	<content type="html">Antti Toivanen &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26635468&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;anttit@...&lt;/a&gt;&amp;gt;:
&lt;br&gt;&amp;gt; I am wondering if it's possible to use gpsd without actual GPS device, but
&lt;br&gt;&amp;gt; just to broadcast position data (read from text file for example) to other
&lt;br&gt;&amp;gt; device via ethernet.
&lt;br&gt;&lt;br&gt;Easily. &amp;nbsp;This is what gpsfake is for - feeding logfiles to an instance of 
&lt;br&gt;gpsd as though they were GPS hardware. &amp;nbsp;Anything listening on port 2947 will
&lt;br&gt;see the position dara from the logfile.
&lt;br&gt;&lt;br&gt;We use gpsfake as a text jig, but you can apply it to gfake our a GPS
&lt;br&gt;client program as well.
&lt;br&gt;&lt;br&gt;&amp;gt; I've googled around a bit and found a few different softwares for creating
&lt;br&gt;&amp;gt; fake gps-data for testing purposes. Do you have any idea how we could create
&lt;br&gt;&amp;gt; our own fake gps-data from our simulator's position?
&lt;br&gt;&lt;br&gt;Awkwardly, we have a subproject called gpssim to do do just this - but
&lt;br&gt;it's only about 75% finished. &amp;nbsp;What's missing is the ability to generate
&lt;br&gt;skyviews so we can fake $GPGSV. &amp;nbsp;If you have someone who's a decent
&lt;br&gt;Python programmer willing to learn basic orbital-calculation math, it
&lt;br&gt;would probably be about ten man-days of work to finish.
&lt;br&gt;-- 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;a href=&amp;quot;&lt;a href=&quot;http://www.catb.org/~esr/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.catb.org/~esr/&lt;/a&gt;&amp;quot;&amp;gt;Eric S. Raymond&amp;lt;/a&amp;gt;
&lt;br&gt;_______________________________________________
&lt;br&gt;Gpsd-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26635468&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Gpsd-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.berlios.de/mailman/listinfo/gpsd-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.berlios.de/mailman/listinfo/gpsd-users&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/GPSd---Users-f2022.html&quot; embed=&quot;fixTarget[2022]&quot; target=&quot;_top&quot; &gt;GPSd - Users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Using-gpsd-without-real-GPS--reading-position-from-text-file-tp26630717p26635468.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26631298</id>
	<title>Re: Using gpsd without real GPS; reading position from text file</title>
	<published>2009-12-03T11:01:33Z</published>
	<updated>2009-12-03T11:01:33Z</updated>
	<author>
		<name>Gary E. Miller</name>
	</author>
	<content type="html">-----BEGIN PGP SIGNED MESSAGE-----
&lt;br&gt;Hash: SHA1
&lt;br&gt;&lt;br&gt;Yo Antt!
&lt;br&gt;&lt;br&gt;On Thu, 3 Dec 2009, Antti Toivanen wrote:
&lt;br&gt;&lt;br&gt;&amp;gt; I am wondering if it's possible to use gpsd without actual GPS device, but
&lt;br&gt;&amp;gt; just to broadcast position data (read from text file for example) to other
&lt;br&gt;&amp;gt; device via ethernet.
&lt;br&gt;&lt;br&gt;Check out gpsfake in the gpsd package. &amp;nbsp;The gpsd project uses it heavily
&lt;br&gt;for regression tests.
&lt;br&gt;&lt;br&gt;RGDS
&lt;br&gt;GARY
&lt;br&gt;- ---------------------------------------------------------------------------
&lt;br&gt;Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97701
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26631298&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;gem@...&lt;/a&gt; &amp;nbsp;Tel:+1(541)382-8588
&lt;br&gt;&lt;br&gt;-----BEGIN PGP SIGNATURE-----
&lt;br&gt;Version: GnuPG v1.4.3 (GNU/Linux)
&lt;br&gt;&lt;br&gt;iD8DBQFLGAsRBmnRqz71OvMRAo/+AJ4nP6YmMMQ48irGfZoFU1TLk3xKmACfU9Fg
&lt;br&gt;od4X4yabRhTDRzdzqVBgyFw=
&lt;br&gt;=ZRZY
&lt;br&gt;-----END PGP SIGNATURE-----
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Gpsd-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26631298&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Gpsd-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.berlios.de/mailman/listinfo/gpsd-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.berlios.de/mailman/listinfo/gpsd-users&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/GPSd---Users-f2022.html&quot; embed=&quot;fixTarget[2022]&quot; target=&quot;_top&quot; &gt;GPSd - Users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Using-gpsd-without-real-GPS--reading-position-from-text-file-tp26630717p26631298.html" />
</entry>

</feed>
