Sophie

Sophie

distrib > Fedora > 14 > x86_64 > by-pkgid > 3ebaf504d69f581a8834e53e04e712a5 > files > 411

gearbox-devel-9.11-6.fc14.i686.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>GearBox Project</title>

<link rel="icon" href="gbx_icon_cardbox_sky.png" type="image/png">
<link rel="shortcut icon" href="gbx_icon_cardbox_sky.png" type="image/png">

<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
<!-- Google Analytics -->
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
var pageTracker = _gat._getTracker("UA-3583782-1");
pageTracker._initData();
pageTracker._trackPageview();
</script>
<!-- Returning you to your regular programming -->
</head><body>

<!-- Header -->

<table border="0" cellspacing="0" cellpadding="0">

<tr><!-- create row -->

<!-- spacer cell -->
<!-- #CC CC CC -->
<td rowspan="1" colspan="1" bgcolor="#EEEEEE">&nbsp;&nbsp;&nbsp;&nbsp;</td>

<!-- menu cell -->
<td width="170" rowspan="1" colspan="1" align="left" valign="top" bgcolor="#EEEEEE">


<p>&nbsp;</p>
<p align="center"><a href="index.html"><img src="gbx_logo_cardbox_sky_150x150.png"></a></p><br>

<strong>INTRODUCTION</strong><br>
<strong><a href="gbx_doc_overview.html" style="text-decoration:none">Overview</a></strong><br>
<strong><a href="gbx_doc_getting.html" style="text-decoration:none">Download and Install</a></strong><br>
<!-- <strong><a href="gbx_doc_quickstart.html" style="text-decoration:none">Quick Start</a></strong><br> -->
<strong><a href="gbx_doc_documentation.html" style="text-decoration:none">Documentation</a></strong><br>
<strong><a href="gbx_doc_publications.html" style="text-decoration:none">Publications</a></strong><br>
<br>

<strong>REPOSITORY</strong><br>
<strong><a href="group__gbx__libs.html" style="text-decoration:none">Libraries</a></strong><br>
<!-- <strong><a href="group__gbx__utils.html" style="text-decoration:none">Utilities</a></strong><br> -->
<br>

<strong>DEVELOPER</strong><br>

<!--<strong><a href="gbx_doc_tutorials.html" style="text-decoration:none">Tutorials</a></strong><br>
<strong><a href="group__gbx__examples.html" style="text-decoration:none">Examples</a></strong><br>-->
<strong><a href="gbx_doc_devguide.html" style="text-decoration:none">Dev Guide</a></strong><br>
<!-- 
<strong><a href="gbx_doc_faq.html" style="text-decoration:none">FAQ</a></strong><br>
-->
<strong><a href="http://cdash.acfr.usyd.edu.au/index.php?project=Gearbox" style="text-decoration:none">Dashboard</a></strong><br>
<!--<strong><a href="http://wiki2.cas.edu.au/orca">Wiki</a></strong><br>
login/pass: orca/orca<br>-->
<br>

<strong>PEOPLE</strong><br>
<strong><a href="gbx_doc_contributors.html" style="text-decoration:none">Contributors</a></strong><br>
<strong><a href="gbx_doc_users.html" style="text-decoration:none">Users</a></strong><br>
<br>

<a href="http://sourceforge.net"><img src="http://sourceforge.net/sflogo.php?group_id=216468&amp;type=2" width="125" height="37" border="0" alt="SourceForge.net Logo" /></a><br>
<strong><a href="http://sourceforge.net/projects/gearbox">Project</a></strong><br>
<strong><a href="http://sourceforge.net/project/showfiles.php?group_id=216468">Download</a></strong><br>
<!--<strong><a href="http://sourceforge.net/tracker/?group_id=216468">Bugs/Feedback</a></strong><br>-->
<strong><a href="http://sourceforge.net/mail/?group_id=216468">Mailing lists</a></strong></p>
<p>&nbsp;</p>

</td><!-- /menu cell -->

<!-- one grey spacer cells -->
<td rowspan="1" colspan="1" bgcolor="#EEEEEE">&nbsp;&nbsp;&nbsp;&nbsp;</td>

