Changeset 98 in flair-dev for trunk/doc/Flair/_simu_bldc_8h_source.html
- Timestamp:
- Jan 30, 2019, 5:07:25 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/doc/Flair/_simu_bldc_8h_source.html
r68 r98 116 116 <div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="preprocessor">#define SIMUBLDC_H</span></div> 117 117 <div class="line"><a name="l00015"></a><span class="lineno"> 15</span> </div> 118 <div class="line"><a name="l00016"></a><span class="lineno"> 16</span> <span class="preprocessor">#include <<a class="code" href="_ bldc_8h.html">Bldc.h</a>></span></div>118 <div class="line"><a name="l00016"></a><span class="lineno"> 16</span> <span class="preprocessor">#include <<a class="code" href="_i_o_device_8h.html">IODevice.h</a>></span></div> 119 119 <div class="line"><a name="l00017"></a><span class="lineno"> 17</span> </div> 120 120 <div class="line"><a name="l00018"></a><span class="lineno"> 18</span> <span class="keyword">namespace </span><a class="code" href="namespaceflair.html">flair</a> {</div> 121 121 <div class="line"><a name="l00019"></a><span class="lineno"> 19</span> <span class="keyword">namespace </span>core {</div> 122 122 <div class="line"><a name="l00020"></a><span class="lineno"> 20</span> <span class="keyword">class </span>SharedMem;</div> 123 <div class="line"><a name="l00021"></a><span class="lineno"> 21</span> <span class="keyword">class </span>IODevice;</div> 124 <div class="line"><a name="l00022"></a><span class="lineno"> 22</span> <span class="keyword">class </span>Matrix;</div> 125 <div class="line"><a name="l00023"></a><span class="lineno"> 23</span> }</div> 126 <div class="line"><a name="l00024"></a><span class="lineno"> 24</span> <span class="keyword">namespace </span>gui {</div> 127 <div class="line"><a name="l00025"></a><span class="lineno"> 25</span> <span class="keyword">class </span>DoubleSpinBox;</div> 128 <div class="line"><a name="l00026"></a><span class="lineno"> 26</span> <span class="keyword">class </span>Layout;</div> 129 <div class="line"><a name="l00027"></a><span class="lineno"> 27</span> }</div> 130 <div class="line"><a name="l00028"></a><span class="lineno"> 28</span> }</div> 131 <div class="line"><a name="l00029"></a><span class="lineno"> 29</span> </div> 132 <div class="line"><a name="l00030"></a><span class="lineno"> 30</span> <span class="keyword">namespace </span><a class="code" href="namespaceflair.html">flair</a> {</div> 133 <div class="line"><a name="l00031"></a><span class="lineno"> 31</span> <span class="keyword">namespace </span>actuator {</div> 134 <div class="line"><a name="l00037"></a><span class="lineno"><a class="line" href="classflair_1_1actuator_1_1_simu_bldc.html"> 37</a></span> <span class="keyword">class </span><a class="code" href="classflair_1_1actuator_1_1_simu_bldc.html">SimuBldc</a> : <span class="keyword">public</span> <a class="code" href="classflair_1_1actuator_1_1_bldc.html">Bldc</a> {</div> 135 <div class="line"><a name="l00038"></a><span class="lineno"> 38</span> <span class="keyword">public</span>:</div> 136 <div class="line"><a name="l00051"></a><span class="lineno"> 51</span>  <a class="code" href="classflair_1_1actuator_1_1_simu_bldc.html#ad960e5a34f19d664b1b576eea826997f">SimuBldc</a>(<span class="keyword">const</span> <a class="code" href="classflair_1_1core_1_1_i_o_device.html">core::IODevice</a> *parent, <a class="code" href="classflair_1_1gui_1_1_layout.html">gui::Layout</a> *layout, std::string name,</div> 137 <div class="line"><a name="l00052"></a><span class="lineno"> 52</span>  uint8_t motors_count, uint32_t modelId,uint32_t deviceId);</div> 138 <div class="line"><a name="l00053"></a><span class="lineno"> 53</span> </div> 139 <div class="line"><a name="l00065"></a><span class="lineno"> 65</span>  <a class="code" href="classflair_1_1actuator_1_1_simu_bldc.html#ad960e5a34f19d664b1b576eea826997f">SimuBldc</a>(<span class="keyword">const</span> <a class="code" href="classflair_1_1core_1_1_object.html">core::Object</a> *parent, std::string name, uint8_t motors_count,</div> 140 <div class="line"><a name="l00066"></a><span class="lineno"> 66</span>  uint32_t modelId,uint32_t deviceId);</div> 141 <div class="line"><a name="l00067"></a><span class="lineno"> 67</span> </div> 142 <div class="line"><a name="l00072"></a><span class="lineno"> 72</span>  <a class="code" href="classflair_1_1actuator_1_1_simu_bldc.html#a10fd091319fd0532681078badeb2ecd8">~SimuBldc</a>();</div> 143 <div class="line"><a name="l00073"></a><span class="lineno"> 73</span> </div> 144 <div class="line"><a name="l00082"></a><span class="lineno"> 82</span>  <span class="keywordtype">void</span> <a class="code" href="classflair_1_1actuator_1_1_simu_bldc.html#ab8700a00398f461726a46c75739f809c">GetSpeeds</a>(<span class="keywordtype">float</span> *value,<a class="code" href="namespaceflair_1_1core.html#acc0fa041e08ecf73b2d1d723c339a736">core::Time</a>* time) <span class="keyword">const</span>;</div> 145 <div class="line"><a name="l00083"></a><span class="lineno"> 83</span> </div> 146 <div class="line"><a name="l00091"></a><span class="lineno"><a class="line" href="classflair_1_1actuator_1_1_simu_bldc.html#a6d604089c8494c27f8382359327e7fb6"> 91</a></span>  <span class="keywordtype">bool</span> <a class="code" href="classflair_1_1actuator_1_1_simu_bldc.html#a6d604089c8494c27f8382359327e7fb6">HasSpeedMeasurement</a>(<span class="keywordtype">void</span>)<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <span class="keyword">false</span>; };</div> 147 <div class="line"><a name="l00092"></a><span class="lineno"> 92</span> </div> 148 <div class="line"><a name="l00100"></a><span class="lineno"><a class="line" href="classflair_1_1actuator_1_1_simu_bldc.html#a3a97075384649f5a11fd70bf7749fbe1"> 100</a></span>  <span class="keywordtype">bool</span> <a class="code" href="classflair_1_1actuator_1_1_simu_bldc.html#a3a97075384649f5a11fd70bf7749fbe1">HasCurrentMeasurement</a>(<span class="keywordtype">void</span>)<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <span class="keyword">false</span>; };</div> 149 <div class="line"><a name="l00101"></a><span class="lineno"> 101</span> </div> 150 <div class="line"><a name="l00102"></a><span class="lineno"> 102</span> <span class="keyword">private</span>:</div> 151 <div class="line"><a name="l00111"></a><span class="lineno"> 111</span>  <span class="keywordtype">void</span> SetMotors(<span class="keywordtype">float</span> *value);</div> 152 <div class="line"><a name="l00112"></a><span class="lineno"> 112</span>  </div> 153 <div class="line"><a name="l00113"></a><span class="lineno"> 113</span>  std::string ShMemName(uint32_t modelId,uint32_t deviceId);</div> 154 <div class="line"><a name="l00114"></a><span class="lineno"> 114</span>  <a class="code" href="classflair_1_1core_1_1_shared_mem.html">core::SharedMem</a> *shmem;</div> 155 <div class="line"><a name="l00115"></a><span class="lineno"> 115</span>  <a class="code" href="classflair_1_1gui_1_1_double_spin_box.html">gui::DoubleSpinBox</a> *k;</div> 156 <div class="line"><a name="l00116"></a><span class="lineno"> 116</span>  <span class="keywordtype">char</span> *buf;</div> 157 <div class="line"><a name="l00117"></a><span class="lineno"> 117</span> </div> 158 <div class="line"><a name="l00118"></a><span class="lineno"> 118</span> };</div> 159 <div class="line"><a name="l00119"></a><span class="lineno"> 119</span> } <span class="comment">// end namespace actuator</span></div> 160 <div class="line"><a name="l00120"></a><span class="lineno"> 120</span> } <span class="comment">// end namespace flair</span></div> 161 <div class="line"><a name="l00121"></a><span class="lineno"> 121</span> <span class="preprocessor">#endif // SIMUBLDC_H</span></div> 123 <div class="line"><a name="l00021"></a><span class="lineno"> 21</span> }</div> 124 <div class="line"><a name="l00022"></a><span class="lineno"> 22</span> }</div> 125 <div class="line"><a name="l00023"></a><span class="lineno"> 23</span> </div> 126 <div class="line"><a name="l00024"></a><span class="lineno"> 24</span> <span class="keyword">namespace </span><a class="code" href="namespaceflair.html">flair</a> {</div> 127 <div class="line"><a name="l00025"></a><span class="lineno"> 25</span> <span class="keyword">namespace </span>actuator {</div> 128 <div class="line"><a name="l00031"></a><span class="lineno"><a class="line" href="classflair_1_1actuator_1_1_simu_bldc.html"> 31</a></span> <span class="keyword">class </span><a class="code" href="classflair_1_1actuator_1_1_simu_bldc.html">SimuBldc</a> : <span class="keyword">public</span> <a class="code" href="classflair_1_1core_1_1_i_o_device.html">core::IODevice</a> {</div> 129 <div class="line"><a name="l00032"></a><span class="lineno"> 32</span> <span class="keyword">public</span>:</div> 130 <div class="line"><a name="l00044"></a><span class="lineno"> 44</span>  <a class="code" href="classflair_1_1actuator_1_1_simu_bldc.html#a76b2fb40a3736ff2f7c33f68b61f370b">SimuBldc</a>(<span class="keyword">const</span> <a class="code" href="classflair_1_1core_1_1_object.html">core::Object</a> *parent, std::string name, uint8_t motors_count,</div> 131 <div class="line"><a name="l00045"></a><span class="lineno"> 45</span>  uint32_t modelId,uint32_t deviceId);</div> 132 <div class="line"><a name="l00046"></a><span class="lineno"> 46</span> </div> 133 <div class="line"><a name="l00051"></a><span class="lineno"> 51</span>  <a class="code" href="classflair_1_1actuator_1_1_simu_bldc.html#a10fd091319fd0532681078badeb2ecd8">~SimuBldc</a>();</div> 134 <div class="line"><a name="l00052"></a><span class="lineno"> 52</span> </div> 135 <div class="line"><a name="l00060"></a><span class="lineno"> 60</span>  <span class="keywordtype">void</span> <a class="code" href="classflair_1_1actuator_1_1_simu_bldc.html#ab8700a00398f461726a46c75739f809c">GetSpeeds</a>(<span class="keywordtype">float</span> *value,<a class="code" href="namespaceflair_1_1core.html#acc0fa041e08ecf73b2d1d723c339a736">core::Time</a>* time) <span class="keyword">const</span>;</div> 136 <div class="line"><a name="l00061"></a><span class="lineno"> 61</span> </div> 137 <div class="line"><a name="l00062"></a><span class="lineno"> 62</span> </div> 138 <div class="line"><a name="l00063"></a><span class="lineno"> 63</span> <span class="keyword">private</span>:</div> 139 <div class="line"><a name="l00071"></a><span class="lineno"> 71</span>  <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> 140 <div class="line"><a name="l00072"></a><span class="lineno"> 72</span>  std::string ShMemName(uint32_t modelId,uint32_t deviceId);</div> 141 <div class="line"><a name="l00073"></a><span class="lineno"> 73</span>  <a class="code" href="classflair_1_1core_1_1_shared_mem.html">core::SharedMem</a> *shmem;</div> 142 <div class="line"><a name="l00074"></a><span class="lineno"> 74</span>  <span class="keywordtype">char</span> *buf;</div> 143 <div class="line"><a name="l00075"></a><span class="lineno"> 75</span>  uint8_t motors_count;</div> 144 <div class="line"><a name="l00076"></a><span class="lineno"> 76</span> </div> 145 <div class="line"><a name="l00077"></a><span class="lineno"> 77</span> };</div> 146 <div class="line"><a name="l00078"></a><span class="lineno"> 78</span> } <span class="comment">// end namespace actuator</span></div> 147 <div class="line"><a name="l00079"></a><span class="lineno"> 79</span> } <span class="comment">// end namespace flair</span></div> 148 <div class="line"><a name="l00080"></a><span class="lineno"> 80</span> <span class="preprocessor">#endif // SIMUBLDC_H</span></div> 149 <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> 162 150 <div class="ttc" id="classflair_1_1actuator_1_1_simu_bldc_html_ab8700a00398f461726a46c75739f809c"><div class="ttname"><a href="classflair_1_1actuator_1_1_simu_bldc.html#ab8700a00398f461726a46c75739f809c">flair::actuator::SimuBldc::GetSpeeds</a></div><div class="ttdeci">void GetSpeeds(float *value, core::Time *time) const </div><div class="ttdoc">Get motors speeds. </div></div> 163 <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:77</div></div> 151 <div class="ttc" id="classflair_1_1actuator_1_1_simu_bldc_html_a76b2fb40a3736ff2f7c33f68b61f370b"><div class="ttname"><a href="classflair_1_1actuator_1_1_simu_bldc.html#a76b2fb40a3736ff2f7c33f68b61f370b">flair::actuator::SimuBldc::SimuBldc</a></div><div class="ttdeci">SimuBldc(const core::Object *parent, std::string name, uint8_t motors_count, uint32_t modelId, uint32_t deviceId)</div><div class="ttdoc">Constructor. </div></div> 152 <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> 164 153 <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:45</div></div> 165 154 <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> 166 <div class="ttc" id="namespaceflair_1_1core_html_acc0fa041e08ecf73b2d1d723c339a736"><div class="ttname"><a href="namespaceflair_1_1core.html#acc0fa041e08ecf73b2d1d723c339a736">flair::core::Time</a></div><div class="ttdeci">unsigned long long Time</div><div class="ttdoc">Time definition, in ns. </div><div class="ttdef"><b>Definition:</b> Object.h:49</div></div> 167 <div class="ttc" id="classflair_1_1actuator_1_1_simu_bldc_html_ad960e5a34f19d664b1b576eea826997f"><div class="ttname"><a href="classflair_1_1actuator_1_1_simu_bldc.html#ad960e5a34f19d664b1b576eea826997f">flair::actuator::SimuBldc::SimuBldc</a></div><div class="ttdeci">SimuBldc(const core::IODevice *parent, gui::Layout *layout, std::string name, uint8_t motors_count, uint32_t modelId, uint32_t deviceId)</div><div class="ttdoc">Constructor. </div></div> 168 <div class="ttc" id="classflair_1_1actuator_1_1_simu_bldc_html"><div class="ttname"><a href="classflair_1_1actuator_1_1_simu_bldc.html">flair::actuator::SimuBldc</a></div><div class="ttdoc">Class for a simulation bldc. </div><div class="ttdef"><b>Definition:</b> SimuBldc.h:37</div></div> 169 <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> 155 <div class="ttc" id="namespaceflair_1_1core_html_acc0fa041e08ecf73b2d1d723c339a736"><div class="ttname"><a href="namespaceflair_1_1core.html#acc0fa041e08ecf73b2d1d723c339a736">flair::core::Time</a></div><div class="ttdeci">unsigned long long Time</div><div class="ttdoc">Time definition, in ns. </div><div class="ttdef"><b>Definition:</b> Object.h:55</div></div> 156 <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> 157 <div class="ttc" id="classflair_1_1actuator_1_1_simu_bldc_html"><div class="ttname"><a href="classflair_1_1actuator_1_1_simu_bldc.html">flair::actuator::SimuBldc</a></div><div class="ttdoc">Class for a simulation bldc. </div><div class="ttdef"><b>Definition:</b> SimuBldc.h:31</div></div> 170 158 <div class="ttc" id="classflair_1_1core_1_1_shared_mem_html"><div class="ttname"><a href="classflair_1_1core_1_1_shared_mem.html">flair::core::SharedMem</a></div><div class="ttdoc">Class defining a shared memory. </div><div class="ttdef"><b>Definition:</b> SharedMem.h:32</div></div> 171 <div class="ttc" id="classflair_1_1gui_1_1_double_spin_box_html"><div class="ttname"><a href="classflair_1_1gui_1_1_double_spin_box.html">flair::gui::DoubleSpinBox</a></div><div class="ttdoc">Class displaying a QDoubleSpinBox on the ground station. </div><div class="ttdef"><b>Definition:</b> DoubleSpinBox.h:28</div></div>172 <div class="ttc" id="classflair_1_1actuator_1_1_bldc_html"><div class="ttname"><a href="classflair_1_1actuator_1_1_bldc.html">flair::actuator::Bldc</a></div><div class="ttdoc">Base class for brushless motors drivers. </div><div class="ttdef"><b>Definition:</b> Bldc.h:37</div></div>173 <div class="ttc" id="classflair_1_1actuator_1_1_simu_bldc_html_a6d604089c8494c27f8382359327e7fb6"><div class="ttname"><a href="classflair_1_1actuator_1_1_simu_bldc.html#a6d604089c8494c27f8382359327e7fb6">flair::actuator::SimuBldc::HasSpeedMeasurement</a></div><div class="ttdeci">bool HasSpeedMeasurement(void) const </div><div class="ttdoc">Has speed measurement. </div><div class="ttdef"><b>Definition:</b> SimuBldc.h:91</div></div>174 <div class="ttc" id="classflair_1_1actuator_1_1_simu_bldc_html_a3a97075384649f5a11fd70bf7749fbe1"><div class="ttname"><a href="classflair_1_1actuator_1_1_simu_bldc.html#a3a97075384649f5a11fd70bf7749fbe1">flair::actuator::SimuBldc::HasCurrentMeasurement</a></div><div class="ttdeci">bool HasCurrentMeasurement(void) const </div><div class="ttdoc">Has current measurement. </div><div class="ttdef"><b>Definition:</b> SimuBldc.h:100</div></div>175 <div class="ttc" id="_bldc_8h_html"><div class="ttname"><a href="_bldc_8h.html">Bldc.h</a></div><div class="ttdoc">Base class for brushless motors drivers. </div></div>176 159 <div class="ttc" id="classflair_1_1actuator_1_1_simu_bldc_html_a10fd091319fd0532681078badeb2ecd8"><div class="ttname"><a href="classflair_1_1actuator_1_1_simu_bldc.html#a10fd091319fd0532681078badeb2ecd8">flair::actuator::SimuBldc::~SimuBldc</a></div><div class="ttdeci">~SimuBldc()</div><div class="ttdoc">Destructor. </div></div> 177 160 </div><!-- fragment --></div><!-- contents --> … … 180 163 <div id="nav-path" class="navpath"><!-- id is needed for treeview function! --> 181 164 <ul> 182 <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_6 e0f9c50eed172896c55a6e61952176b.html">FlairSensorActuator</a></li><li class="navelem"><a class="el" href="dir_c5d95abdcafe7d1171548eb561d7ce37.html">src</a></li><li class="navelem"><a class="el" href="_simu_bldc_8h.html">SimuBldc.h</a></li>183 <li class="footer">Generated on Fri Feb 23 2018 11:15:45for Flair by165 <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_6c18a444e32a4cd48a96c3b539dd8d1b.html">FlairSimulator</a></li><li class="navelem"><a class="el" href="dir_601030f00f475cf118bb493a6f5bdaf5.html">src</a></li><li class="navelem"><a class="el" href="_simu_bldc_8h.html">SimuBldc.h</a></li> 166 <li class="footer">Generated on Wed Jan 16 2019 09:54:09 for Flair by 184 167 <a href="http://www.doxygen.org/index.html"> 185 168 <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.9.1 </li>
Note:
See TracChangeset
for help on using the changeset viewer.