source: flair-dev/trunk/doc/Flair/_gps_8h_source.html@ 16

Last change on this file since 16 was 16, checked in by Sanahuja Guillaume, 9 years ago

complementary filter

File size: 39.6 KB
Line 
1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2<html xmlns="http://www.w3.org/1999/xhtml">
3<head>
4<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
5<meta http-equiv="X-UA-Compatible" content="IE=9"/>
6<meta name="generator" content="Doxygen 1.8.7"/>
7<title>Flair: Gps.h Source File</title>
8<link href="tabs.css" rel="stylesheet" type="text/css"/>
9<script type="text/javascript" src="jquery.js"></script>
10<script type="text/javascript" src="dynsections.js"></script>
11<link href="navtree.css" rel="stylesheet" type="text/css"/>
12<script type="text/javascript" src="resize.js"></script>
13<script type="text/javascript" src="navtree.js"></script>
14<script type="text/javascript">
15 $(document).ready(initResizable);
16 $(window).load(resizeHeight);
17</script>
18<link href="search/search.css" rel="stylesheet" type="text/css"/>
19<script type="text/javascript" src="search/search.js"></script>
20<script type="text/javascript">
21 $(document).ready(function() { searchBox.OnSelectItem(0); });
22</script>
23<link href="doxygen.css" rel="stylesheet" type="text/css" />
24</head>
25<body>
26<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
27<div id="titlearea">
28<table cellspacing="0" cellpadding="0">
29 <tbody>
30 <tr style="height: 56px;">
31 <td id="projectlogo"><img alt="Logo" src="logo_hds.png"/></td>
32 <td style="padding-left: 0.5em;">
33 <div id="projectname">Flair
34 </div>
35 <div id="projectbrief">Framework Libre Air</div>
36 </td>
37 </tr>
38 </tbody>
39</table>
40</div>
41<!-- end header part -->
42<!-- Generated by Doxygen 1.8.7 -->
43<script type="text/javascript">
44var searchBox = new SearchBox("searchBox", "search",false,'Search');
45</script>
46 <div id="navrow1" class="tabs">
47 <ul class="tablist">
48 <li><a href="index.html"><span>Main&#160;Page</span></a></li>
49 <li><a href="namespaces.html"><span>Namespaces</span></a></li>
50 <li><a href="annotated.html"><span>Classes</span></a></li>
51 <li class="current"><a href="files.html"><span>Files</span></a></li>
52 <li>
53 <div id="MSearchBox" class="MSearchBoxInactive">
54 <span class="left">
55 <img id="MSearchSelect" src="search/mag_sel.png"
56 onmouseover="return searchBox.OnSearchSelectShow()"
57 onmouseout="return searchBox.OnSearchSelectHide()"
58 alt=""/>
59 <input type="text" id="MSearchField" value="Search" accesskey="S"
60 onfocus="searchBox.OnSearchFieldFocus(true)"
61 onblur="searchBox.OnSearchFieldFocus(false)"
62 onkeyup="searchBox.OnSearchFieldChange(event)"/>
63 </span><span class="right">
64 <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
65 </span>
66 </div>
67 </li>
68 </ul>
69 </div>
70 <div id="navrow2" class="tabs2">
71 <ul class="tablist">
72 <li><a href="files.html"><span>File&#160;List</span></a></li>
73 </ul>
74 </div>
75</div><!-- top -->
76<div id="side-nav" class="ui-resizable side-nav-resizable">
77 <div id="nav-tree">
78 <div id="nav-tree-contents">
79 <div id="nav-sync" class="sync"></div>
80 </div>
81 </div>
82 <div id="splitbar" style="-moz-user-select:none;"
83 class="ui-resizable-handle">
84 </div>
85</div>
86<script type="text/javascript">
87$(document).ready(function(){initNavTree('_gps_8h_source.html','');});
88</script>
89<div id="doc-content">
90<!-- window showing the filter options -->
91<div id="MSearchSelectWindow"
92 onmouseover="return searchBox.OnSearchSelectShow()"
93 onmouseout="return searchBox.OnSearchSelectHide()"
94 onkeydown="return searchBox.OnSearchSelectKey(event)">
95<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark">&#160;</span>Properties</a></div>
96
97<!-- iframe showing the search results (closed by default) -->
98<div id="MSearchResultsWindow">
99<iframe src="javascript:void(0)" frameborder="0"
100 name="MSearchResults" id="MSearchResults">
101</iframe>
102</div>
103
104<div class="header">
105 <div class="headertitle">
106<div class="title">Gps.h</div> </div>
107</div><!--header-->
108<div class="contents">
109<a href="_gps_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span>&#160;<span class="comment">// %flair:license{</span></div>
110<div class="line"><a name="l00002"></a><span class="lineno"> 2</span>&#160;<span class="comment">// This file is part of the Flair framework distributed under the</span></div>
111<div class="line"><a name="l00003"></a><span class="lineno"> 3</span>&#160;<span class="comment">// CECILL-C License, Version 1.0.</span></div>
112<div class="line"><a name="l00004"></a><span class="lineno"> 4</span>&#160;<span class="comment">// %flair:license}</span></div>
113<div class="line"><a name="l00013"></a><span class="lineno"> 13</span>&#160;<span class="comment"></span><span class="preprocessor">#ifndef GPS_H</span></div>
114<div class="line"><a name="l00014"></a><span class="lineno"> 14</span>&#160;<span class="preprocessor">#define GPS_H</span></div>
115<div class="line"><a name="l00015"></a><span class="lineno"> 15</span>&#160;</div>
116<div class="line"><a name="l00016"></a><span class="lineno"> 16</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="_i_o_device_8h.html">IODevice.h</a>&gt;</span></div>
117<div class="line"><a name="l00017"></a><span class="lineno"> 17</span>&#160;<span class="preprocessor">#include &lt;nmea/nmea.h&gt;</span></div>
118<div class="line"><a name="l00018"></a><span class="lineno"> 18</span>&#160;</div>
119<div class="line"><a name="l00019"></a><span class="lineno"> 19</span>&#160;<span class="keyword">namespace </span>flair {</div>
120<div class="line"><a name="l00020"></a><span class="lineno"> 20</span>&#160;<span class="keyword">namespace </span>core {</div>
121<div class="line"><a name="l00021"></a><span class="lineno"> 21</span>&#160;<span class="keyword">class </span>cvmatrix;</div>
122<div class="line"><a name="l00022"></a><span class="lineno"> 22</span>&#160;<span class="keyword">class </span>FrameworkManager;</div>
123<div class="line"><a name="l00023"></a><span class="lineno"> 23</span>&#160;<span class="keyword">class </span>GeoCoordinate;</div>
124<div class="line"><a name="l00024"></a><span class="lineno"> 24</span>&#160;<span class="keyword">class </span>Vector3D;</div>
125<div class="line"><a name="l00025"></a><span class="lineno"> 25</span>&#160;}</div>
126<div class="line"><a name="l00026"></a><span class="lineno"> 26</span>&#160;<span class="keyword">namespace </span>gui {</div>
127<div class="line"><a name="l00027"></a><span class="lineno"> 27</span>&#160;<span class="keyword">class </span>Layout;</div>
128<div class="line"><a name="l00028"></a><span class="lineno"> 28</span>&#160;<span class="keyword">class </span>DataPlot1D;</div>
129<div class="line"><a name="l00029"></a><span class="lineno"> 29</span>&#160;<span class="keyword">class </span>Tab;</div>
130<div class="line"><a name="l00030"></a><span class="lineno"> 30</span>&#160;<span class="keyword">class </span>TabWidget;</div>
131<div class="line"><a name="l00031"></a><span class="lineno"> 31</span>&#160;<span class="keyword">class </span>PushButton;</div>
132<div class="line"><a name="l00032"></a><span class="lineno"> 32</span>&#160;<span class="keyword">class </span>Map;</div>
133<div class="line"><a name="l00033"></a><span class="lineno"> 33</span>&#160;<span class="keyword">class </span>Label;</div>
134<div class="line"><a name="l00034"></a><span class="lineno"> 34</span>&#160;}</div>
135<div class="line"><a name="l00035"></a><span class="lineno"> 35</span>&#160;}</div>
136<div class="line"><a name="l00036"></a><span class="lineno"> 36</span>&#160;</div>
137<div class="line"><a name="l00037"></a><span class="lineno"> 37</span>&#160;<span class="keyword">namespace </span>flair {</div>
138<div class="line"><a name="l00038"></a><span class="lineno"> 38</span>&#160;<span class="keyword">namespace </span>sensor {</div>
139<div class="line"><a name="l00043"></a><span class="lineno"><a class="line" href="classflair_1_1sensor_1_1_gps.html"> 43</a></span>&#160;<span class="keyword">class </span><a class="code" href="classflair_1_1sensor_1_1_gps.html">Gps</a> : <span class="keyword">public</span> <a class="code" href="classflair_1_1core_1_1_i_o_device.html">core::IODevice</a> {</div>
140<div class="line"><a name="l00044"></a><span class="lineno"> 44</span>&#160;<span class="keyword">public</span>:</div>
141<div class="line"><a name="l00049"></a><span class="lineno"><a class="line" href="classflair_1_1sensor_1_1_gps.html#a3369bac80ec5316e09a3de7e5ba03c26"> 49</a></span>&#160; <span class="keyword">enum class</span> <a class="code" href="classflair_1_1sensor_1_1_gps.html#a3369bac80ec5316e09a3de7e5ba03c26">FixQuality_t</a> {</div>
142<div class="line"><a name="l00050"></a><span class="lineno"> 50</span>&#160; <a class="code" href="classflair_1_1sensor_1_1_gps.html#a3369bac80ec5316e09a3de7e5ba03c26a4bbb8f967da6d1a610596d7257179c2b">Invalid</a> = 0, </div>
143<div class="line"><a name="l00051"></a><span class="lineno"> 51</span>&#160; <a class="code" href="classflair_1_1sensor_1_1_gps.html">Gps</a> = 1, </div>
144<div class="line"><a name="l00052"></a><span class="lineno"> 52</span>&#160; <a class="code" href="classflair_1_1sensor_1_1_gps.html#a3369bac80ec5316e09a3de7e5ba03c26aee015802cac7ac6094dc62db8b8a2f51">DGps</a> = 2, </div>
145<div class="line"><a name="l00053"></a><span class="lineno"> 53</span>&#160; <a class="code" href="classflair_1_1sensor_1_1_gps.html#a3369bac80ec5316e09a3de7e5ba03c26abd9768d943ecb6ddb75aeffea3bfd829">Pps</a> = 3, </div>
146<div class="line"><a name="l00054"></a><span class="lineno"> 54</span>&#160; <a class="code" href="classflair_1_1sensor_1_1_gps.html#a3369bac80ec5316e09a3de7e5ba03c26a8ad9533f39ec3fe43d6ee0104464a116">Rtk</a> = 4, </div>
147<div class="line"><a name="l00055"></a><span class="lineno"> 55</span>&#160; <a class="code" href="classflair_1_1sensor_1_1_gps.html#a3369bac80ec5316e09a3de7e5ba03c26a1eacb557d24c49af2ec6832c5fc32413">RtkFloat</a> = 5, </div>
148<div class="line"><a name="l00056"></a><span class="lineno"> 56</span>&#160; <a class="code" href="classflair_1_1sensor_1_1_gps.html#a3369bac80ec5316e09a3de7e5ba03c26a3c311fbd0f9e51ce27b984f55164cf83">Estimated</a> = 6, </div>
149<div class="line"><a name="l00057"></a><span class="lineno"> 57</span>&#160; <a class="code" href="classflair_1_1sensor_1_1_gps.html#a3369bac80ec5316e09a3de7e5ba03c26ae1ba155a9f2e8c3be94020eef32a0301">Manual</a> = 7, </div>
150<div class="line"><a name="l00058"></a><span class="lineno"> 58</span>&#160; <a class="code" href="classflair_1_1sensor_1_1_gps.html#a3369bac80ec5316e09a3de7e5ba03c26a4f502b57d2835715eaa382c7d4c32e94">Simulation</a> = 8, </div>
151<div class="line"><a name="l00059"></a><span class="lineno"> 59</span>&#160; };</div>
152<div class="line"><a name="l00060"></a><span class="lineno"> 60</span>&#160;</div>
153<div class="line"><a name="l00065"></a><span class="lineno"><a class="line" href="classflair_1_1sensor_1_1_gps.html#ae48a8af3f5274bebb2f70524c0a42211"> 65</a></span>&#160; <span class="keyword">enum</span> <a class="code" href="classflair_1_1sensor_1_1_gps.html#ae48a8af3f5274bebb2f70524c0a42211">NMEAFlags_t</a> {</div>
154<div class="line"><a name="l00066"></a><span class="lineno"><a class="line" href="classflair_1_1sensor_1_1_gps.html#ae48a8af3f5274bebb2f70524c0a42211a68060943e9da4bbe80a5c202f47d064a"> 66</a></span>&#160; <a class="code" href="classflair_1_1sensor_1_1_gps.html#ae48a8af3f5274bebb2f70524c0a42211a68060943e9da4bbe80a5c202f47d064a">GGA</a> = 0x01, </div>
155<div class="line"><a name="l00067"></a><span class="lineno"><a class="line" href="classflair_1_1sensor_1_1_gps.html#ae48a8af3f5274bebb2f70524c0a42211a11df0c607030d45f279abd066986aff2"> 67</a></span>&#160; <a class="code" href="classflair_1_1sensor_1_1_gps.html#ae48a8af3f5274bebb2f70524c0a42211a11df0c607030d45f279abd066986aff2">VTG</a> = 0x02, </div>
156<div class="line"><a name="l00068"></a><span class="lineno"><a class="line" href="classflair_1_1sensor_1_1_gps.html#ae48a8af3f5274bebb2f70524c0a42211abb88e715a557bd73fe5b3f5bab0c132c"> 68</a></span>&#160; <a class="code" href="classflair_1_1sensor_1_1_gps.html#ae48a8af3f5274bebb2f70524c0a42211abb88e715a557bd73fe5b3f5bab0c132c">GST</a> = 0x04, </div>
157<div class="line"><a name="l00069"></a><span class="lineno"> 69</span>&#160; };</div>
158<div class="line"><a name="l00070"></a><span class="lineno"> 70</span>&#160;</div>
159<div class="line"><a name="l00080"></a><span class="lineno"> 80</span>&#160; <a class="code" href="classflair_1_1sensor_1_1_gps.html#a1a41dcb0713df729ed0e9bad3c0a0a23">Gps</a>(<span class="keyword">const</span> <a class="code" href="classflair_1_1core_1_1_framework_manager.html">core::FrameworkManager</a> *parent, std::string name,</div>
160<div class="line"><a name="l00081"></a><span class="lineno"> 81</span>&#160; <a class="code" href="classflair_1_1sensor_1_1_gps.html#ae48a8af3f5274bebb2f70524c0a42211">NMEAFlags_t</a> NMEAFlags);</div>
161<div class="line"><a name="l00082"></a><span class="lineno"> 82</span>&#160;</div>
162<div class="line"><a name="l00087"></a><span class="lineno"> 87</span>&#160; <a class="code" href="classflair_1_1sensor_1_1_gps.html#a7d75b9b8ffeafd9d5062806e598398bd">~Gps</a>();</div>
163<div class="line"><a name="l00088"></a><span class="lineno"> 88</span>&#160;</div>
164<div class="line"><a name="l00093"></a><span class="lineno"> 93</span>&#160; <span class="keywordtype">void</span> <a class="code" href="classflair_1_1sensor_1_1_gps.html#ae8bc8f4f21a66fd41c0397dff8a3f854">UseDefaultPlot</a>(<span class="keywordtype">void</span>);</div>
165<div class="line"><a name="l00094"></a><span class="lineno"> 94</span>&#160;</div>
166<div class="line"><a name="l00100"></a><span class="lineno"> 100</span>&#160; <a class="code" href="classflair_1_1gui_1_1_data_plot1_d.html">gui::DataPlot1D</a> *<a class="code" href="classflair_1_1sensor_1_1_gps.html#aa4604549109f40264131901a50ec6f00">EPlot</a>(<span class="keywordtype">void</span>) <span class="keyword">const</span>;</div>
167<div class="line"><a name="l00101"></a><span class="lineno"> 101</span>&#160;</div>
168<div class="line"><a name="l00107"></a><span class="lineno"> 107</span>&#160; <a class="code" href="classflair_1_1gui_1_1_data_plot1_d.html">gui::DataPlot1D</a> *<a class="code" href="classflair_1_1sensor_1_1_gps.html#a20cda3f8f1bab2465a952eff3e3586fc">NPlot</a>(<span class="keywordtype">void</span>) <span class="keyword">const</span>;</div>
169<div class="line"><a name="l00108"></a><span class="lineno"> 108</span>&#160;</div>
170<div class="line"><a name="l00114"></a><span class="lineno"> 114</span>&#160; <a class="code" href="classflair_1_1gui_1_1_data_plot1_d.html">gui::DataPlot1D</a> *<a class="code" href="classflair_1_1sensor_1_1_gps.html#a71637a721f744768e80fe13c2c3e812e">UPlot</a>(<span class="keywordtype">void</span>) <span class="keyword">const</span>;</div>
171<div class="line"><a name="l00115"></a><span class="lineno"> 115</span>&#160;</div>
172<div class="line"><a name="l00121"></a><span class="lineno"> 121</span>&#160; <a class="code" href="classflair_1_1gui_1_1_data_plot1_d.html">gui::DataPlot1D</a> *<a class="code" href="classflair_1_1sensor_1_1_gps.html#a513b1b3e68e9d771ef98f805d535c4dc">VEPlot</a>(<span class="keywordtype">void</span>) <span class="keyword">const</span>;</div>
173<div class="line"><a name="l00122"></a><span class="lineno"> 122</span>&#160;</div>
174<div class="line"><a name="l00128"></a><span class="lineno"> 128</span>&#160; <a class="code" href="classflair_1_1gui_1_1_data_plot1_d.html">gui::DataPlot1D</a> *<a class="code" href="classflair_1_1sensor_1_1_gps.html#a5a7b795fd9e6791b1d560e0cef35a794">VNPlot</a>(<span class="keywordtype">void</span>) <span class="keyword">const</span>;</div>
175<div class="line"><a name="l00129"></a><span class="lineno"> 129</span>&#160;</div>
176<div class="line"><a name="l00135"></a><span class="lineno"> 135</span>&#160; <a class="code" href="classflair_1_1gui_1_1_tab_widget.html">gui::TabWidget</a> *<a class="code" href="classflair_1_1sensor_1_1_gps.html#a5a2cdbfbaf74bcfdb91fdba8c2938dfa">GetTab</a>(<span class="keywordtype">void</span>) <span class="keyword">const</span>;</div>
177<div class="line"><a name="l00136"></a><span class="lineno"> 136</span>&#160;</div>
178<div class="line"><a name="l00142"></a><span class="lineno"> 142</span>&#160; <a class="code" href="classflair_1_1gui_1_1_layout.html">gui::Layout</a> *<a class="code" href="classflair_1_1sensor_1_1_gps.html#aeaeea5b2c46f9bdfb748c197af203c7a">GetLayout</a>(<span class="keywordtype">void</span>) <span class="keyword">const</span>;</div>
179<div class="line"><a name="l00143"></a><span class="lineno"> 143</span>&#160;</div>
180<div class="line"><a name="l00149"></a><span class="lineno"> 149</span>&#160; <a class="code" href="classflair_1_1gui_1_1_tab.html">gui::Tab</a> *<a class="code" href="classflair_1_1sensor_1_1_gps.html#ac2d44b16d8257f27951e2fbe667edfab">GetPlotTab</a>(<span class="keywordtype">void</span>) <span class="keyword">const</span>;</div>
181<div class="line"><a name="l00150"></a><span class="lineno"> 150</span>&#160;</div>
182<div class="line"><a name="l00156"></a><span class="lineno"> 156</span>&#160; uint16_t <a class="code" href="classflair_1_1sensor_1_1_gps.html#a6833e5753ea738ff494398d7f4faa7d3">NbSat</a>(<span class="keywordtype">void</span>) <span class="keyword">const</span>;</div>
183<div class="line"><a name="l00157"></a><span class="lineno"> 157</span>&#160;</div>
184<div class="line"><a name="l00163"></a><span class="lineno"> 163</span>&#160; <a class="code" href="classflair_1_1sensor_1_1_gps.html#a3369bac80ec5316e09a3de7e5ba03c26">FixQuality_t</a> <a class="code" href="classflair_1_1sensor_1_1_gps.html#a278ebf69d2cf79ac003cd03d6f251070">FixQuality</a>(<span class="keywordtype">void</span>) <span class="keyword">const</span>;</div>
185<div class="line"><a name="l00164"></a><span class="lineno"> 164</span>&#160;</div>
186<div class="line"><a name="l00173"></a><span class="lineno"> 173</span>&#160; <span class="keywordtype">void</span> <a class="code" href="classflair_1_1sensor_1_1_gps.html#a0e1c71c9e64be81637cbd340a67d8fde">SetRef</a>(<span class="keywordtype">void</span>);</div>
187<div class="line"><a name="l00174"></a><span class="lineno"> 174</span>&#160;</div>
188<div class="line"><a name="l00180"></a><span class="lineno"> 180</span>&#160; <span class="keywordtype">void</span> <a class="code" href="classflair_1_1sensor_1_1_gps.html#a90c780a60227857ca42e7e107635ad89">GetENUPosition</a>(<a class="code" href="classflair_1_1core_1_1_vector3_d.html">core::Vector3D</a> *point);</div>
189<div class="line"><a name="l00181"></a><span class="lineno"> 181</span>&#160;</div>
190<div class="line"><a name="l00182"></a><span class="lineno"> 182</span>&#160;<span class="keyword">protected</span>:</div>
191<div class="line"><a name="l00193"></a><span class="lineno"> 193</span>&#160; <span class="keywordtype">void</span> <a class="code" href="classflair_1_1sensor_1_1_gps.html#a460e922857220d5b89949e46ea02a60c">parseFrame</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *frame, <span class="keywordtype">int</span> frame_size);</div>
192<div class="line"><a name="l00194"></a><span class="lineno"> 194</span>&#160;</div>
193<div class="line"><a name="l00195"></a><span class="lineno"> 195</span>&#160; <a class="code" href="classflair_1_1sensor_1_1_gps.html#ae48a8af3f5274bebb2f70524c0a42211">NMEAFlags_t</a> NMEAFlags;</div>
194<div class="line"><a name="l00196"></a><span class="lineno"> 196</span>&#160;</div>
195<div class="line"><a name="l00197"></a><span class="lineno"> 197</span>&#160;<span class="keyword">protected</span>:</div>
196<div class="line"><a name="l00198"></a><span class="lineno"> 198</span>&#160; <a class="code" href="classflair_1_1core_1_1_geo_coordinate.html">core::GeoCoordinate</a> *position;</div>
197<div class="line"><a name="l00199"></a><span class="lineno"> 199</span>&#160;</div>
198<div class="line"><a name="l00200"></a><span class="lineno"> 200</span>&#160;<span class="keyword">private</span>:</div>
199<div class="line"><a name="l00208"></a><span class="lineno"> 208</span>&#160; <span class="keywordtype">void</span> UpdateFrom(<span class="keyword">const</span> <a class="code" href="classflair_1_1core_1_1io__data.html">core::io_data</a> *data){};</div>
200<div class="line"><a name="l00209"></a><span class="lineno"> 209</span>&#160;</div>
201<div class="line"><a name="l00210"></a><span class="lineno"> 210</span>&#160; <a class="code" href="classflair_1_1gui_1_1_tab.html">gui::Tab</a> *main_tab, *sensor_tab;</div>
202<div class="line"><a name="l00211"></a><span class="lineno"> 211</span>&#160; <a class="code" href="classflair_1_1gui_1_1_tab_widget.html">gui::TabWidget</a> *tab;</div>
203<div class="line"><a name="l00212"></a><span class="lineno"> 212</span>&#160; <a class="code" href="classflair_1_1gui_1_1_push_button.html">gui::PushButton</a> *button_ref;</div>
204<div class="line"><a name="l00213"></a><span class="lineno"> 213</span>&#160; <a class="code" href="classflair_1_1gui_1_1_data_plot1_d.html">gui::DataPlot1D</a> *e_plot;</div>
205<div class="line"><a name="l00214"></a><span class="lineno"> 214</span>&#160; <a class="code" href="classflair_1_1gui_1_1_data_plot1_d.html">gui::DataPlot1D</a> *n_plot;</div>
206<div class="line"><a name="l00215"></a><span class="lineno"> 215</span>&#160; <a class="code" href="classflair_1_1gui_1_1_data_plot1_d.html">gui::DataPlot1D</a> *u_plot;</div>
207<div class="line"><a name="l00216"></a><span class="lineno"> 216</span>&#160; <a class="code" href="classflair_1_1gui_1_1_data_plot1_d.html">gui::DataPlot1D</a> *ve_plot;</div>
208<div class="line"><a name="l00217"></a><span class="lineno"> 217</span>&#160; <a class="code" href="classflair_1_1gui_1_1_data_plot1_d.html">gui::DataPlot1D</a> *vn_plot;</div>
209<div class="line"><a name="l00218"></a><span class="lineno"> 218</span>&#160; <a class="code" href="classflair_1_1gui_1_1_tab.html">gui::Tab</a> *plot_tab;</div>
210<div class="line"><a name="l00219"></a><span class="lineno"> 219</span>&#160; <a class="code" href="classflair_1_1gui_1_1_map.html">gui::Map</a> *map;</div>
211<div class="line"><a name="l00220"></a><span class="lineno"> 220</span>&#160; <a class="code" href="classflair_1_1gui_1_1_label.html">gui::Label</a> *nb_sat_label, *fix_label;</div>
212<div class="line"><a name="l00221"></a><span class="lineno"> 221</span>&#160; uint16_t nb_sat;</div>
213<div class="line"><a name="l00222"></a><span class="lineno"> 222</span>&#160; <a class="code" href="classflair_1_1sensor_1_1_gps.html#a3369bac80ec5316e09a3de7e5ba03c26">FixQuality_t</a> fix;</div>
214<div class="line"><a name="l00223"></a><span class="lineno"> 223</span>&#160; <span class="keywordtype">bool</span> take_ref;</div>
215<div class="line"><a name="l00224"></a><span class="lineno"> 224</span>&#160; nmeaINFO info;</div>
216<div class="line"><a name="l00225"></a><span class="lineno"> 225</span>&#160; nmeaPARSER parser;</div>
217<div class="line"><a name="l00226"></a><span class="lineno"> 226</span>&#160; nmeaGPGGA pack;</div>
218<div class="line"><a name="l00227"></a><span class="lineno"> 227</span>&#160; nmeaPOS pos;</div>
219<div class="line"><a name="l00228"></a><span class="lineno"> 228</span>&#160; <span class="keywordtype">double</span> lat_ref, long_ref, alt_ref;</div>
220<div class="line"><a name="l00229"></a><span class="lineno"> 229</span>&#160;</div>
221<div class="line"><a name="l00230"></a><span class="lineno"> 230</span>&#160; <span class="comment">// matrix</span></div>
222<div class="line"><a name="l00231"></a><span class="lineno"> 231</span>&#160; <a class="code" href="classflair_1_1core_1_1cvmatrix.html">core::cvmatrix</a> *output;</div>
223<div class="line"><a name="l00232"></a><span class="lineno"> 232</span>&#160;};</div>
224<div class="line"><a name="l00233"></a><span class="lineno"> 233</span>&#160;} <span class="comment">// end namespace sensor</span></div>
225<div class="line"><a name="l00234"></a><span class="lineno"> 234</span>&#160;} <span class="comment">// end namespace framewor</span></div>
226<div class="line"><a name="l00235"></a><span class="lineno"> 235</span>&#160;<span class="preprocessor">#endif // GPS_H</span></div>
227<div class="ttc" id="classflair_1_1core_1_1io__data_html"><div class="ttname"><a href="classflair_1_1core_1_1io__data.html">flair::core::io_data</a></div><div class="ttdoc">Abstract class for data types. </div><div class="ttdef"><b>Definition:</b> io_data.h:77</div></div>
228<div class="ttc" id="classflair_1_1sensor_1_1_gps_html_a5a7b795fd9e6791b1d560e0cef35a794"><div class="ttname"><a href="classflair_1_1sensor_1_1_gps.html#a5a7b795fd9e6791b1d560e0cef35a794">flair::sensor::Gps::VNPlot</a></div><div class="ttdeci">gui::DataPlot1D * VNPlot(void) const </div><div class="ttdoc">North velocity plot. </div></div>
229<div class="ttc" id="classflair_1_1sensor_1_1_gps_html_a513b1b3e68e9d771ef98f805d535c4dc"><div class="ttname"><a href="classflair_1_1sensor_1_1_gps.html#a513b1b3e68e9d771ef98f805d535c4dc">flair::sensor::Gps::VEPlot</a></div><div class="ttdeci">gui::DataPlot1D * VEPlot(void) const </div><div class="ttdoc">East velocity plot. </div></div>
230<div class="ttc" id="classflair_1_1sensor_1_1_gps_html_a3369bac80ec5316e09a3de7e5ba03c26abd9768d943ecb6ddb75aeffea3bfd829"><div class="ttname"><a href="classflair_1_1sensor_1_1_gps.html#a3369bac80ec5316e09a3de7e5ba03c26abd9768d943ecb6ddb75aeffea3bfd829">flair::sensor::Gps::FixQuality_t::Pps</a></div></div>
231<div class="ttc" id="classflair_1_1core_1_1_i_o_device_html"><div class="ttname"><a href="classflair_1_1core_1_1_i_o_device.html">flair::core::IODevice</a></div><div class="ttdoc">Abstract class for input/ouput system. </div><div class="ttdef"><b>Definition:</b> IODevice.h:44</div></div>
232<div class="ttc" id="classflair_1_1sensor_1_1_gps_html"><div class="ttname"><a href="classflair_1_1sensor_1_1_gps.html">flair::sensor::Gps</a></div><div class="ttdoc">Base class for GPS. </div><div class="ttdef"><b>Definition:</b> Gps.h:43</div></div>
233<div class="ttc" id="classflair_1_1core_1_1cvmatrix_html"><div class="ttname"><a href="classflair_1_1core_1_1cvmatrix.html">flair::core::cvmatrix</a></div><div class="ttdoc">Class defining a matrix of kind CvMat. </div><div class="ttdef"><b>Definition:</b> cvmatrix.h:33</div></div>
234<div class="ttc" id="classflair_1_1core_1_1_vector3_d_html"><div class="ttname"><a href="classflair_1_1core_1_1_vector3_d.html">flair::core::Vector3D</a></div><div class="ttdoc">Class defining a 3D vector. </div><div class="ttdef"><b>Definition:</b> Vector3D.h:28</div></div>
235<div class="ttc" id="classflair_1_1sensor_1_1_gps_html_a3369bac80ec5316e09a3de7e5ba03c26a3c311fbd0f9e51ce27b984f55164cf83"><div class="ttname"><a href="classflair_1_1sensor_1_1_gps.html#a3369bac80ec5316e09a3de7e5ba03c26a3c311fbd0f9e51ce27b984f55164cf83">flair::sensor::Gps::FixQuality_t::Estimated</a></div></div>
236<div class="ttc" id="classflair_1_1sensor_1_1_gps_html_a3369bac80ec5316e09a3de7e5ba03c26aee015802cac7ac6094dc62db8b8a2f51"><div class="ttname"><a href="classflair_1_1sensor_1_1_gps.html#a3369bac80ec5316e09a3de7e5ba03c26aee015802cac7ac6094dc62db8b8a2f51">flair::sensor::Gps::FixQuality_t::DGps</a></div></div>
237<div class="ttc" id="classflair_1_1sensor_1_1_gps_html_ae48a8af3f5274bebb2f70524c0a42211a11df0c607030d45f279abd066986aff2"><div class="ttname"><a href="classflair_1_1sensor_1_1_gps.html#ae48a8af3f5274bebb2f70524c0a42211a11df0c607030d45f279abd066986aff2">flair::sensor::Gps::VTG</a></div><div class="ttdef"><b>Definition:</b> Gps.h:67</div></div>
238<div class="ttc" id="classflair_1_1sensor_1_1_gps_html_a460e922857220d5b89949e46ea02a60c"><div class="ttname"><a href="classflair_1_1sensor_1_1_gps.html#a460e922857220d5b89949e46ea02a60c">flair::sensor::Gps::parseFrame</a></div><div class="ttdeci">void parseFrame(const char *frame, int frame_size)</div><div class="ttdoc">Parse a NMEA frame. </div></div>
239<div class="ttc" id="_i_o_device_8h_html"><div class="ttname"><a href="_i_o_device_8h.html">IODevice.h</a></div><div class="ttdoc">Abstract class for input/ouput system. </div></div>
240<div class="ttc" id="classflair_1_1sensor_1_1_gps_html_a3369bac80ec5316e09a3de7e5ba03c26ae1ba155a9f2e8c3be94020eef32a0301"><div class="ttname"><a href="classflair_1_1sensor_1_1_gps.html#a3369bac80ec5316e09a3de7e5ba03c26ae1ba155a9f2e8c3be94020eef32a0301">flair::sensor::Gps::FixQuality_t::Manual</a></div></div>
241<div class="ttc" id="classflair_1_1sensor_1_1_gps_html_aa4604549109f40264131901a50ec6f00"><div class="ttname"><a href="classflair_1_1sensor_1_1_gps.html#aa4604549109f40264131901a50ec6f00">flair::sensor::Gps::EPlot</a></div><div class="ttdeci">gui::DataPlot1D * EPlot(void) const </div><div class="ttdoc">East plot. </div></div>
242<div class="ttc" id="classflair_1_1sensor_1_1_gps_html_aeaeea5b2c46f9bdfb748c197af203c7a"><div class="ttname"><a href="classflair_1_1sensor_1_1_gps.html#aeaeea5b2c46f9bdfb748c197af203c7a">flair::sensor::Gps::GetLayout</a></div><div class="ttdeci">gui::Layout * GetLayout(void) const </div><div class="ttdoc">Setup Layout. </div></div>
243<div class="ttc" id="classflair_1_1gui_1_1_push_button_html"><div class="ttname"><a href="classflair_1_1gui_1_1_push_button.html">flair::gui::PushButton</a></div><div class="ttdoc">Class displaying a QPushButton on the ground station. </div><div class="ttdef"><b>Definition:</b> PushButton.h:28</div></div>
244<div class="ttc" id="classflair_1_1sensor_1_1_gps_html_a20cda3f8f1bab2465a952eff3e3586fc"><div class="ttname"><a href="classflair_1_1sensor_1_1_gps.html#a20cda3f8f1bab2465a952eff3e3586fc">flair::sensor::Gps::NPlot</a></div><div class="ttdeci">gui::DataPlot1D * NPlot(void) const </div><div class="ttdoc">North plot. </div></div>
245<div class="ttc" id="classflair_1_1sensor_1_1_gps_html_a278ebf69d2cf79ac003cd03d6f251070"><div class="ttname"><a href="classflair_1_1sensor_1_1_gps.html#a278ebf69d2cf79ac003cd03d6f251070">flair::sensor::Gps::FixQuality</a></div><div class="ttdeci">FixQuality_t FixQuality(void) const </div><div class="ttdoc">Fix Quality. </div></div>
246<div class="ttc" id="classflair_1_1gui_1_1_label_html"><div class="ttname"><a href="classflair_1_1gui_1_1_label.html">flair::gui::Label</a></div><div class="ttdoc">Class displaying a QLabel on the ground station. </div><div class="ttdef"><b>Definition:</b> Label.h:28</div></div>
247<div class="ttc" id="classflair_1_1gui_1_1_layout_html"><div class="ttname"><a href="classflair_1_1gui_1_1_layout.html">flair::gui::Layout</a></div><div class="ttdoc">Abstract class to display a layout on the ground station. </div><div class="ttdef"><b>Definition:</b> Layout.h:33</div></div>
248<div class="ttc" id="classflair_1_1core_1_1_framework_manager_html"><div class="ttname"><a href="classflair_1_1core_1_1_framework_manager.html">flair::core::FrameworkManager</a></div><div class="ttdoc">Main class of the Framework library. </div><div class="ttdef"><b>Definition:</b> FrameworkManager.h:45</div></div>
249<div class="ttc" id="classflair_1_1sensor_1_1_gps_html_a6833e5753ea738ff494398d7f4faa7d3"><div class="ttname"><a href="classflair_1_1sensor_1_1_gps.html#a6833e5753ea738ff494398d7f4faa7d3">flair::sensor::Gps::NbSat</a></div><div class="ttdeci">uint16_t NbSat(void) const </div><div class="ttdoc">Number of used satellites. </div></div>
250<div class="ttc" id="classflair_1_1gui_1_1_tab_widget_html"><div class="ttname"><a href="classflair_1_1gui_1_1_tab_widget.html">flair::gui::TabWidget</a></div><div class="ttdoc">Class displaying a QTabWidget on the ground station. </div><div class="ttdef"><b>Definition:</b> TabWidget.h:29</div></div>
251<div class="ttc" id="classflair_1_1sensor_1_1_gps_html_ae48a8af3f5274bebb2f70524c0a42211a68060943e9da4bbe80a5c202f47d064a"><div class="ttname"><a href="classflair_1_1sensor_1_1_gps.html#ae48a8af3f5274bebb2f70524c0a42211a68060943e9da4bbe80a5c202f47d064a">flair::sensor::Gps::GGA</a></div><div class="ttdef"><b>Definition:</b> Gps.h:66</div></div>
252<div class="ttc" id="classflair_1_1sensor_1_1_gps_html_a3369bac80ec5316e09a3de7e5ba03c26a4bbb8f967da6d1a610596d7257179c2b"><div class="ttname"><a href="classflair_1_1sensor_1_1_gps.html#a3369bac80ec5316e09a3de7e5ba03c26a4bbb8f967da6d1a610596d7257179c2b">flair::sensor::Gps::FixQuality_t::Invalid</a></div></div>
253<div class="ttc" id="classflair_1_1gui_1_1_map_html"><div class="ttname"><a href="classflair_1_1gui_1_1_map.html">flair::gui::Map</a></div><div class="ttdoc">Class displaying a GPS map on the ground station. </div><div class="ttdef"><b>Definition:</b> Map.h:33</div></div>
254<div class="ttc" id="classflair_1_1sensor_1_1_gps_html_a3369bac80ec5316e09a3de7e5ba03c26"><div class="ttname"><a href="classflair_1_1sensor_1_1_gps.html#a3369bac80ec5316e09a3de7e5ba03c26">flair::sensor::Gps::FixQuality_t</a></div><div class="ttdeci">FixQuality_t</div><div class="ttdoc">Fix qualty indicators. </div><div class="ttdef"><b>Definition:</b> Gps.h:49</div></div>
255<div class="ttc" id="classflair_1_1sensor_1_1_gps_html_ae48a8af3f5274bebb2f70524c0a42211abb88e715a557bd73fe5b3f5bab0c132c"><div class="ttname"><a href="classflair_1_1sensor_1_1_gps.html#ae48a8af3f5274bebb2f70524c0a42211abb88e715a557bd73fe5b3f5bab0c132c">flair::sensor::Gps::GST</a></div><div class="ttdef"><b>Definition:</b> Gps.h:68</div></div>
256<div class="ttc" id="classflair_1_1sensor_1_1_gps_html_ac2d44b16d8257f27951e2fbe667edfab"><div class="ttname"><a href="classflair_1_1sensor_1_1_gps.html#ac2d44b16d8257f27951e2fbe667edfab">flair::sensor::Gps::GetPlotTab</a></div><div class="ttdeci">gui::Tab * GetPlotTab(void) const </div><div class="ttdoc">Plot tab. </div></div>
257<div class="ttc" id="classflair_1_1sensor_1_1_gps_html_ae48a8af3f5274bebb2f70524c0a42211"><div class="ttname"><a href="classflair_1_1sensor_1_1_gps.html#ae48a8af3f5274bebb2f70524c0a42211">flair::sensor::Gps::NMEAFlags_t</a></div><div class="ttdeci">NMEAFlags_t</div><div class="ttdoc">NMEA flags. </div><div class="ttdef"><b>Definition:</b> Gps.h:65</div></div>
258<div class="ttc" id="classflair_1_1sensor_1_1_gps_html_a3369bac80ec5316e09a3de7e5ba03c26a8ad9533f39ec3fe43d6ee0104464a116"><div class="ttname"><a href="classflair_1_1sensor_1_1_gps.html#a3369bac80ec5316e09a3de7e5ba03c26a8ad9533f39ec3fe43d6ee0104464a116">flair::sensor::Gps::FixQuality_t::Rtk</a></div></div>
259<div class="ttc" id="classflair_1_1sensor_1_1_gps_html_ae8bc8f4f21a66fd41c0397dff8a3f854"><div class="ttname"><a href="classflair_1_1sensor_1_1_gps.html#ae8bc8f4f21a66fd41c0397dff8a3f854">flair::sensor::Gps::UseDefaultPlot</a></div><div class="ttdeci">void UseDefaultPlot(void)</div><div class="ttdoc">Use default plot. </div></div>
260<div class="ttc" id="classflair_1_1sensor_1_1_gps_html_a0e1c71c9e64be81637cbd340a67d8fde"><div class="ttname"><a href="classflair_1_1sensor_1_1_gps.html#a0e1c71c9e64be81637cbd340a67d8fde">flair::sensor::Gps::SetRef</a></div><div class="ttdeci">void SetRef(void)</div><div class="ttdoc">Set reference for ENU coordinates. </div></div>
261<div class="ttc" id="classflair_1_1core_1_1_geo_coordinate_html"><div class="ttname"><a href="classflair_1_1core_1_1_geo_coordinate.html">flair::core::GeoCoordinate</a></div><div class="ttdoc">Class defining a point by its lla coordinates. </div><div class="ttdef"><b>Definition:</b> GeoCoordinate.h:24</div></div>
262<div class="ttc" id="classflair_1_1sensor_1_1_gps_html_a3369bac80ec5316e09a3de7e5ba03c26a1eacb557d24c49af2ec6832c5fc32413"><div class="ttname"><a href="classflair_1_1sensor_1_1_gps.html#a3369bac80ec5316e09a3de7e5ba03c26a1eacb557d24c49af2ec6832c5fc32413">flair::sensor::Gps::FixQuality_t::RtkFloat</a></div></div>
263<div class="ttc" id="classflair_1_1sensor_1_1_gps_html_a71637a721f744768e80fe13c2c3e812e"><div class="ttname"><a href="classflair_1_1sensor_1_1_gps.html#a71637a721f744768e80fe13c2c3e812e">flair::sensor::Gps::UPlot</a></div><div class="ttdeci">gui::DataPlot1D * UPlot(void) const </div><div class="ttdoc">Up plot. </div></div>
264<div class="ttc" id="classflair_1_1sensor_1_1_gps_html_a7d75b9b8ffeafd9d5062806e598398bd"><div class="ttname"><a href="classflair_1_1sensor_1_1_gps.html#a7d75b9b8ffeafd9d5062806e598398bd">flair::sensor::Gps::~Gps</a></div><div class="ttdeci">~Gps()</div><div class="ttdoc">Destructor. </div></div>
265<div class="ttc" id="classflair_1_1sensor_1_1_gps_html_a3369bac80ec5316e09a3de7e5ba03c26a4f502b57d2835715eaa382c7d4c32e94"><div class="ttname"><a href="classflair_1_1sensor_1_1_gps.html#a3369bac80ec5316e09a3de7e5ba03c26a4f502b57d2835715eaa382c7d4c32e94">flair::sensor::Gps::FixQuality_t::Simulation</a></div></div>
266<div class="ttc" id="classflair_1_1sensor_1_1_gps_html_a5a2cdbfbaf74bcfdb91fdba8c2938dfa"><div class="ttname"><a href="classflair_1_1sensor_1_1_gps.html#a5a2cdbfbaf74bcfdb91fdba8c2938dfa">flair::sensor::Gps::GetTab</a></div><div class="ttdeci">gui::TabWidget * GetTab(void) const </div><div class="ttdoc">Main tab. </div></div>
267<div class="ttc" id="classflair_1_1sensor_1_1_gps_html_a90c780a60227857ca42e7e107635ad89"><div class="ttname"><a href="classflair_1_1sensor_1_1_gps.html#a90c780a60227857ca42e7e107635ad89">flair::sensor::Gps::GetENUPosition</a></div><div class="ttdeci">void GetENUPosition(core::Vector3D *point)</div><div class="ttdoc">Get ENU position. </div></div>
268<div class="ttc" id="classflair_1_1sensor_1_1_gps_html_a1a41dcb0713df729ed0e9bad3c0a0a23"><div class="ttname"><a href="classflair_1_1sensor_1_1_gps.html#a1a41dcb0713df729ed0e9bad3c0a0a23">flair::sensor::Gps::Gps</a></div><div class="ttdeci">Gps(const core::FrameworkManager *parent, std::string name, NMEAFlags_t NMEAFlags)</div><div class="ttdoc">Constructor. </div></div>
269<div class="ttc" id="classflair_1_1gui_1_1_data_plot1_d_html"><div class="ttname"><a href="classflair_1_1gui_1_1_data_plot1_d.html">flair::gui::DataPlot1D</a></div><div class="ttdoc">Class displaying a 1D plot on the ground station. </div><div class="ttdef"><b>Definition:</b> DataPlot1D.h:33</div></div>
270<div class="ttc" id="classflair_1_1gui_1_1_tab_html"><div class="ttname"><a href="classflair_1_1gui_1_1_tab.html">flair::gui::Tab</a></div><div class="ttdoc">Class displaying a QTab on the ground station. </div><div class="ttdef"><b>Definition:</b> Tab.h:29</div></div>
271</div><!-- fragment --></div><!-- contents -->
272</div><!-- doc-content -->
273<!-- start footer part -->
274<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
275 <ul>
276 <li class="navelem"><a class="el" href="dir_33c2ee9b1665499374b4225c427cf176.html">igep</a></li><li class="navelem"><a class="el" href="dir_f1fe274389177bd7e17de7949c4ffada.html">flair-src</a></li><li class="navelem"><a class="el" href="dir_3ef62148cf94871b4b6ee5d6e3a989c1.html">lib</a></li><li class="navelem"><a class="el" href="dir_6e0f9c50eed172896c55a6e61952176b.html">FlairSensorActuator</a></li><li class="navelem"><a class="el" href="dir_c5d95abdcafe7d1171548eb561d7ce37.html">src</a></li><li class="navelem"><a class="el" href="_gps_8h.html">Gps.h</a></li>
277 <li class="footer">Generated on Thu Apr 21 2016 11:41:04 for Flair by
278 <a href="http://www.doxygen.org/index.html">
279 <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.7 </li>
280 </ul>
281</div>
282</body>
283</html>
Note: See TracBrowser for help on using the repository browser.