<!-- one white spacer cells -->
<td rowspan="1" colspan="1">&nbsp;&nbsp;&nbsp;&nbsp;</td>

<!-- main content cell -->
<td rowspan="1" colspan="1" align="left" valign="top">


<!-- Generated by Doxygen 1.6.2-20100208 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
      <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li><a href="dirs.html"><span>Directories</span></a></li>
    </ul>
  </div>
</div>
<div class="contents">
<h1>GbxGarminAcfr<br/>
<small>
[<a class="el" href="group__gbx__libs.html">Libraries</a>,&nbsp;<a class="el" href="group__gbx__hardware.html">Hardware Drivers</a>,&nbsp;<a class="el" href="group__gbx__cpp.html">C++</a>,&nbsp;<a class="el" href="group__gbx__linux.html">Linux</a>]</small>
</h1>
<p>Garmin GPS receiver.  
<a href="#_details">More...</a></p>
<table border="0" cellpadding="0" cellspacing="0">
</table>
<p>Garmin GPS receiver. </p>
<p>Uses Garmin serial implementation. Written for Garmin-GPS15L. Tries to establish communication at 4800 baud (non-configurable).</p>
<p>For a full list of classes and functions, see <a class="el" href="namespacegbxgarminacfr.html">gbxgarminacfr</a>.</p>
<dl class="user"><dt><b>Header file</b></dt><dd></dd></dl>
<div class="fragment"><pre class="fragment">
#include &lt;gbxgarminacfr/driver.h&gt;
</pre></div><dl class="user"><dt><b>Style</b></dt><dd>See <a href="http://orca-robotics.sourceforge.net/orca/orca_doc_style.html">http://orca-robotics.sourceforge.net/orca/orca_doc_style.html</a></dd></dl>
<dl class="user"><dt><b>Units and Coordinate System</b></dt><dd>See <a href="http://orca-robotics.sourceforge.net/orca/orca_doc_units.html">http://orca-robotics.sourceforge.net/orca/orca_doc_units.html</a></dd></dl>
<dl class="user"><dt><b>Copyright</b></dt><dd>Duncan Mercer, Alex Brooks, Alexei Makarenko, Tobias Kaupp</dd></dl>
<dl class="user"><dt><b>Responsible Developer</b></dt><dd>Alex Makarenko</dd></dl>
<dl class="user"><dt><b>License</b></dt><dd>LGPL</dd></dl>
<dl class="user"><dt><b>Dependencies</b></dt><dd></dd></dl>
<ul>
<li><a class="el" href="group__gbx__library__gbxserialacfr.html">libGbxSerialAcfr</a></li>
</ul>
<dl class="user"><dt><b>Example</b></dt><dd></dd></dl>
<p>See test/test.cpp and test/example.readme on how to compile the test program.</p>
<p>To run the test program (assuming the GPS device is connected to /dev/ttyS0) : </p>
<div class="fragment"><pre class="fragment">
$ gbxgarminacfrtest -p /dev/ttyS0
</pre></div><p>The test program reports back all messages received from the driver and prints out a few data fields for each message. When the fix type is reported as 0 ("Invalid"), only the number of satellites and the time stamp are meaningful.</p>
<dl class="user"><dt><b>References</b></dt><dd><ul>
<li></li>
<li><a href="http://www.novatel.com/Documents/Manuals/GPS+Reference.pdf">http://www.novatel.com/Documents/Manuals/GPS+Reference.pdf</a></li>
<li><a href="http://en.wikipedia.org/wiki/NMEA">http://en.wikipedia.org/wiki/NMEA</a></li>
<li><a href="http://www.gpsinformation.org/dale/interface.htm">http://www.gpsinformation.org/dale/interface.htm</a></li>
<li><a href="http://www.vanhuystee.com/faq_nmea183.html">http://www.vanhuystee.com/faq_nmea183.html</a></li>
</ul>
</dd></dl>
<h2><a class="anchor" id="gbx_library_gbxgarminacfr_epe">
What is EPE?</a></h2>
<p>Bits of information assembled by Duncan Mercer.</p>
<p>A quote from Garmin Engineering:</p>
<p>The EPE is an estimation based upon the information the receiver can determine. SA consists of artificial clock errors and artificial ephemeral errors. Both of these effects, as well as atmospheric effects, can result in a positional area of uncer- tainty, which can be measured and will add to the receivers EPE. Bias errors cannot be measured and will typically not be detected in the EPE calculation.</p>
<p>The 12XL will typically have a better EPE than other units due to the 12 channel correlator and the use of all tracked satellites in the positional computation.</p>
<p>EPE is an estimation, rather than a measurement, but all measurable factors are used in the estimation algorithm. We consider the details of our EPE and FOM calculations proprietary.</p>
<p>We calculate EPE our own way. URE and HDOP are definitely significant factors in the calculation. We calculate an over- determined solution, and fully understand the characteristics of SA, and are able (in our opinion) to provide for a better estimate of current position error than the simplistic calcula- tions will indicate.</p>
<p>Many folks have and will demand to know our specific calcula- tions, but we consider these to be proprietary and we do not release the specific formulas. This is similar in our FOM calculation, we use a lot of finesse in our software which other manufacturers have not been able to duplicate. This is further evidenced by Dr. Wilson's reports on our accuracy compared to other receivers. If the tests were performed, I believe you would see closer correlation between our EPE values and actual errors, as compared to other manufacturers units. </p>
<p>From Joe Mehaffey:</p>
<div class="fragment"><pre class="fragment">
One  experimenter  has  found that about 2/3 of  the  time,   the 
ACTUAL error is less than the EPE readout on a Garmin 45 GPS unit 
tested.  Your figures may vary.  So..  EPE really is an  estimate 
not a guarantee or a measurement.
</pre></div><p>Sam Wormley offers the following additional information on EPE:</p>
<div class="fragment"><pre class="fragment">
Garmin  does  not  give an explanation for  the  EPE  calculation 
displayed  on  a number of their handheld receivers.  EPE  is  an 
acronym for "Estimated  Position Error".  See page 18 of the  GPS 
12XL  Owner's Manual and Reference.  The behavior of EPE  is  not 
identical  on all of Garmin's receivers... some reflect the  dgps 
mode and others do not.

