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.9.1"/>
|
---|
7 | <title>Flair: ImuData.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="navtreedata.js"></script>
|
---|
14 | <script type="text/javascript" src="navtree.js"></script>
|
---|
15 | <script type="text/javascript">
|
---|
16 | $(document).ready(initResizable);
|
---|
17 | $(window).load(resizeHeight);
|
---|
18 | </script>
|
---|
19 | <link href="search/search.css" rel="stylesheet" type="text/css"/>
|
---|
20 | <script type="text/javascript" src="search/searchdata.js"></script>
|
---|
21 | <script type="text/javascript" src="search/search.js"></script>
|
---|
22 | <script type="text/javascript">
|
---|
23 | $(document).ready(function() { init_search(); });
|
---|
24 | </script>
|
---|
25 | <link href="doxygen.css" rel="stylesheet" type="text/css" />
|
---|
26 | </head>
|
---|
27 | <body>
|
---|
28 | <div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
---|
29 | <div id="titlearea">
|
---|
30 | <table cellspacing="0" cellpadding="0">
|
---|
31 | <tbody>
|
---|
32 | <tr style="height: 56px;">
|
---|
33 | <td id="projectlogo"><img alt="Logo" src="logo_hds.png"/></td>
|
---|
34 | <td style="padding-left: 0.5em;">
|
---|
35 | <div id="projectname">Flair
|
---|
36 | </div>
|
---|
37 | <div id="projectbrief">Framework Libre Air</div>
|
---|
38 | </td>
|
---|
39 | </tr>
|
---|
40 | </tbody>
|
---|
41 | </table>
|
---|
42 | </div>
|
---|
43 | <!-- end header part -->
|
---|
44 | <!-- Generated by Doxygen 1.8.9.1 -->
|
---|
45 | <script type="text/javascript">
|
---|
46 | var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
---|
47 | </script>
|
---|
48 | <div id="navrow1" class="tabs">
|
---|
49 | <ul class="tablist">
|
---|
50 | <li><a href="index.html"><span>Main Page</span></a></li>
|
---|
51 | <li><a href="namespaces.html"><span>Namespaces</span></a></li>
|
---|
52 | <li><a href="annotated.html"><span>Classes</span></a></li>
|
---|
53 | <li class="current"><a href="files.html"><span>Files</span></a></li>
|
---|
54 | <li>
|
---|
55 | <div id="MSearchBox" class="MSearchBoxInactive">
|
---|
56 | <span class="left">
|
---|
57 | <img id="MSearchSelect" src="search/mag_sel.png"
|
---|
58 | onmouseover="return searchBox.OnSearchSelectShow()"
|
---|
59 | onmouseout="return searchBox.OnSearchSelectHide()"
|
---|
60 | alt=""/>
|
---|
61 | <input type="text" id="MSearchField" value="Search" accesskey="S"
|
---|
62 | onfocus="searchBox.OnSearchFieldFocus(true)"
|
---|
63 | onblur="searchBox.OnSearchFieldFocus(false)"
|
---|
64 | onkeyup="searchBox.OnSearchFieldChange(event)"/>
|
---|
65 | </span><span class="right">
|
---|
66 | <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
|
---|
67 | </span>
|
---|
68 | </div>
|
---|
69 | </li>
|
---|
70 | </ul>
|
---|
71 | </div>
|
---|
72 | <div id="navrow2" class="tabs2">
|
---|
73 | <ul class="tablist">
|
---|
74 | <li><a href="files.html"><span>File List</span></a></li>
|
---|
75 | </ul>
|
---|
76 | </div>
|
---|
77 | </div><!-- top -->
|
---|
78 | <div id="side-nav" class="ui-resizable side-nav-resizable">
|
---|
79 | <div id="nav-tree">
|
---|
80 | <div id="nav-tree-contents">
|
---|
81 | <div id="nav-sync" class="sync"></div>
|
---|
82 | </div>
|
---|
83 | </div>
|
---|
84 | <div id="splitbar" style="-moz-user-select:none;"
|
---|
85 | class="ui-resizable-handle">
|
---|
86 | </div>
|
---|
87 | </div>
|
---|
88 | <script type="text/javascript">
|
---|
89 | $(document).ready(function(){initNavTree('_imu_data_8h_source.html','');});
|
---|
90 | </script>
|
---|
91 | <div id="doc-content">
|
---|
92 | <!-- window showing the filter options -->
|
---|
93 | <div id="MSearchSelectWindow"
|
---|
94 | onmouseover="return searchBox.OnSearchSelectShow()"
|
---|
95 | onmouseout="return searchBox.OnSearchSelectHide()"
|
---|
96 | onkeydown="return searchBox.OnSearchSelectKey(event)">
|
---|
97 | </div>
|
---|
98 |
|
---|
99 | <!-- iframe showing the search results (closed by default) -->
|
---|
100 | <div id="MSearchResultsWindow">
|
---|
101 | <iframe src="javascript:void(0)" frameborder="0"
|
---|
102 | name="MSearchResults" id="MSearchResults">
|
---|
103 | </iframe>
|
---|
104 | </div>
|
---|
105 |
|
---|
106 | <div class="header">
|
---|
107 | <div class="headertitle">
|
---|
108 | <div class="title">ImuData.h</div> </div>
|
---|
109 | </div><!--header-->
|
---|
110 | <div class="contents">
|
---|
111 | <a href="_imu_data_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> <span class="comment">// %flair:license{</span></div>
|
---|
112 | <div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment">// This file is part of the Flair framework distributed under the</span></div>
|
---|
113 | <div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment">// CECILL-C License, Version 1.0.</span></div>
|
---|
114 | <div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment">// %flair:license}</span></div>
|
---|
115 | <div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="comment"></span><span class="preprocessor">#ifndef IMUDATA_H</span></div>
|
---|
116 | <div class="line"><a name="l00013"></a><span class="lineno"> 13</span> <span class="preprocessor">#define IMUDATA_H</span></div>
|
---|
117 | <div class="line"><a name="l00014"></a><span class="lineno"> 14</span> </div>
|
---|
118 | <div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <span class="preprocessor">#include <<a class="code" href="io__data_8h.html">io_data.h</a>></span></div>
|
---|
119 | <div class="line"><a name="l00016"></a><span class="lineno"> 16</span> <span class="preprocessor">#include <<a class="code" href="_i_o_data_element_8h.html">IODataElement.h</a>></span></div>
|
---|
120 | <div class="line"><a name="l00017"></a><span class="lineno"> 17</span> <span class="preprocessor">#include <<a class="code" href="_vector3_d_8h.html">Vector3D.h</a>></span></div>
|
---|
121 | <div class="line"><a name="l00018"></a><span class="lineno"> 18</span> </div>
|
---|
122 | <div class="line"><a name="l00019"></a><span class="lineno"> 19</span> <span class="keyword">namespace </span><a class="code" href="namespaceflair.html">flair</a> {</div>
|
---|
123 | <div class="line"><a name="l00020"></a><span class="lineno"> 20</span> <span class="keyword">namespace </span>core {</div>
|
---|
124 | <div class="line"><a name="l00021"></a><span class="lineno"> 21</span> </div>
|
---|
125 | <div class="line"><a name="l00031"></a><span class="lineno"><a class="line" href="classflair_1_1core_1_1_imu_data.html"> 31</a></span> <span class="keyword">class </span><a class="code" href="classflair_1_1core_1_1_imu_data.html">ImuData</a> : <span class="keyword">public</span> <a class="code" href="classflair_1_1core_1_1io__data.html">io_data</a> {</div>
|
---|
126 | <div class="line"><a name="l00032"></a><span class="lineno"> 32</span> <span class="keyword">public</span>:</div>
|
---|
127 | <div class="line"><a name="l00033"></a><span class="lineno"><a class="line" href="classflair_1_1core_1_1_imu_data_1_1_type.html"> 33</a></span>  <span class="keyword">class </span><a class="code" href="classflair_1_1core_1_1_imu_data_1_1_type.html">Type</a> : <span class="keyword">public</span> <a class="code" href="classflair_1_1core_1_1_data_type.html">DataType</a> {</div>
|
---|
128 | <div class="line"><a name="l00034"></a><span class="lineno"> 34</span>  <span class="keyword">public</span>:</div>
|
---|
129 | <div class="line"><a name="l00035"></a><span class="lineno"> 35</span>  <a class="code" href="classflair_1_1core_1_1_imu_data_1_1_type.html">Type</a>(<a class="code" href="classflair_1_1core_1_1_scalar_type.html">ScalarType</a> <span class="keyword">const</span> &_elementDataType)</div>
|
---|
130 | <div class="line"><a name="l00036"></a><span class="lineno"> 36</span>  : elementDataType(_elementDataType) {}</div>
|
---|
131 | <div class="line"><a name="l00037"></a><span class="lineno"> 37</span>  <a class="code" href="classflair_1_1core_1_1_scalar_type.html">ScalarType</a> <span class="keyword">const</span> &GetElementDataType()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> elementDataType; }</div>
|
---|
132 | <div class="line"><a name="l00038"></a><span class="lineno"> 38</span>  std::string GetDescription()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <span class="stringliteral">"imu data"</span>; }</div>
|
---|
133 | <div class="line"><a name="l00039"></a><span class="lineno"> 39</span>  <span class="keywordtype">size_t</span> GetSize()<span class="keyword"> const </span>{</div>
|
---|
134 | <div class="line"><a name="l00040"></a><span class="lineno"> 40</span>  <span class="keywordtype">size_t</span> size = 0;</div>
|
---|
135 | <div class="line"><a name="l00041"></a><span class="lineno"> 41</span>  size += 3 * elementDataType.GetSize(); <span class="comment">// RawAcc</span></div>
|
---|
136 | <div class="line"><a name="l00042"></a><span class="lineno"> 42</span>  size += 3 * elementDataType.GetSize(); <span class="comment">// RawGyr</span></div>
|
---|
137 | <div class="line"><a name="l00043"></a><span class="lineno"> 43</span>  size += 3 * elementDataType.GetSize(); <span class="comment">// RawMag</span></div>
|
---|
138 | <div class="line"><a name="l00044"></a><span class="lineno"> 44</span>  <span class="keywordflow">return</span> size;</div>
|
---|
139 | <div class="line"><a name="l00045"></a><span class="lineno"> 45</span>  }</div>
|
---|
140 | <div class="line"><a name="l00046"></a><span class="lineno"> 46</span> </div>
|
---|
141 | <div class="line"><a name="l00047"></a><span class="lineno"> 47</span>  <span class="keyword">private</span>:</div>
|
---|
142 | <div class="line"><a name="l00048"></a><span class="lineno"> 48</span>  <a class="code" href="classflair_1_1core_1_1_scalar_type.html">ScalarType</a> <span class="keyword">const</span> &elementDataType;</div>
|
---|
143 | <div class="line"><a name="l00049"></a><span class="lineno"> 49</span>  };</div>
|
---|
144 | <div class="line"><a name="l00050"></a><span class="lineno"> 50</span> </div>
|
---|
145 | <div class="line"><a name="l00055"></a><span class="lineno"><a class="line" href="classflair_1_1core_1_1_imu_data.html#adb0dfdbb977697425cd06265077c26be"> 55</a></span>  <span class="keyword">typedef</span> <span class="keyword">enum</span> {</div>
|
---|
146 | <div class="line"><a name="l00056"></a><span class="lineno"><a class="line" href="classflair_1_1core_1_1_imu_data.html#adb0dfdbb977697425cd06265077c26bea90ece67a73f71355e7c5a6adf5e8149d"> 56</a></span>  <a class="code" href="classflair_1_1core_1_1_imu_data.html#adb0dfdbb977697425cd06265077c26bea90ece67a73f71355e7c5a6adf5e8149d">RawAx</a> ,</div>
|
---|
147 | <div class="line"><a name="l00057"></a><span class="lineno"><a class="line" href="classflair_1_1core_1_1_imu_data.html#adb0dfdbb977697425cd06265077c26beaf17fe48e3f3aeeb97c77e78340bb5803"> 57</a></span>  <a class="code" href="classflair_1_1core_1_1_imu_data.html#adb0dfdbb977697425cd06265077c26beaf17fe48e3f3aeeb97c77e78340bb5803">RawAy</a> ,</div>
|
---|
148 | <div class="line"><a name="l00058"></a><span class="lineno"><a class="line" href="classflair_1_1core_1_1_imu_data.html#adb0dfdbb977697425cd06265077c26bead8be85dbc38cbd7c3e5493256ffa1d00"> 58</a></span>  <a class="code" href="classflair_1_1core_1_1_imu_data.html#adb0dfdbb977697425cd06265077c26bead8be85dbc38cbd7c3e5493256ffa1d00">RawAz</a> ,</div>
|
---|
149 | <div class="line"><a name="l00059"></a><span class="lineno"><a class="line" href="classflair_1_1core_1_1_imu_data.html#adb0dfdbb977697425cd06265077c26beafbc2d2a514c95994271df80a8e5be519"> 59</a></span>  <a class="code" href="classflair_1_1core_1_1_imu_data.html#adb0dfdbb977697425cd06265077c26beafbc2d2a514c95994271df80a8e5be519">RawGx</a> ,</div>
|
---|
150 | <div class="line"><a name="l00060"></a><span class="lineno"><a class="line" href="classflair_1_1core_1_1_imu_data.html#adb0dfdbb977697425cd06265077c26bea4b4d9ad7d324cc7658342ec2c4771695"> 60</a></span>  <a class="code" href="classflair_1_1core_1_1_imu_data.html#adb0dfdbb977697425cd06265077c26bea4b4d9ad7d324cc7658342ec2c4771695">RawGy</a> ,</div>
|
---|
151 | <div class="line"><a name="l00061"></a><span class="lineno"><a class="line" href="classflair_1_1core_1_1_imu_data.html#adb0dfdbb977697425cd06265077c26beadc2e059b491fedb6d2960281b7ad6622"> 61</a></span>  <a class="code" href="classflair_1_1core_1_1_imu_data.html#adb0dfdbb977697425cd06265077c26beadc2e059b491fedb6d2960281b7ad6622">RawGz</a> ,</div>
|
---|
152 | <div class="line"><a name="l00062"></a><span class="lineno"><a class="line" href="classflair_1_1core_1_1_imu_data.html#adb0dfdbb977697425cd06265077c26bea915a640fc43e113b03e4391cf0c733a9"> 62</a></span>  <a class="code" href="classflair_1_1core_1_1_imu_data.html#adb0dfdbb977697425cd06265077c26bea915a640fc43e113b03e4391cf0c733a9">RawGxDeg</a> ,</div>
|
---|
153 | <div class="line"><a name="l00063"></a><span class="lineno"><a class="line" href="classflair_1_1core_1_1_imu_data.html#adb0dfdbb977697425cd06265077c26beadbc88531fe4da892ae4bcd48089d0565"> 63</a></span>  <a class="code" href="classflair_1_1core_1_1_imu_data.html#adb0dfdbb977697425cd06265077c26beadbc88531fe4da892ae4bcd48089d0565">RawGyDeg</a> ,</div>
|
---|
154 | <div class="line"><a name="l00064"></a><span class="lineno"><a class="line" href="classflair_1_1core_1_1_imu_data.html#adb0dfdbb977697425cd06265077c26bea98589e84fadf04b96b5c578ec931a78f"> 64</a></span>  <a class="code" href="classflair_1_1core_1_1_imu_data.html#adb0dfdbb977697425cd06265077c26bea98589e84fadf04b96b5c578ec931a78f">RawGzDeg</a> ,</div>
|
---|
155 | <div class="line"><a name="l00065"></a><span class="lineno"><a class="line" href="classflair_1_1core_1_1_imu_data.html#adb0dfdbb977697425cd06265077c26bea9ad641005399ef838c6b72845404be6b"> 65</a></span>  <a class="code" href="classflair_1_1core_1_1_imu_data.html#adb0dfdbb977697425cd06265077c26bea9ad641005399ef838c6b72845404be6b">RawMx</a> ,</div>
|
---|
156 | <div class="line"><a name="l00066"></a><span class="lineno"><a class="line" href="classflair_1_1core_1_1_imu_data.html#adb0dfdbb977697425cd06265077c26bea526c117774f8517ee9496395c87b63cf"> 66</a></span>  <a class="code" href="classflair_1_1core_1_1_imu_data.html#adb0dfdbb977697425cd06265077c26bea526c117774f8517ee9496395c87b63cf">RawMy</a> ,</div>
|
---|
157 | <div class="line"><a name="l00067"></a><span class="lineno"><a class="line" href="classflair_1_1core_1_1_imu_data.html#adb0dfdbb977697425cd06265077c26beae864388017d2f02860096371f515a367"> 67</a></span>  <a class="code" href="classflair_1_1core_1_1_imu_data.html#adb0dfdbb977697425cd06265077c26beae864388017d2f02860096371f515a367">RawMz</a> </div>
|
---|
158 | <div class="line"><a name="l00068"></a><span class="lineno"> 68</span>  } <a class="code" href="classflair_1_1core_1_1_imu_data.html#adb0dfdbb977697425cd06265077c26be">PlotableData_t</a>;</div>
|
---|
159 | <div class="line"><a name="l00069"></a><span class="lineno"> 69</span> </div>
|
---|
160 | <div class="line"><a name="l00079"></a><span class="lineno"> 79</span>  <a class="code" href="classflair_1_1core_1_1_imu_data.html#a1a277282db7d19ed76e41a4f7a782934">ImuData</a>(<span class="keyword">const</span> <a class="code" href="classflair_1_1core_1_1_object.html">Object</a> *parent, std::string name = <span class="stringliteral">""</span>, <span class="keywordtype">int</span> n = 1);</div>
|
---|
161 | <div class="line"><a name="l00080"></a><span class="lineno"> 80</span> </div>
|
---|
162 | <div class="line"><a name="l00085"></a><span class="lineno"> 85</span>  <a class="code" href="classflair_1_1core_1_1_imu_data.html#a5ab5c48fd57817f52d479c0d43dfb3e9">~ImuData</a>();</div>
|
---|
163 | <div class="line"><a name="l00086"></a><span class="lineno"> 86</span> </div>
|
---|
164 | <div class="line"><a name="l00096"></a><span class="lineno"> 96</span>  <a class="code" href="classflair_1_1core_1_1_i_o_data_element.html">IODataElement</a> *<a class="code" href="classflair_1_1core_1_1_imu_data.html#a4f26aa0799e4156f3885a436a269d9c5">Element</a>(<a class="code" href="classflair_1_1core_1_1_imu_data.html#adb0dfdbb977697425cd06265077c26be">PlotableData_t</a> data_type) <span class="keyword">const</span>;</div>
|
---|
165 | <div class="line"><a name="l00097"></a><span class="lineno"> 97</span> </div>
|
---|
166 | <div class="line"><a name="l00106"></a><span class="lineno"> 106</span>  <a class="code" href="classflair_1_1core_1_1_vector3_d.html">Vector3Df</a> <a class="code" href="classflair_1_1core_1_1_imu_data.html#aff48e7fc5d9e5fd5f543080c927b88b5">GetRawAcc</a>(<span class="keywordtype">void</span>) <span class="keyword">const</span>;</div>
|
---|
167 | <div class="line"><a name="l00107"></a><span class="lineno"> 107</span> </div>
|
---|
168 | <div class="line"><a name="l00116"></a><span class="lineno"> 116</span>  <a class="code" href="classflair_1_1core_1_1_vector3_d.html">Vector3Df</a> <a class="code" href="classflair_1_1core_1_1_imu_data.html#adc5d9ec8a2c7ae337ba627dcf2181307">GetRawMag</a>(<span class="keywordtype">void</span>) <span class="keyword">const</span>;</div>
|
---|
169 | <div class="line"><a name="l00117"></a><span class="lineno"> 117</span> </div>
|
---|
170 | <div class="line"><a name="l00126"></a><span class="lineno"> 126</span>  <a class="code" href="classflair_1_1core_1_1_vector3_d.html">Vector3Df</a> <a class="code" href="classflair_1_1core_1_1_imu_data.html#a942ccd18b00ffceee25e307fa54a6ea0">GetRawGyr</a>(<span class="keywordtype">void</span>) <span class="keyword">const</span>;</div>
|
---|
171 | <div class="line"><a name="l00127"></a><span class="lineno"> 127</span> </div>
|
---|
172 | <div class="line"><a name="l00138"></a><span class="lineno"> 138</span>  <span class="keywordtype">void</span> <a class="code" href="classflair_1_1core_1_1_imu_data.html#a5893ae29ee62fea62fee049924fad2bf">GetRawAccMagAndGyr</a>(<a class="code" href="classflair_1_1core_1_1_vector3_d.html">Vector3Df</a> &rawAcc, <a class="code" href="classflair_1_1core_1_1_vector3_d.html">Vector3Df</a> &rawMag,</div>
|
---|
173 | <div class="line"><a name="l00139"></a><span class="lineno"> 139</span>  <a class="code" href="classflair_1_1core_1_1_vector3_d.html">Vector3Df</a> &rawGyr) <span class="keyword">const</span>;</div>
|
---|
174 | <div class="line"><a name="l00140"></a><span class="lineno"> 140</span> </div>
|
---|
175 | <div class="line"><a name="l00149"></a><span class="lineno"> 149</span>  <span class="keywordtype">void</span> <a class="code" href="classflair_1_1core_1_1_imu_data.html#ad1253132c246fd1106294fa63c9f43d6">SetRawAcc</a>(<span class="keyword">const</span> <a class="code" href="classflair_1_1core_1_1_vector3_d.html">Vector3Df</a> &rawAcc);</div>
|
---|
176 | <div class="line"><a name="l00150"></a><span class="lineno"> 150</span> </div>
|
---|
177 | <div class="line"><a name="l00159"></a><span class="lineno"> 159</span>  <span class="keywordtype">void</span> <a class="code" href="classflair_1_1core_1_1_imu_data.html#a2c8a03b3ff037fca52e2e0607910f93d">SetRawMag</a>(<span class="keyword">const</span> <a class="code" href="classflair_1_1core_1_1_vector3_d.html">Vector3Df</a> &rawMag);</div>
|
---|
178 | <div class="line"><a name="l00160"></a><span class="lineno"> 160</span> </div>
|
---|
179 | <div class="line"><a name="l00169"></a><span class="lineno"> 169</span>  <span class="keywordtype">void</span> <a class="code" href="classflair_1_1core_1_1_imu_data.html#afb2c370ce20995a83fb500bc8e966d4e">SetRawGyr</a>(<span class="keyword">const</span> <a class="code" href="classflair_1_1core_1_1_vector3_d.html">Vector3Df</a> &rawGyr);</div>
|
---|
180 | <div class="line"><a name="l00170"></a><span class="lineno"> 170</span> </div>
|
---|
181 | <div class="line"><a name="l00181"></a><span class="lineno"> 181</span>  <span class="keywordtype">void</span> <a class="code" href="classflair_1_1core_1_1_imu_data.html#ac9996d7161dfbc620d977208d0626515">SetRawAccMagAndGyr</a>(<span class="keyword">const</span> <a class="code" href="classflair_1_1core_1_1_vector3_d.html">Vector3Df</a> &rawAcc, <span class="keyword">const</span> <a class="code" href="classflair_1_1core_1_1_vector3_d.html">Vector3Df</a> &rawMag,</div>
|
---|
182 | <div class="line"><a name="l00182"></a><span class="lineno"> 182</span>  <span class="keyword">const</span> <a class="code" href="classflair_1_1core_1_1_vector3_d.html">Vector3Df</a> &rawGyr);</div>
|
---|
183 | <div class="line"><a name="l00183"></a><span class="lineno"> 183</span> </div>
|
---|
184 | <div class="line"><a name="l00184"></a><span class="lineno"> 184</span>  Type <span class="keyword">const</span> &GetDataType()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> dataType; }</div>
|
---|
185 | <div class="line"><a name="l00185"></a><span class="lineno"> 185</span> </div>
|
---|
186 | <div class="line"><a name="l00186"></a><span class="lineno"> 186</span> <span class="keyword">private</span>:</div>
|
---|
187 | <div class="line"><a name="l00195"></a><span class="lineno"> 195</span>  <span class="keywordtype">void</span> RawRead(<span class="keywordtype">char</span> *dst) <span class="keyword">const</span>;</div>
|
---|
188 | <div class="line"><a name="l00196"></a><span class="lineno"> 196</span> </div>
|
---|
189 | <div class="line"><a name="l00201"></a><span class="lineno"> 201</span>  Vector3Df rawAcc;</div>
|
---|
190 | <div class="line"><a name="l00202"></a><span class="lineno"> 202</span> </div>
|
---|
191 | <div class="line"><a name="l00207"></a><span class="lineno"> 207</span>  Vector3Df rawGyr;</div>
|
---|
192 | <div class="line"><a name="l00208"></a><span class="lineno"> 208</span> </div>
|
---|
193 | <div class="line"><a name="l00213"></a><span class="lineno"> 213</span>  Vector3Df rawMag;</div>
|
---|
194 | <div class="line"><a name="l00214"></a><span class="lineno"> 214</span> </div>
|
---|
195 | <div class="line"><a name="l00215"></a><span class="lineno"> 215</span>  <span class="keywordtype">void</span> Queue(<span class="keywordtype">char</span> **dst, <span class="keyword">const</span> <span class="keywordtype">void</span> *src, <span class="keywordtype">size_t</span> size) <span class="keyword">const</span>;</div>
|
---|
196 | <div class="line"><a name="l00216"></a><span class="lineno"> 216</span>  Type dataType;</div>
|
---|
197 | <div class="line"><a name="l00217"></a><span class="lineno"> 217</span> };</div>
|
---|
198 | <div class="line"><a name="l00218"></a><span class="lineno"> 218</span> </div>
|
---|
199 | <div class="line"><a name="l00219"></a><span class="lineno"> 219</span> } <span class="comment">// end namespace core</span></div>
|
---|
200 | <div class="line"><a name="l00220"></a><span class="lineno"> 220</span> } <span class="comment">// end namespace flair</span></div>
|
---|
201 | <div class="line"><a name="l00221"></a><span class="lineno"> 221</span> </div>
|
---|
202 | <div class="line"><a name="l00222"></a><span class="lineno"> 222</span> <span class="preprocessor">#endif // IMUDATA_H</span></div>
|
---|
203 | <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:94</div></div>
|
---|
204 | <div class="ttc" id="classflair_1_1core_1_1_imu_data_html_adb0dfdbb977697425cd06265077c26beaf17fe48e3f3aeeb97c77e78340bb5803"><div class="ttname"><a href="classflair_1_1core_1_1_imu_data.html#adb0dfdbb977697425cd06265077c26beaf17fe48e3f3aeeb97c77e78340bb5803">flair::core::ImuData::RawAy</a></div><div class="ttdef"><b>Definition:</b> ImuData.h:57</div></div>
|
---|
205 | <div class="ttc" id="classflair_1_1core_1_1_imu_data_html_adb0dfdbb977697425cd06265077c26beafbc2d2a514c95994271df80a8e5be519"><div class="ttname"><a href="classflair_1_1core_1_1_imu_data.html#adb0dfdbb977697425cd06265077c26beafbc2d2a514c95994271df80a8e5be519">flair::core::ImuData::RawGx</a></div><div class="ttdef"><b>Definition:</b> ImuData.h:59</div></div>
|
---|
206 | <div class="ttc" id="classflair_1_1core_1_1_data_type_html"><div class="ttname"><a href="classflair_1_1core_1_1_data_type.html">flair::core::DataType</a></div><div class="ttdef"><b>Definition:</b> io_data.h:26</div></div>
|
---|
207 | <div class="ttc" id="classflair_1_1core_1_1_object_html"><div class="ttname"><a href="classflair_1_1core_1_1_object.html">flair::core::Object</a></div><div class="ttdoc">Base class for all Framework's classes. </div><div class="ttdef"><b>Definition:</b> Object.h:83</div></div>
|
---|
208 | <div class="ttc" id="namespaceflair_html"><div class="ttname"><a href="namespaceflair.html">flair</a></div><div class="ttdoc">namespace of the flair Framework </div><div class="ttdef"><b>Definition:</b> Ahrs.h:19</div></div>
|
---|
209 | <div class="ttc" id="classflair_1_1core_1_1_imu_data_html_adb0dfdbb977697425cd06265077c26bea526c117774f8517ee9496395c87b63cf"><div class="ttname"><a href="classflair_1_1core_1_1_imu_data.html#adb0dfdbb977697425cd06265077c26bea526c117774f8517ee9496395c87b63cf">flair::core::ImuData::RawMy</a></div><div class="ttdef"><b>Definition:</b> ImuData.h:66</div></div>
|
---|
210 | <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< float ></a></div></div>
|
---|
211 | <div class="ttc" id="classflair_1_1core_1_1_imu_data_html_a5893ae29ee62fea62fee049924fad2bf"><div class="ttname"><a href="classflair_1_1core_1_1_imu_data.html#a5893ae29ee62fea62fee049924fad2bf">flair::core::ImuData::GetRawAccMagAndGyr</a></div><div class="ttdeci">void GetRawAccMagAndGyr(Vector3Df &rawAcc, Vector3Df &rawMag, Vector3Df &rawGyr) const </div><div class="ttdoc">Get raw accelerations, magnetometers and angular speeds. </div></div>
|
---|
212 | <div class="ttc" id="classflair_1_1core_1_1_imu_data_html_aff48e7fc5d9e5fd5f543080c927b88b5"><div class="ttname"><a href="classflair_1_1core_1_1_imu_data.html#aff48e7fc5d9e5fd5f543080c927b88b5">flair::core::ImuData::GetRawAcc</a></div><div class="ttdeci">Vector3Df GetRawAcc(void) const </div><div class="ttdoc">Get raw accelerations. </div></div>
|
---|
213 | <div class="ttc" id="io__data_8h_html"><div class="ttname"><a href="io__data_8h.html">io_data.h</a></div><div class="ttdoc">Abstract class for data types. </div></div>
|
---|
214 | <div class="ttc" id="_vector3_d_8h_html"><div class="ttname"><a href="_vector3_d_8h.html">Vector3D.h</a></div><div class="ttdoc">Class defining a 3D vector. </div></div>
|
---|
215 | <div class="ttc" id="classflair_1_1core_1_1_imu_data_1_1_type_html"><div class="ttname"><a href="classflair_1_1core_1_1_imu_data_1_1_type.html">flair::core::ImuData::Type</a></div><div class="ttdef"><b>Definition:</b> ImuData.h:33</div></div>
|
---|
216 | <div class="ttc" id="classflair_1_1core_1_1_imu_data_html_ad1253132c246fd1106294fa63c9f43d6"><div class="ttname"><a href="classflair_1_1core_1_1_imu_data.html#ad1253132c246fd1106294fa63c9f43d6">flair::core::ImuData::SetRawAcc</a></div><div class="ttdeci">void SetRawAcc(const Vector3Df &rawAcc)</div><div class="ttdoc">Set raw accelerations. </div></div>
|
---|
217 | <div class="ttc" id="classflair_1_1core_1_1_imu_data_html_adb0dfdbb977697425cd06265077c26beae864388017d2f02860096371f515a367"><div class="ttname"><a href="classflair_1_1core_1_1_imu_data.html#adb0dfdbb977697425cd06265077c26beae864388017d2f02860096371f515a367">flair::core::ImuData::RawMz</a></div><div class="ttdef"><b>Definition:</b> ImuData.h:67</div></div>
|
---|
218 | <div class="ttc" id="classflair_1_1core_1_1_imu_data_html_adb0dfdbb977697425cd06265077c26bead8be85dbc38cbd7c3e5493256ffa1d00"><div class="ttname"><a href="classflair_1_1core_1_1_imu_data.html#adb0dfdbb977697425cd06265077c26bead8be85dbc38cbd7c3e5493256ffa1d00">flair::core::ImuData::RawAz</a></div><div class="ttdef"><b>Definition:</b> ImuData.h:58</div></div>
|
---|
219 | <div class="ttc" id="classflair_1_1core_1_1_imu_data_html_adb0dfdbb977697425cd06265077c26bea90ece67a73f71355e7c5a6adf5e8149d"><div class="ttname"><a href="classflair_1_1core_1_1_imu_data.html#adb0dfdbb977697425cd06265077c26bea90ece67a73f71355e7c5a6adf5e8149d">flair::core::ImuData::RawAx</a></div><div class="ttdef"><b>Definition:</b> ImuData.h:56</div></div>
|
---|
220 | <div class="ttc" id="_i_o_data_element_8h_html"><div class="ttname"><a href="_i_o_data_element_8h.html">IODataElement.h</a></div><div class="ttdoc">Abstract class for accessing an element of an io_data. </div></div>
|
---|
221 | <div class="ttc" id="classflair_1_1core_1_1_imu_data_html_adb0dfdbb977697425cd06265077c26be"><div class="ttname"><a href="classflair_1_1core_1_1_imu_data.html#adb0dfdbb977697425cd06265077c26be">flair::core::ImuData::PlotableData_t</a></div><div class="ttdeci">PlotableData_t</div><div class="ttdoc">Datas wich can be plotted in a DataPlot1D. </div><div class="ttdef"><b>Definition:</b> ImuData.h:55</div></div>
|
---|
222 | <div class="ttc" id="classflair_1_1core_1_1_imu_data_html_adb0dfdbb977697425cd06265077c26bea98589e84fadf04b96b5c578ec931a78f"><div class="ttname"><a href="classflair_1_1core_1_1_imu_data.html#adb0dfdbb977697425cd06265077c26bea98589e84fadf04b96b5c578ec931a78f">flair::core::ImuData::RawGzDeg</a></div><div class="ttdef"><b>Definition:</b> ImuData.h:64</div></div>
|
---|
223 | <div class="ttc" id="classflair_1_1core_1_1_imu_data_html_a942ccd18b00ffceee25e307fa54a6ea0"><div class="ttname"><a href="classflair_1_1core_1_1_imu_data.html#a942ccd18b00ffceee25e307fa54a6ea0">flair::core::ImuData::GetRawGyr</a></div><div class="ttdeci">Vector3Df GetRawGyr(void) const </div><div class="ttdoc">Get raw angular speed. </div></div>
|
---|
224 | <div class="ttc" id="classflair_1_1core_1_1_scalar_type_html"><div class="ttname"><a href="classflair_1_1core_1_1_scalar_type.html">flair::core::ScalarType</a></div><div class="ttdef"><b>Definition:</b> io_data.h:40</div></div>
|
---|
225 | <div class="ttc" id="classflair_1_1core_1_1_imu_data_html_adb0dfdbb977697425cd06265077c26bea9ad641005399ef838c6b72845404be6b"><div class="ttname"><a href="classflair_1_1core_1_1_imu_data.html#adb0dfdbb977697425cd06265077c26bea9ad641005399ef838c6b72845404be6b">flair::core::ImuData::RawMx</a></div><div class="ttdef"><b>Definition:</b> ImuData.h:65</div></div>
|
---|
226 | <div class="ttc" id="classflair_1_1core_1_1_imu_data_html_adb0dfdbb977697425cd06265077c26beadbc88531fe4da892ae4bcd48089d0565"><div class="ttname"><a href="classflair_1_1core_1_1_imu_data.html#adb0dfdbb977697425cd06265077c26beadbc88531fe4da892ae4bcd48089d0565">flair::core::ImuData::RawGyDeg</a></div><div class="ttdef"><b>Definition:</b> ImuData.h:63</div></div>
|
---|
227 | <div class="ttc" id="classflair_1_1core_1_1_imu_data_html_adb0dfdbb977697425cd06265077c26beadc2e059b491fedb6d2960281b7ad6622"><div class="ttname"><a href="classflair_1_1core_1_1_imu_data.html#adb0dfdbb977697425cd06265077c26beadc2e059b491fedb6d2960281b7ad6622">flair::core::ImuData::RawGz</a></div><div class="ttdef"><b>Definition:</b> ImuData.h:61</div></div>
|
---|
228 | <div class="ttc" id="classflair_1_1core_1_1_imu_data_html_a5ab5c48fd57817f52d479c0d43dfb3e9"><div class="ttname"><a href="classflair_1_1core_1_1_imu_data.html#a5ab5c48fd57817f52d479c0d43dfb3e9">flair::core::ImuData::~ImuData</a></div><div class="ttdeci">~ImuData()</div><div class="ttdoc">Destructor. </div></div>
|
---|
229 | <div class="ttc" id="classflair_1_1core_1_1_imu_data_html_adc5d9ec8a2c7ae337ba627dcf2181307"><div class="ttname"><a href="classflair_1_1core_1_1_imu_data.html#adc5d9ec8a2c7ae337ba627dcf2181307">flair::core::ImuData::GetRawMag</a></div><div class="ttdeci">Vector3Df GetRawMag(void) const </div><div class="ttdoc">Get raw magnetometers. </div></div>
|
---|
230 | <div class="ttc" id="classflair_1_1core_1_1_imu_data_html_a2c8a03b3ff037fca52e2e0607910f93d"><div class="ttname"><a href="classflair_1_1core_1_1_imu_data.html#a2c8a03b3ff037fca52e2e0607910f93d">flair::core::ImuData::SetRawMag</a></div><div class="ttdeci">void SetRawMag(const Vector3Df &rawMag)</div><div class="ttdoc">Set raw magnetometers. </div></div>
|
---|
231 | <div class="ttc" id="classflair_1_1core_1_1_imu_data_html_ac9996d7161dfbc620d977208d0626515"><div class="ttname"><a href="classflair_1_1core_1_1_imu_data.html#ac9996d7161dfbc620d977208d0626515">flair::core::ImuData::SetRawAccMagAndGyr</a></div><div class="ttdeci">void SetRawAccMagAndGyr(const Vector3Df &rawAcc, const Vector3Df &rawMag, const Vector3Df &rawGyr)</div><div class="ttdoc">Set raw accelerations, magnetometers and angular speeds. </div></div>
|
---|
232 | <div class="ttc" id="classflair_1_1core_1_1_imu_data_html_afb2c370ce20995a83fb500bc8e966d4e"><div class="ttname"><a href="classflair_1_1core_1_1_imu_data.html#afb2c370ce20995a83fb500bc8e966d4e">flair::core::ImuData::SetRawGyr</a></div><div class="ttdeci">void SetRawGyr(const Vector3Df &rawGyr)</div><div class="ttdoc">Set raw angular speed. </div></div>
|
---|
233 | <div class="ttc" id="classflair_1_1core_1_1_imu_data_html_adb0dfdbb977697425cd06265077c26bea4b4d9ad7d324cc7658342ec2c4771695"><div class="ttname"><a href="classflair_1_1core_1_1_imu_data.html#adb0dfdbb977697425cd06265077c26bea4b4d9ad7d324cc7658342ec2c4771695">flair::core::ImuData::RawGy</a></div><div class="ttdef"><b>Definition:</b> ImuData.h:60</div></div>
|
---|
234 | <div class="ttc" id="classflair_1_1core_1_1_imu_data_html_a4f26aa0799e4156f3885a436a269d9c5"><div class="ttname"><a href="classflair_1_1core_1_1_imu_data.html#a4f26aa0799e4156f3885a436a269d9c5">flair::core::ImuData::Element</a></div><div class="ttdeci">IODataElement * Element(PlotableData_t data_type) const </div><div class="ttdoc">Element. </div></div>
|
---|
235 | <div class="ttc" id="classflair_1_1core_1_1_i_o_data_element_html"><div class="ttname"><a href="classflair_1_1core_1_1_i_o_data_element.html">flair::core::IODataElement</a></div><div class="ttdoc">Abstract class for accessing an element of an io_data. </div><div class="ttdef"><b>Definition:</b> IODataElement.h:27</div></div>
|
---|
236 | <div class="ttc" id="classflair_1_1core_1_1_imu_data_html_adb0dfdbb977697425cd06265077c26bea915a640fc43e113b03e4391cf0c733a9"><div class="ttname"><a href="classflair_1_1core_1_1_imu_data.html#adb0dfdbb977697425cd06265077c26bea915a640fc43e113b03e4391cf0c733a9">flair::core::ImuData::RawGxDeg</a></div><div class="ttdef"><b>Definition:</b> ImuData.h:62</div></div>
|
---|
237 | <div class="ttc" id="classflair_1_1core_1_1_imu_data_html_a1a277282db7d19ed76e41a4f7a782934"><div class="ttname"><a href="classflair_1_1core_1_1_imu_data.html#a1a277282db7d19ed76e41a4f7a782934">flair::core::ImuData::ImuData</a></div><div class="ttdeci">ImuData(const Object *parent, std::string name="", int n=1)</div><div class="ttdoc">Constructor. </div></div>
|
---|
238 | <div class="ttc" id="classflair_1_1core_1_1_imu_data_html"><div class="ttname"><a href="classflair_1_1core_1_1_imu_data.html">flair::core::ImuData</a></div><div class="ttdoc">Class defining IMU datas. </div><div class="ttdef"><b>Definition:</b> ImuData.h:31</div></div>
|
---|
239 | </div><!-- fragment --></div><!-- contents -->
|
---|
240 | </div><!-- doc-content -->
|
---|
241 | <!-- start footer part -->
|
---|
242 | <div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
---|
243 | <ul>
|
---|
244 | <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_97265977dbbd48c696782ccac102bad5.html">FlairCore</a></li><li class="navelem"><a class="el" href="dir_6c198461db290ac9abcdd44184573216.html">src</a></li><li class="navelem"><a class="el" href="_imu_data_8h.html">ImuData.h</a></li>
|
---|
245 | <li class="footer">Generated on Thu Jan 31 2019 12:34:23 for Flair by
|
---|
246 | <a href="http://www.doxygen.org/index.html">
|
---|
247 | <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.9.1 </li>
|
---|
248 | </ul>
|
---|
249 | </div>
|
---|
250 | </body>
|
---|
251 | </html>
|
---|