source: flair-dev/trunk/doc/Flair/classflair_1_1actuator_1_1_simu_bldc.html @ 44

Last change on this file since 44 was 44, checked in by Sanahuja Guillaume, 4 years ago

m

File size: 45.1 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.9.1"/>
7<title>Flair: flair::actuator::SimuBldc Class Reference</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">
46var 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&#160;Page</span></a></li>
51      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
52      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
53      <li><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="annotated.html"><span>Class&#160;List</span></a></li>
75      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
76      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
77      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
78    </ul>
79  </div>
80</div><!-- top -->
81<div id="side-nav" class="ui-resizable side-nav-resizable">
82  <div id="nav-tree">
83    <div id="nav-tree-contents">
84      <div id="nav-sync" class="sync"></div>
85    </div>
86  </div>
87  <div id="splitbar" style="-moz-user-select:none;" 
88       class="ui-resizable-handle">
89  </div>
90</div>
91<script type="text/javascript">
92$(document).ready(function(){initNavTree('classflair_1_1actuator_1_1_simu_bldc.html','');});
93</script>
94<div id="doc-content">
95<!-- window showing the filter options -->
96<div id="MSearchSelectWindow"
97     onmouseover="return searchBox.OnSearchSelectShow()"
98     onmouseout="return searchBox.OnSearchSelectHide()"
99     onkeydown="return searchBox.OnSearchSelectKey(event)">
100</div>
101
102<!-- iframe showing the search results (closed by default) -->
103<div id="MSearchResultsWindow">
104<iframe src="javascript:void(0)" frameborder="0" 
105        name="MSearchResults" id="MSearchResults">
106</iframe>
107</div>
108
109<div class="header">
110  <div class="summary">
111<a href="#pub-methods">Public Member Functions</a> &#124;
112<a href="classflair_1_1actuator_1_1_simu_bldc-members.html">List of all members</a>  </div>
113  <div class="headertitle">
114<div class="title">flair::actuator::SimuBldc Class Reference</div>  </div>
115</div><!--header-->
116<div class="contents">
117
118<p>Class for a simulation bldc. 
119 <a href="classflair_1_1actuator_1_1_simu_bldc.html#details">More...</a></p>
120
121<p><code>#include &lt;<a class="el" href="_simu_bldc_8h_source.html">SimuBldc.h</a>&gt;</code></p>
122<div id="dynsection-0" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
123  <img id="dynsection-0-trigger" src="closed.png" alt="+"/> Inheritance diagram for flair::actuator::SimuBldc:</div>
124<div id="dynsection-0-summary" class="dynsummary" style="display:block;">
125</div>
126<div id="dynsection-0-content" class="dyncontent" style="display:none;">
127 <div class="center">
128  <img src="classflair_1_1actuator_1_1_simu_bldc.png" usemap="#flair::actuator::SimuBldc_map" alt=""/>
129  <map id="flair::actuator::SimuBldc_map" name="flair::actuator::SimuBldc_map">
130<area href="classflair_1_1actuator_1_1_bldc.html" title="Base class for brushless motors drivers. " alt="flair::actuator::Bldc" shape="rect" coords="0,112,144,136"/>
131<area href="classflair_1_1core_1_1_i_o_device.html" title="Abstract class for input/ouput system. " alt="flair::core::IODevice" shape="rect" coords="0,56,144,80"/>
132<area href="classflair_1_1core_1_1_object.html" title="Base class for all Framework&#39;s classes. " alt="flair::core::Object" shape="rect" coords="0,0,144,24"/>
133</map>
134 </div></div>
135<table class="memberdecls">
136<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
137Public Member Functions</h2></td></tr>
138<tr class="memitem:a1ac27a1de4c51b10aa3c4b03d55f6e7e"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classflair_1_1actuator_1_1_simu_bldc.html#a1ac27a1de4c51b10aa3c4b03d55f6e7e">SimuBldc</a> (const <a class="el" href="classflair_1_1core_1_1_i_o_device.html">core::IODevice</a> *parent, <a class="el" href="classflair_1_1gui_1_1_layout.html">gui::Layout</a> *layout, std::string name, uint8_t motors_count, uint32_t dev_id)</td></tr>
139<tr class="memdesc:a1ac27a1de4c51b10aa3c4b03d55f6e7e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor.  <a href="#a1ac27a1de4c51b10aa3c4b03d55f6e7e">More...</a><br /></td></tr>
140<tr class="separator:a1ac27a1de4c51b10aa3c4b03d55f6e7e"><td class="memSeparator" colspan="2">&#160;</td></tr>
141<tr class="memitem:a6fbe71496dd9b7ad86630b4c23868dac"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classflair_1_1actuator_1_1_simu_bldc.html#a6fbe71496dd9b7ad86630b4c23868dac">SimuBldc</a> (const <a class="el" href="classflair_1_1core_1_1_object.html">core::Object</a> *parent, std::string name, uint8_t motors_count, uint32_t dev_id)</td></tr>
142<tr class="memdesc:a6fbe71496dd9b7ad86630b4c23868dac"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor.  <a href="#a6fbe71496dd9b7ad86630b4c23868dac">More...</a><br /></td></tr>
143<tr class="separator:a6fbe71496dd9b7ad86630b4c23868dac"><td class="memSeparator" colspan="2">&#160;</td></tr>
144<tr class="memitem:a10fd091319fd0532681078badeb2ecd8"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classflair_1_1actuator_1_1_simu_bldc.html#a10fd091319fd0532681078badeb2ecd8">~SimuBldc</a> ()</td></tr>
145<tr class="memdesc:a10fd091319fd0532681078badeb2ecd8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Destructor.  <a href="#a10fd091319fd0532681078badeb2ecd8">More...</a><br /></td></tr>
146<tr class="separator:a10fd091319fd0532681078badeb2ecd8"><td class="memSeparator" colspan="2">&#160;</td></tr>
147<tr class="memitem:a94b7583f7bd4fd72706cfb8363316438"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classflair_1_1actuator_1_1_simu_bldc.html#a94b7583f7bd4fd72706cfb8363316438">GetSpeeds</a> (float *value) const </td></tr>
148<tr class="memdesc:a94b7583f7bd4fd72706cfb8363316438"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get motors speeds.  <a href="#a94b7583f7bd4fd72706cfb8363316438">More...</a><br /></td></tr>
149<tr class="separator:a94b7583f7bd4fd72706cfb8363316438"><td class="memSeparator" colspan="2">&#160;</td></tr>
150<tr class="memitem:a6d604089c8494c27f8382359327e7fb6"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classflair_1_1actuator_1_1_simu_bldc.html#a6d604089c8494c27f8382359327e7fb6">HasSpeedMeasurement</a> (void) const </td></tr>
151<tr class="memdesc:a6d604089c8494c27f8382359327e7fb6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Has speed measurement.  <a href="#a6d604089c8494c27f8382359327e7fb6">More...</a><br /></td></tr>
152<tr class="separator:a6d604089c8494c27f8382359327e7fb6"><td class="memSeparator" colspan="2">&#160;</td></tr>
153<tr class="memitem:a3a97075384649f5a11fd70bf7749fbe1"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classflair_1_1actuator_1_1_simu_bldc.html#a3a97075384649f5a11fd70bf7749fbe1">HasCurrentMeasurement</a> (void) const </td></tr>
154<tr class="memdesc:a3a97075384649f5a11fd70bf7749fbe1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Has current measurement.  <a href="#a3a97075384649f5a11fd70bf7749fbe1">More...</a><br /></td></tr>
155<tr class="separator:a3a97075384649f5a11fd70bf7749fbe1"><td class="memSeparator" colspan="2">&#160;</td></tr>
156<tr class="inherit_header pub_methods_classflair_1_1actuator_1_1_bldc"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classflair_1_1actuator_1_1_bldc')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classflair_1_1actuator_1_1_bldc.html">flair::actuator::Bldc</a></td></tr>
157<tr class="memitem:acb60358e96275823a489fb2d18a0d119 inherit pub_methods_classflair_1_1actuator_1_1_bldc"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classflair_1_1actuator_1_1_bldc.html#acb60358e96275823a489fb2d18a0d119">Bldc</a> (const <a class="el" href="classflair_1_1core_1_1_i_o_device.html">core::IODevice</a> *parent, <a class="el" href="classflair_1_1gui_1_1_layout.html">gui::Layout</a> *layout, std::string name, uint8_t motors_count)</td></tr>
158<tr class="memdesc:acb60358e96275823a489fb2d18a0d119 inherit pub_methods_classflair_1_1actuator_1_1_bldc"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor.  <a href="#acb60358e96275823a489fb2d18a0d119">More...</a><br /></td></tr>
159<tr class="separator:acb60358e96275823a489fb2d18a0d119 inherit pub_methods_classflair_1_1actuator_1_1_bldc"><td class="memSeparator" colspan="2">&#160;</td></tr>
160<tr class="memitem:a35ff4113cea48bfd002d425d2e1b5d49 inherit pub_methods_classflair_1_1actuator_1_1_bldc"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classflair_1_1actuator_1_1_bldc.html#a35ff4113cea48bfd002d425d2e1b5d49">Bldc</a> (const <a class="el" href="classflair_1_1core_1_1_object.html">core::Object</a> *parent, std::string name, uint8_t motors_count)</td></tr>
161<tr class="memdesc:a35ff4113cea48bfd002d425d2e1b5d49 inherit pub_methods_classflair_1_1actuator_1_1_bldc"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor.  <a href="#a35ff4113cea48bfd002d425d2e1b5d49">More...</a><br /></td></tr>
162<tr class="separator:a35ff4113cea48bfd002d425d2e1b5d49 inherit pub_methods_classflair_1_1actuator_1_1_bldc"><td class="memSeparator" colspan="2">&#160;</td></tr>
163<tr class="memitem:a1569d6c4eed96b9f53cae6cd027b7608 inherit pub_methods_classflair_1_1actuator_1_1_bldc"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classflair_1_1actuator_1_1_bldc.html#a1569d6c4eed96b9f53cae6cd027b7608">~Bldc</a> ()</td></tr>
164<tr class="memdesc:a1569d6c4eed96b9f53cae6cd027b7608 inherit pub_methods_classflair_1_1actuator_1_1_bldc"><td class="mdescLeft">&#160;</td><td class="mdescRight">Destructor.  <a href="#a1569d6c4eed96b9f53cae6cd027b7608">More...</a><br /></td></tr>
165<tr class="separator:a1569d6c4eed96b9f53cae6cd027b7608 inherit pub_methods_classflair_1_1actuator_1_1_bldc"><td class="memSeparator" colspan="2">&#160;</td></tr>
166<tr class="memitem:a6c1d6173c5dcc0fa550464268847ca91 inherit pub_methods_classflair_1_1actuator_1_1_bldc"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classflair_1_1actuator_1_1_bldc.html#a6c1d6173c5dcc0fa550464268847ca91">LockUserInterface</a> (void) const </td></tr>
167<tr class="memdesc:a6c1d6173c5dcc0fa550464268847ca91 inherit pub_methods_classflair_1_1actuator_1_1_bldc"><td class="mdescLeft">&#160;</td><td class="mdescRight">Lock user interface.  <a href="#a6c1d6173c5dcc0fa550464268847ca91">More...</a><br /></td></tr>
168<tr class="separator:a6c1d6173c5dcc0fa550464268847ca91 inherit pub_methods_classflair_1_1actuator_1_1_bldc"><td class="memSeparator" colspan="2">&#160;</td></tr>
169<tr class="memitem:ac1fba30ad70a6d8ff075d376c0e417dd inherit pub_methods_classflair_1_1actuator_1_1_bldc"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classflair_1_1actuator_1_1_bldc.html#ac1fba30ad70a6d8ff075d376c0e417dd">UnlockUserInterface</a> (void) const </td></tr>
170<tr class="memdesc:ac1fba30ad70a6d8ff075d376c0e417dd inherit pub_methods_classflair_1_1actuator_1_1_bldc"><td class="mdescLeft">&#160;</td><td class="mdescRight">Unlock user interface.  <a href="#ac1fba30ad70a6d8ff075d376c0e417dd">More...</a><br /></td></tr>
171<tr class="separator:ac1fba30ad70a6d8ff075d376c0e417dd inherit pub_methods_classflair_1_1actuator_1_1_bldc"><td class="memSeparator" colspan="2">&#160;</td></tr>
172<tr class="memitem:a5f653e25984ae11ae7f513e1fbad7d10 inherit pub_methods_classflair_1_1actuator_1_1_bldc"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classflair_1_1actuator_1_1_bldc.html#a5f653e25984ae11ae7f513e1fbad7d10">UseDefaultPlot</a> (<a class="el" href="classflair_1_1gui_1_1_tab_widget.html">gui::TabWidget</a> *tabwidget)</td></tr>
173<tr class="memdesc:a5f653e25984ae11ae7f513e1fbad7d10 inherit pub_methods_classflair_1_1actuator_1_1_bldc"><td class="mdescLeft">&#160;</td><td class="mdescRight">Use default plot.  <a href="#a5f653e25984ae11ae7f513e1fbad7d10">More...</a><br /></td></tr>
174<tr class="separator:a5f653e25984ae11ae7f513e1fbad7d10 inherit pub_methods_classflair_1_1actuator_1_1_bldc"><td class="memSeparator" colspan="2">&#160;</td></tr>
175<tr class="memitem:a8d0ed04a12dfcb381cfabd887279df6f inherit pub_methods_classflair_1_1actuator_1_1_bldc"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classflair_1_1core_1_1cvmatrix.html">core::cvmatrix</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classflair_1_1actuator_1_1_bldc.html#a8d0ed04a12dfcb381cfabd887279df6f">Output</a> (void) const </td></tr>
176<tr class="memdesc:a8d0ed04a12dfcb381cfabd887279df6f inherit pub_methods_classflair_1_1actuator_1_1_bldc"><td class="mdescLeft">&#160;</td><td class="mdescRight">Output from motors.  <a href="#a8d0ed04a12dfcb381cfabd887279df6f">More...</a><br /></td></tr>
177<tr class="separator:a8d0ed04a12dfcb381cfabd887279df6f inherit pub_methods_classflair_1_1actuator_1_1_bldc"><td class="memSeparator" colspan="2">&#160;</td></tr>
178<tr class="memitem:aba973fd0797e039fc33c720729215570 inherit pub_methods_classflair_1_1actuator_1_1_bldc"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classflair_1_1actuator_1_1_bldc.html#aba973fd0797e039fc33c720729215570">MotorsCount</a> (void) const </td></tr>
179<tr class="memdesc:aba973fd0797e039fc33c720729215570 inherit pub_methods_classflair_1_1actuator_1_1_bldc"><td class="mdescLeft">&#160;</td><td class="mdescRight">Motors count.  <a href="#aba973fd0797e039fc33c720729215570">More...</a><br /></td></tr>
180<tr class="separator:aba973fd0797e039fc33c720729215570 inherit pub_methods_classflair_1_1actuator_1_1_bldc"><td class="memSeparator" colspan="2">&#160;</td></tr>
181<tr class="memitem:ac030794b46b72db4184592f7cff11731 inherit pub_methods_classflair_1_1actuator_1_1_bldc"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classflair_1_1actuator_1_1_bldc.html#ac030794b46b72db4184592f7cff11731">SetEnabled</a> (bool status)</td></tr>
182<tr class="memdesc:ac030794b46b72db4184592f7cff11731 inherit pub_methods_classflair_1_1actuator_1_1_bldc"><td class="mdescLeft">&#160;</td><td class="mdescRight">Enable motors.  <a href="#ac030794b46b72db4184592f7cff11731">More...</a><br /></td></tr>
183<tr class="separator:ac030794b46b72db4184592f7cff11731 inherit pub_methods_classflair_1_1actuator_1_1_bldc"><td class="memSeparator" colspan="2">&#160;</td></tr>
184<tr class="memitem:a82ad883235b4477905ef78b4daf8dccf inherit pub_methods_classflair_1_1actuator_1_1_bldc"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classflair_1_1actuator_1_1_bldc.html#a82ad883235b4477905ef78b4daf8dccf">AreEnabled</a> (void) const </td></tr>
185<tr class="memdesc:a82ad883235b4477905ef78b4daf8dccf inherit pub_methods_classflair_1_1actuator_1_1_bldc"><td class="mdescLeft">&#160;</td><td class="mdescRight">Are motors enabled?  <a href="#a82ad883235b4477905ef78b4daf8dccf">More...</a><br /></td></tr>
186<tr class="separator:a82ad883235b4477905ef78b4daf8dccf inherit pub_methods_classflair_1_1actuator_1_1_bldc"><td class="memSeparator" colspan="2">&#160;</td></tr>
187<tr class="memitem:ae040c7faecb20b538da7932a3a2e589f inherit pub_methods_classflair_1_1actuator_1_1_bldc"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classflair_1_1actuator_1_1_bldc.html#ae040c7faecb20b538da7932a3a2e589f">SetPower</a> (int motor_id, float value)</td></tr>
188<tr class="memdesc:ae040c7faecb20b538da7932a3a2e589f inherit pub_methods_classflair_1_1actuator_1_1_bldc"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set motor power.  <a href="#ae040c7faecb20b538da7932a3a2e589f">More...</a><br /></td></tr>
189<tr class="separator:ae040c7faecb20b538da7932a3a2e589f inherit pub_methods_classflair_1_1actuator_1_1_bldc"><td class="memSeparator" colspan="2">&#160;</td></tr>
190<tr class="memitem:a330135b8772cff48754df0e4f720cd0b inherit pub_methods_classflair_1_1actuator_1_1_bldc"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classflair_1_1gui_1_1_layout.html">gui::Layout</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classflair_1_1actuator_1_1_bldc.html#a330135b8772cff48754df0e4f720cd0b">GetLayout</a> (void) const </td></tr>
191<tr class="memdesc:a330135b8772cff48754df0e4f720cd0b inherit pub_methods_classflair_1_1actuator_1_1_bldc"><td class="mdescLeft">&#160;</td><td class="mdescRight">Layout.  <a href="#a330135b8772cff48754df0e4f720cd0b">More...</a><br /></td></tr>
192<tr class="separator:a330135b8772cff48754df0e4f720cd0b inherit pub_methods_classflair_1_1actuator_1_1_bldc"><td class="memSeparator" colspan="2">&#160;</td></tr>
193<tr class="inherit_header pub_methods_classflair_1_1core_1_1_i_o_device"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classflair_1_1core_1_1_i_o_device')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classflair_1_1core_1_1_i_o_device.html">flair::core::IODevice</a></td></tr>
194<tr class="memitem:a9693b497752b466891eaafeb34bec4d3 inherit pub_methods_classflair_1_1core_1_1_i_o_device"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classflair_1_1core_1_1_i_o_device.html#a9693b497752b466891eaafeb34bec4d3">IODevice</a> (const <a class="el" href="classflair_1_1core_1_1_object.html">Object</a> *parent, std::string name)</td></tr>
195<tr class="memdesc:a9693b497752b466891eaafeb34bec4d3 inherit pub_methods_classflair_1_1core_1_1_i_o_device"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor.  <a href="#a9693b497752b466891eaafeb34bec4d3">More...</a><br /></td></tr>
196<tr class="separator:a9693b497752b466891eaafeb34bec4d3 inherit pub_methods_classflair_1_1core_1_1_i_o_device"><td class="memSeparator" colspan="2">&#160;</td></tr>
197<tr class="memitem:a05246988b486def40926d8491e1bcc5f inherit pub_methods_classflair_1_1core_1_1_i_o_device"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classflair_1_1core_1_1_i_o_device.html#a05246988b486def40926d8491e1bcc5f">~IODevice</a> ()</td></tr>
198<tr class="memdesc:a05246988b486def40926d8491e1bcc5f inherit pub_methods_classflair_1_1core_1_1_i_o_device"><td class="mdescLeft">&#160;</td><td class="mdescRight">Destructor.  <a href="#a05246988b486def40926d8491e1bcc5f">More...</a><br /></td></tr>
199<tr class="separator:a05246988b486def40926d8491e1bcc5f inherit pub_methods_classflair_1_1core_1_1_i_o_device"><td class="memSeparator" colspan="2">&#160;</td></tr>
200<tr class="memitem:af7b42de6bb3893df860063228b55c229 inherit pub_methods_classflair_1_1core_1_1_i_o_device"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classflair_1_1core_1_1_i_o_device.html#af7b42de6bb3893df860063228b55c229">AddDeviceToLog</a> (const <a class="el" href="classflair_1_1core_1_1_i_o_device.html">IODevice</a> *device)</td></tr>
201<tr class="memdesc:af7b42de6bb3893df860063228b55c229 inherit pub_methods_classflair_1_1core_1_1_i_o_device"><td class="mdescLeft">&#160;</td><td class="mdescRight">Add an <a class="el" href="classflair_1_1core_1_1_i_o_device.html" title="Abstract class for input/ouput system. ">IODevice</a> to the logs.  <a href="#af7b42de6bb3893df860063228b55c229">More...</a><br /></td></tr>
202<tr class="separator:af7b42de6bb3893df860063228b55c229 inherit pub_methods_classflair_1_1core_1_1_i_o_device"><td class="memSeparator" colspan="2">&#160;</td></tr>
203<tr class="memitem:a2e0b7af75abdbf39843d8bf2e45f08b9 inherit pub_methods_classflair_1_1core_1_1_i_o_device"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classflair_1_1core_1_1_i_o_device.html#a2e0b7af75abdbf39843d8bf2e45f08b9">AddDataToLog</a> (const <a class="el" href="classflair_1_1core_1_1io__data.html">io_data</a> *data)</td></tr>
204<tr class="memdesc:a2e0b7af75abdbf39843d8bf2e45f08b9 inherit pub_methods_classflair_1_1core_1_1_i_o_device"><td class="mdescLeft">&#160;</td><td class="mdescRight">Add an <a class="el" href="classflair_1_1core_1_1io__data.html" title="Abstract class for data types. ">io_data</a> to the log.  <a href="#a2e0b7af75abdbf39843d8bf2e45f08b9">More...</a><br /></td></tr>
205<tr class="separator:a2e0b7af75abdbf39843d8bf2e45f08b9 inherit pub_methods_classflair_1_1core_1_1_i_o_device"><td class="memSeparator" colspan="2">&#160;</td></tr>
206<tr class="memitem:a12d811c6926fb86da6b47f889109da66 inherit pub_methods_classflair_1_1core_1_1_i_o_device"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classflair_1_1core_1_1_i_o_device.html#a12d811c6926fb86da6b47f889109da66">OutputToShMem</a> (bool enabled)</td></tr>
207<tr class="memdesc:a12d811c6926fb86da6b47f889109da66 inherit pub_methods_classflair_1_1core_1_1_i_o_device"><td class="mdescLeft">&#160;</td><td class="mdescRight">Send the output to a shared memory.  <a href="#a12d811c6926fb86da6b47f889109da66">More...</a><br /></td></tr>
208<tr class="separator:a12d811c6926fb86da6b47f889109da66 inherit pub_methods_classflair_1_1core_1_1_i_o_device"><td class="memSeparator" colspan="2">&#160;</td></tr>
209<tr class="memitem:a75e82ca2ae2fb7c39d973dd3d16bc698 inherit pub_methods_classflair_1_1core_1_1_i_o_device"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a75e82ca2ae2fb7c39d973dd3d16bc698"></a>
210virtual <a class="el" href="classflair_1_1core_1_1_data_type.html">DataType</a> const &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>GetInputDataType</b> () const </td></tr>
211<tr class="separator:a75e82ca2ae2fb7c39d973dd3d16bc698 inherit pub_methods_classflair_1_1core_1_1_i_o_device"><td class="memSeparator" colspan="2">&#160;</td></tr>
212<tr class="memitem:aa325be57d48b268006120dde75dd65cc inherit pub_methods_classflair_1_1core_1_1_i_o_device"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa325be57d48b268006120dde75dd65cc"></a>
213virtual <a class="el" href="classflair_1_1core_1_1_data_type.html">DataType</a> const &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>GetOutputDataType</b> () const </td></tr>
214<tr class="separator:aa325be57d48b268006120dde75dd65cc inherit pub_methods_classflair_1_1core_1_1_i_o_device"><td class="memSeparator" colspan="2">&#160;</td></tr>
215<tr class="inherit_header pub_methods_classflair_1_1core_1_1_object"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classflair_1_1core_1_1_object')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classflair_1_1core_1_1_object.html">flair::core::Object</a></td></tr>
216<tr class="memitem:aec92383fd5bf68d9df10414862b7e95c inherit pub_methods_classflair_1_1core_1_1_object"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classflair_1_1core_1_1_object.html#aec92383fd5bf68d9df10414862b7e95c">Object</a> (const <a class="el" href="classflair_1_1core_1_1_object.html">Object</a> *parent=NULL, std::string name=&quot;&quot;, std::string type=&quot;&quot;)</td></tr>
217<tr class="memdesc:aec92383fd5bf68d9df10414862b7e95c inherit pub_methods_classflair_1_1core_1_1_object"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor.  <a href="#aec92383fd5bf68d9df10414862b7e95c">More...</a><br /></td></tr>
218<tr class="separator:aec92383fd5bf68d9df10414862b7e95c inherit pub_methods_classflair_1_1core_1_1_object"><td class="memSeparator" colspan="2">&#160;</td></tr>
219<tr class="memitem:aa2bde0e6677bbef705c96c93cb06ad09 inherit pub_methods_classflair_1_1core_1_1_object"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classflair_1_1core_1_1_object.html#aa2bde0e6677bbef705c96c93cb06ad09">~Object</a> ()</td></tr>
220<tr class="memdesc:aa2bde0e6677bbef705c96c93cb06ad09 inherit pub_methods_classflair_1_1core_1_1_object"><td class="mdescLeft">&#160;</td><td class="mdescRight">Destructor.  <a href="#aa2bde0e6677bbef705c96c93cb06ad09">More...</a><br /></td></tr>
221<tr class="separator:aa2bde0e6677bbef705c96c93cb06ad09 inherit pub_methods_classflair_1_1core_1_1_object"><td class="memSeparator" colspan="2">&#160;</td></tr>
222<tr class="memitem:a9b0344dff7e1c05424d9152c8274523a inherit pub_methods_classflair_1_1core_1_1_object"><td class="memItemLeft" align="right" valign="top">std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classflair_1_1core_1_1_object.html#a9b0344dff7e1c05424d9152c8274523a">ObjectName</a> (void) const </td></tr>
223<tr class="memdesc:a9b0344dff7e1c05424d9152c8274523a inherit pub_methods_classflair_1_1core_1_1_object"><td class="mdescLeft">&#160;</td><td class="mdescRight">Name.  <a href="#a9b0344dff7e1c05424d9152c8274523a">More...</a><br /></td></tr>
224<tr class="separator:a9b0344dff7e1c05424d9152c8274523a inherit pub_methods_classflair_1_1core_1_1_object"><td class="memSeparator" colspan="2">&#160;</td></tr>
225<tr class="memitem:a609a250ec037fbcaf8957c8f1dcbfc53 inherit pub_methods_classflair_1_1core_1_1_object"><td class="memItemLeft" align="right" valign="top">std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classflair_1_1core_1_1_object.html#a609a250ec037fbcaf8957c8f1dcbfc53">ObjectType</a> (void) const </td></tr>
226<tr class="memdesc:a609a250ec037fbcaf8957c8f1dcbfc53 inherit pub_methods_classflair_1_1core_1_1_object"><td class="mdescLeft">&#160;</td><td class="mdescRight">Type.  <a href="#a609a250ec037fbcaf8957c8f1dcbfc53">More...</a><br /></td></tr>
227<tr class="separator:a609a250ec037fbcaf8957c8f1dcbfc53 inherit pub_methods_classflair_1_1core_1_1_object"><td class="memSeparator" colspan="2">&#160;</td></tr>
228<tr class="memitem:a360c112cc3017a5152ebf6e84d2efa70 inherit pub_methods_classflair_1_1core_1_1_object"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classflair_1_1core_1_1_object.html">Object</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classflair_1_1core_1_1_object.html#a360c112cc3017a5152ebf6e84d2efa70">Parent</a> (void) const </td></tr>
229<tr class="memdesc:a360c112cc3017a5152ebf6e84d2efa70 inherit pub_methods_classflair_1_1core_1_1_object"><td class="mdescLeft">&#160;</td><td class="mdescRight">Parent.  <a href="#a360c112cc3017a5152ebf6e84d2efa70">More...</a><br /></td></tr>
230<tr class="separator:a360c112cc3017a5152ebf6e84d2efa70 inherit pub_methods_classflair_1_1core_1_1_object"><td class="memSeparator" colspan="2">&#160;</td></tr>
231<tr class="memitem:ae22db4d723ec2d50b3ba48f26a6a770c inherit pub_methods_classflair_1_1core_1_1_object"><td class="memItemLeft" align="right" valign="top">std::vector&lt; const <a class="el" href="classflair_1_1core_1_1_object.html">Object</a> * &gt; *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classflair_1_1core_1_1_object.html#ae22db4d723ec2d50b3ba48f26a6a770c">TypeChilds</a> (void) const </td></tr>
232<tr class="memdesc:ae22db4d723ec2d50b3ba48f26a6a770c inherit pub_methods_classflair_1_1core_1_1_object"><td class="mdescLeft">&#160;</td><td class="mdescRight">Childs of the same type.  <a href="#ae22db4d723ec2d50b3ba48f26a6a770c">More...</a><br /></td></tr>
233<tr class="separator:ae22db4d723ec2d50b3ba48f26a6a770c inherit pub_methods_classflair_1_1core_1_1_object"><td class="memSeparator" colspan="2">&#160;</td></tr>
234<tr class="memitem:a344f81cd35805a9501098bf727ac1a10 inherit pub_methods_classflair_1_1core_1_1_object"><td class="memItemLeft" align="right" valign="top">std::vector&lt; const <a class="el" href="classflair_1_1core_1_1_object.html">Object</a> * &gt; *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classflair_1_1core_1_1_object.html#a344f81cd35805a9501098bf727ac1a10">Childs</a> (void) const </td></tr>
235<tr class="memdesc:a344f81cd35805a9501098bf727ac1a10 inherit pub_methods_classflair_1_1core_1_1_object"><td class="mdescLeft">&#160;</td><td class="mdescRight">Childs.  <a href="#a344f81cd35805a9501098bf727ac1a10">More...</a><br /></td></tr>
236<tr class="separator:a344f81cd35805a9501098bf727ac1a10 inherit pub_methods_classflair_1_1core_1_1_object"><td class="memSeparator" colspan="2">&#160;</td></tr>
237<tr class="memitem:af001feba14fc053aa778e61080a0b4cf inherit pub_methods_classflair_1_1core_1_1_object"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classflair_1_1core_1_1_object.html#af001feba14fc053aa778e61080a0b4cf">Information</a> (const char *function, int line, const char *format,...) const </td></tr>
238<tr class="memdesc:af001feba14fc053aa778e61080a0b4cf inherit pub_methods_classflair_1_1core_1_1_object"><td class="mdescLeft">&#160;</td><td class="mdescRight">Formatted information.  <a href="#af001feba14fc053aa778e61080a0b4cf">More...</a><br /></td></tr>
239<tr class="separator:af001feba14fc053aa778e61080a0b4cf inherit pub_methods_classflair_1_1core_1_1_object"><td class="memSeparator" colspan="2">&#160;</td></tr>
240<tr class="memitem:a168b18451b2ee6126e1e81d452005ff6 inherit pub_methods_classflair_1_1core_1_1_object"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classflair_1_1core_1_1_object.html#a168b18451b2ee6126e1e81d452005ff6">Warning</a> (const char *function, const char *format,...) const </td></tr>
241<tr class="memdesc:a168b18451b2ee6126e1e81d452005ff6 inherit pub_methods_classflair_1_1core_1_1_object"><td class="mdescLeft">&#160;</td><td class="mdescRight">Formatted warning.  <a href="#a168b18451b2ee6126e1e81d452005ff6">More...</a><br /></td></tr>
242<tr class="separator:a168b18451b2ee6126e1e81d452005ff6 inherit pub_methods_classflair_1_1core_1_1_object"><td class="memSeparator" colspan="2">&#160;</td></tr>
243<tr class="memitem:a3ca9694d29ec2b0491739879685df5ca inherit pub_methods_classflair_1_1core_1_1_object"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classflair_1_1core_1_1_object.html#a3ca9694d29ec2b0491739879685df5ca">Error</a> (const char *function, const char *format,...) const </td></tr>
244<tr class="memdesc:a3ca9694d29ec2b0491739879685df5ca inherit pub_methods_classflair_1_1core_1_1_object"><td class="mdescLeft">&#160;</td><td class="mdescRight">Formatted error.  <a href="#a3ca9694d29ec2b0491739879685df5ca">More...</a><br /></td></tr>
245<tr class="separator:a3ca9694d29ec2b0491739879685df5ca inherit pub_methods_classflair_1_1core_1_1_object"><td class="memSeparator" colspan="2">&#160;</td></tr>
246<tr class="memitem:a36cdd7f556e78b1bddd1d1fe4264bb85 inherit pub_methods_classflair_1_1core_1_1_object"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classflair_1_1core_1_1_object.html#a36cdd7f556e78b1bddd1d1fe4264bb85">ErrorOccured</a> (bool recursive=true) const </td></tr>
247<tr class="memdesc:a36cdd7f556e78b1bddd1d1fe4264bb85 inherit pub_methods_classflair_1_1core_1_1_object"><td class="mdescLeft">&#160;</td><td class="mdescRight">Has an errror occured?  <a href="#a36cdd7f556e78b1bddd1d1fe4264bb85">More...</a><br /></td></tr>
248<tr class="separator:a36cdd7f556e78b1bddd1d1fe4264bb85 inherit pub_methods_classflair_1_1core_1_1_object"><td class="memSeparator" colspan="2">&#160;</td></tr>
249</table><table class="memberdecls">
250<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a>
251Additional Inherited Members</h2></td></tr>
252<tr class="inherit_header pub_types_classflair_1_1core_1_1_object"><td colspan="2" onclick="javascript:toggleInherit('pub_types_classflair_1_1core_1_1_object')"><img src="closed.png" alt="-"/>&#160;Public Types inherited from <a class="el" href="classflair_1_1core_1_1_object.html">flair::core::Object</a></td></tr>
253<tr class="memitem:aed5fccda511f97487040fed29f4efc97 inherit pub_types_classflair_1_1core_1_1_object"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aed5fccda511f97487040fed29f4efc97"></a>enum &#160;</td><td class="memItemRight" valign="bottom"><b>color_t</b> { <b>Auto</b> = 0,
254<b>Red</b> = 31,
255<b>Green</b> = 32,
256<b>Orange</b> = 33
257 }</td></tr>
258<tr class="separator:aed5fccda511f97487040fed29f4efc97 inherit pub_types_classflair_1_1core_1_1_object"><td class="memSeparator" colspan="2">&#160;</td></tr>
259<tr class="inherit_header pro_methods_classflair_1_1core_1_1_i_o_device"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_classflair_1_1core_1_1_i_o_device')"><img src="closed.png" alt="-"/>&#160;Protected Member Functions inherited from <a class="el" href="classflair_1_1core_1_1_i_o_device.html">flair::core::IODevice</a></td></tr>
260<tr class="memitem:a3df9057ae23eb34f1b1dae8e7a4a9efc inherit pro_methods_classflair_1_1core_1_1_i_o_device"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classflair_1_1core_1_1_i_o_device.html#a3df9057ae23eb34f1b1dae8e7a4a9efc">ProcessUpdate</a> (<a class="el" href="classflair_1_1core_1_1io__data.html">io_data</a> *data)</td></tr>
261<tr class="memdesc:a3df9057ae23eb34f1b1dae8e7a4a9efc inherit pro_methods_classflair_1_1core_1_1_i_o_device"><td class="mdescLeft">&#160;</td><td class="mdescRight">Process the childs of type <a class="el" href="classflair_1_1core_1_1_i_o_device.html" title="Abstract class for input/ouput system. ">IODevice</a>, and log if needed.  <a href="#a3df9057ae23eb34f1b1dae8e7a4a9efc">More...</a><br /></td></tr>
262<tr class="separator:a3df9057ae23eb34f1b1dae8e7a4a9efc inherit pro_methods_classflair_1_1core_1_1_i_o_device"><td class="memSeparator" colspan="2">&#160;</td></tr>
263<tr class="inherit_header pro_attribs_classflair_1_1actuator_1_1_bldc"><td colspan="2" onclick="javascript:toggleInherit('pro_attribs_classflair_1_1actuator_1_1_bldc')"><img src="closed.png" alt="-"/>&#160;Protected Attributes inherited from <a class="el" href="classflair_1_1actuator_1_1_bldc.html">flair::actuator::Bldc</a></td></tr>
264<tr class="memitem:a252a95e3889319f90e4afd82ac6d1400 inherit pro_attribs_classflair_1_1actuator_1_1_bldc"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a252a95e3889319f90e4afd82ac6d1400"></a>
265<a class="el" href="classflair_1_1core_1_1cvmatrix.html">core::cvmatrix</a> *&#160;</td><td class="memItemRight" valign="bottom"><b>output</b></td></tr>
266<tr class="separator:a252a95e3889319f90e4afd82ac6d1400 inherit pro_attribs_classflair_1_1actuator_1_1_bldc"><td class="memSeparator" colspan="2">&#160;</td></tr>
267</table>
268<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
269<div class="textblock"><p>Class for a simulation bldc. </p>
270</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
271<a class="anchor" id="a1ac27a1de4c51b10aa3c4b03d55f6e7e"></a>
272<div class="memitem">
273<div class="memproto">
274      <table class="memname">
275        <tr>
276          <td class="memname">flair::actuator::SimuBldc::SimuBldc </td>
277          <td>(</td>
278          <td class="paramtype">const <a class="el" href="classflair_1_1core_1_1_i_o_device.html">core::IODevice</a> *&#160;</td>
279          <td class="paramname"><em>parent</em>, </td>
280        </tr>
281        <tr>
282          <td class="paramkey"></td>
283          <td></td>
284          <td class="paramtype"><a class="el" href="classflair_1_1gui_1_1_layout.html">gui::Layout</a> *&#160;</td>
285          <td class="paramname"><em>layout</em>, </td>
286        </tr>
287        <tr>
288          <td class="paramkey"></td>
289          <td></td>
290          <td class="paramtype">std::string&#160;</td>
291          <td class="paramname"><em>name</em>, </td>
292        </tr>
293        <tr>
294          <td class="paramkey"></td>
295          <td></td>
296          <td class="paramtype">uint8_t&#160;</td>
297          <td class="paramname"><em>motors_count</em>, </td>
298        </tr>
299        <tr>
300          <td class="paramkey"></td>
301          <td></td>
302          <td class="paramtype">uint32_t&#160;</td>
303          <td class="paramname"><em>dev_id</em>&#160;</td>
304        </tr>
305        <tr>
306          <td></td>
307          <td>)</td>
308          <td></td><td></td>
309        </tr>
310      </table>
311</div><div class="memdoc">
312
313<p>Constructor. </p>
314<p>Construct a <a class="el" href="classflair_1_1actuator_1_1_simu_bldc.html" title="Class for a simulation bldc. ">SimuBldc</a>. Control part.</p>
315<dl class="params"><dt>Parameters</dt><dd>
316  <table class="params">
317    <tr><td class="paramname">parent</td><td>parent </td></tr>
318    <tr><td class="paramname">layout</td><td>layout </td></tr>
319    <tr><td class="paramname">name</td><td>name </td></tr>
320    <tr><td class="paramname">motors_count</td><td>number of motors </td></tr>
321    <tr><td class="paramname">dev_id</td><td>device id </td></tr>
322  </table>
323  </dd>
324</dl>
325
326</div>
327</div>
328<a class="anchor" id="a6fbe71496dd9b7ad86630b4c23868dac"></a>
329<div class="memitem">
330<div class="memproto">
331      <table class="memname">
332        <tr>
333          <td class="memname">flair::actuator::SimuBldc::SimuBldc </td>
334          <td>(</td>
335          <td class="paramtype">const <a class="el" href="classflair_1_1core_1_1_object.html">core::Object</a> *&#160;</td>
336          <td class="paramname"><em>parent</em>, </td>
337        </tr>
338        <tr>
339          <td class="paramkey"></td>
340          <td></td>
341          <td class="paramtype">std::string&#160;</td>
342          <td class="paramname"><em>name</em>, </td>
343        </tr>
344        <tr>
345          <td class="paramkey"></td>
346          <td></td>
347          <td class="paramtype">uint8_t&#160;</td>
348          <td class="paramname"><em>motors_count</em>, </td>
349        </tr>
350        <tr>
351          <td class="paramkey"></td>
352          <td></td>
353          <td class="paramtype">uint32_t&#160;</td>
354          <td class="paramname"><em>dev_id</em>&#160;</td>
355        </tr>
356        <tr>
357          <td></td>
358          <td>)</td>
359          <td></td><td></td>
360        </tr>
361      </table>
362</div><div class="memdoc">
363
364<p>Constructor. </p>
365<p>Construct a <a class="el" href="classflair_1_1actuator_1_1_simu_bldc.html" title="Class for a simulation bldc. ">SimuBldc</a>. Simulation part.</p>
366<dl class="params"><dt>Parameters</dt><dd>
367  <table class="params">
368    <tr><td class="paramname">parent</td><td>parent </td></tr>
369    <tr><td class="paramname">name</td><td>name </td></tr>
370    <tr><td class="paramname">motors_count</td><td>number of motors </td></tr>
371    <tr><td class="paramname">dev_id</td><td>device id </td></tr>
372  </table>
373  </dd>
374</dl>
375
376</div>
377</div>
378<a class="anchor" id="a10fd091319fd0532681078badeb2ecd8"></a>
379<div class="memitem">
380<div class="memproto">
381      <table class="memname">
382        <tr>
383          <td class="memname">flair::actuator::SimuBldc::~SimuBldc </td>
384          <td>(</td>
385          <td class="paramname"></td><td>)</td>
386          <td></td>
387        </tr>
388      </table>
389</div><div class="memdoc">
390
391<p>Destructor. </p>
392
393</div>
394</div>
395<h2 class="groupheader">Member Function Documentation</h2>
396<a class="anchor" id="a94b7583f7bd4fd72706cfb8363316438"></a>
397<div class="memitem">
398<div class="memproto">
399      <table class="memname">
400        <tr>
401          <td class="memname">void flair::actuator::SimuBldc::GetSpeeds </td>
402          <td>(</td>
403          <td class="paramtype">float *&#160;</td>
404          <td class="paramname"><em>value</em></td><td>)</td>
405          <td> const</td>
406        </tr>
407      </table>
408</div><div class="memdoc">
409
410<p>Get motors speeds. </p>
411<p>This function should only be used for the simulation part.</p>
412<dl class="params"><dt>Parameters</dt><dd>
413  <table class="params">
414    <tr><td class="paramname">value</td><td>array to store motors speeds </td></tr>
415  </table>
416  </dd>
417</dl>
418
419</div>
420</div>
421<a class="anchor" id="a6d604089c8494c27f8382359327e7fb6"></a>
422<div class="memitem">
423<div class="memproto">
424<table class="mlabels">
425  <tr>
426  <td class="mlabels-left">
427      <table class="memname">
428        <tr>
429          <td class="memname">bool flair::actuator::SimuBldc::HasSpeedMeasurement </td>
430          <td>(</td>
431          <td class="paramtype">void&#160;</td>
432          <td class="paramname"></td><td>)</td>
433          <td> const</td>
434        </tr>
435      </table>
436  </td>
437  <td class="mlabels-right">
438<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span>  </td>
439  </tr>
440</table>
441</div><div class="memdoc">
442
443<p>Has speed measurement. </p>
444<p>Reimplemented from <a class="el" href="classflair_1_1actuator_1_1_bldc.html" title="Base class for brushless motors drivers. ">Bldc</a>. <br />
445 </p><dl class="section return"><dt>Returns</dt><dd>true if it has speed measurement </dd></dl>
446
447<p>Implements <a class="el" href="classflair_1_1actuator_1_1_bldc.html#a37cf2c11de84720a8549f184d3fd3c1a">flair::actuator::Bldc</a>.</p>
448
449</div>
450</div>
451<a class="anchor" id="a3a97075384649f5a11fd70bf7749fbe1"></a>
452<div class="memitem">
453<div class="memproto">
454<table class="mlabels">
455  <tr>
456  <td class="mlabels-left">
457      <table class="memname">
458        <tr>
459          <td class="memname">bool flair::actuator::SimuBldc::HasCurrentMeasurement </td>
460          <td>(</td>
461          <td class="paramtype">void&#160;</td>
462          <td class="paramname"></td><td>)</td>
463          <td> const</td>
464        </tr>
465      </table>
466  </td>
467  <td class="mlabels-right">
468<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span>  </td>
469  </tr>
470</table>
471</div><div class="memdoc">
472
473<p>Has current measurement. </p>
474<p>Reimplemented from <a class="el" href="classflair_1_1actuator_1_1_bldc.html" title="Base class for brushless motors drivers. ">Bldc</a>. <br />
475 </p><dl class="section return"><dt>Returns</dt><dd>true if it has current measurement </dd></dl>
476
477<p>Implements <a class="el" href="classflair_1_1actuator_1_1_bldc.html#aab69754edb7248757135740a1ced9169">flair::actuator::Bldc</a>.</p>
478
479</div>
480</div>
481</div><!-- contents -->
482</div><!-- doc-content -->
483<!-- start footer part -->
484<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
485  <ul>
486    <li class="navelem"><a class="el" href="namespaceflair.html">flair</a></li><li class="navelem"><a class="el" href="namespaceflair_1_1actuator.html">actuator</a></li><li class="navelem"><a class="el" href="classflair_1_1actuator_1_1_simu_bldc.html">SimuBldc</a></li>
487    <li class="footer">Generated on Thu Jan 5 2017 11:01:22 for Flair by
488    <a href="http://www.doxygen.org/index.html">
489    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.9.1 </li>
490  </ul>
491</div>
492</body>
493</html>
Note: See TracBrowser for help on using the repository browser.