A  number  of  sources  indicate the error  in  position  can  be 
estimated  by the  simple calculation DOP * URA with  the  former 
calculated  in the GPS receiver from the geometry of  the  satel-
lites  used  in the position solution and the later  derived  and 
computed from the GPS message transmitted by each satellite. 

DOP  - Dilution of Precision - TDOP, PDOP, HDOP, VDOP, etc.  are, 
in  effect,  multipliers  that, when used with  some  measure  of 
positioning  statistic, can give you a realistic  expectation  of 
probability of error.

URA - User Range Accuracy - this is a quantity that is  transmit-
ted  in  the  navigation  message  that  is  the  predicted  (not 
measured) statistical ranging accuracy.  Since it is defined  for 
SPS (Standard Positioning Service), it  includes SA.
</pre></div><p>More from Sam Wormley (<a href="http://www.cnde.iastate.edu/gps.html">http://www.cnde.iastate.edu/gps.html</a>)</p>
<div class="fragment"><pre class="fragment">
The  NMEA sentence $GPGGA recorded periodically over at  least  a 
twenty-four-hour  period  may  provide  enough  data  to  draw  a 
conclusion.   This is a good experiment for all to try  who  have 
the capability to capture data.... you will learn much.

Many  of you may have better approaches than mine to  gather  and 
analyse data to resolve the EPE issue.... and, of course it  goes 
without saying, we would hold Garmin in high[er] esteem if Garmin 
would  give a complete technical discription of the  calculation.  
And... if that technical language is over the typical  readership 
heads, I'm sure there are many qualified to translate.
</pre></div><p>Bill Stone wrote [March 1997]:</p>
<div class="fragment"><pre class="fragment">
What does Garmin mean by EPE?  

EPE  =  HDOP  * URA (1-sigma)  would give a measure  of  the  68% 
confidence  circle, i.e., 68% of your position fixes  would  fall 
within and 32% would fall outside.

EPE  =  HDOP  *  URA (1-sigma) * 2 gives a  measure  of  the  95% 
confidence  circle,  i.e., 95% of your position fixes would  fall 
within and 5% would fall outside.

EPE  =  HDOP * URA (1-sigma) * 0.73 gives a measure  of  the  50% 
confidence  circle, i.e., 50% of your position fixes  would  fall 
within  and  50% would fall outside.  This is also known  in  the 
literature as CEP (Circular Error Probable).

This latter expression is what several of you have indicated that 
you think Garmin's EPE calculation is for the Garmin 12XL.  There 
may  also  be  an "EPE filter" to minimize the  EPE  figure  from 
jumping about to much.

There should be a "reasonable correlation" between HDOP and outer 
radial  position from a known geodetic point (could be determined 
over a long period  of time by statisical averaging).  I use  the 
word  "reasonable"  because the  comparison involves  the  points 
wandering  around mostly within a circle of  confidence,  whereas 
HDOP will relate to the radius of that circle of confidence.
</pre></div><p>To further complicate the analysis, witout an absolutely clear view of the sky, you can expect the HDOP to take jumps as satellites are obstructed from view. This might not be a bad idea to collect data under conditions less than desireable. John Franke reports:</p>
<div class="fragment"><pre class="fragment">
It  is  interesting  to  see  what  happens  under   certain 
alinements.   I  recently had a case where the  receiver  (6 
channel,  parallel) was tracking 4 satellites but was  doing 
2D  NAV and the HDOP was 32.  A quick look at the  satellite 
position  screen showed the 4 tracked satellites to be in  a 
straight  line.  There were other satellites  available  but 
the view to them was blocked by buildings.  So, knowing  the 
orbits  repeat but are several minutes earlier each  day,  I 
watched  the next day to see the alinement develop  and  the 
PDOP change.  In less than twenty minutes the receiver  went 
from  3D NAV with a PDOP of 2.3 to 2D NAV and a HDOP  of  30 
back  to  3D  NAV and PDOP of  2.4!   Quite  impressive  and 
educational to observe.
</pre></div><h2><a class="anchor" id="gbx_library_gbxgarminacfr_checksum">
On message checksum</a></h2>
<p>from Garmin: <a href="http://www8.garmin.com/support/faqs/faq.jsp?faq=40">http://www8.garmin.com/support/faqs/faq.jsp?faq=40</a></p>
<p>Q. How is the checksum calculated in NMEA 0183? A. The checksum is the 8-bit exclusive OR (no start or stop bits) of all characters in the sentence, including the "," delimiters, between -- but not including -- the "$" and "*" delimiters. The hexadecimal value of the most significant and least significant 4 bits of the result are converted to two ASCII characters (0-9, A-F) for transmission. The most significant character is transmitted first.</p>
<h2><a class="anchor" id="gbx_library_gbxgarminacfr_troubleshooting">
Troubleshooting</a></h2>
<p>To verify connectivity to the GPS device manually:</p>
<ul>
<li>Connect using a terminal emulator (eg minicom) at 4800 8N1.</li>
<li>type the following (and hit return): $PGRMO,GPGGA,1</li>
</ul>
<p>The second step enables output from the GPS module. You should see a bunch of stuff like: </p>
<div class="fragment"><pre class="fragment">
$GPGGA,043932,3353.3699,S,15111.5817,E,1,11,0.8,47.2,M,19.8,M,,*64
$GPGGA,043933,3353.3699,S,15111.5817,E,1,11,0.8,47.2,M,19.8,M,,*65
$GPGGA,043934,3353.3699,S,15111.5817,E,1,11,0.8,47.1,M,19.8,M,,*61
$GPGGA,043935,3353.3699,S,15111.5817,E,1,11,0.8,47.1,M,19.8,M,,*60
$GPGGA,043936,3353.3699,S,15111.5817,E,1,11,0.8,47.0,M,19.8,M,,*62
$GPGGA,043937,3353.3699,S,15111.5817,E,1,11,0.8,47.0,M,19.8,M,,*63
</pre></div><p> scrolling past. </p>
</div>

            </td>
            <td colspan="1">&nbsp;</td>
         </tr>
        </table>
<!-- end of table -->

 <hr size="1"><address style="align: right;"><small>Generated for GearBox by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.5 </small></address>
</body>
</html>