source: flair-dev/trunk/doc/Flair/classflair_1_1actuator_1_1_bldc.html @ 27

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

m

File size: 46.8 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::Bldc 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_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="#pro-attribs">Protected Attributes</a> &#124;
113<a href="classflair_1_1actuator_1_1_bldc-members.html">List of all members</a>  </div>
114  <div class="headertitle">
115<div class="title">flair::actuator::Bldc Class Reference<span class="mlabels"><span class="mlabel">abstract</span></span></div>  </div>
116</div><!--header-->
117<div class="contents">
118
119<p>Base class for brushless motors drivers. 
120 <a href="classflair_1_1actuator_1_1_bldc.html#details">More...</a></p>
121
122<p><code>#include &lt;<a class="el" href="_bldc_8h_source.html">Bldc.h</a>&gt;</code></p>
123<div id="dynsection-0" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
124  <img id="dynsection-0-trigger" src="closed.png" alt="+"/> Inheritance diagram for flair::actuator::Bldc:</div>
125<div id="dynsection-0-summary" class="dynsummary" style="display:block;">
126</div>
127<div id="dynsection-0-content" class="dyncontent" style="display:none;">
128 <div class="center">
129  <img src="classflair_1_1actuator_1_1_bldc.png" usemap="#flair::actuator::Bldc_map" alt=""/>
130  <map id="flair::actuator::Bldc_map" name="flair::actuator::Bldc_map">
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="231,56,375,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="231,0,375,24"/>
133<area href="classflair_1_1actuator_1_1_afro_bldc.html" title="Class for Mikrokopter&#39;s blctrlv2. " alt="flair::actuator::AfroBldc" shape="rect" coords="0,168,144,192"/>
134<area href="classflair_1_1actuator_1_1_bl_ctrl_v2.html" title="Class for Mikrokopter&#39;s blctrlv2. " alt="flair::actuator::BlCtrlV2" shape="rect" coords="154,168,298,192"/>
135<area href="classflair_1_1actuator_1_1_simu_bldc.html" title="Class for a simulation bldc. " alt="flair::actuator::SimuBldc" shape="rect" coords="308,168,452,192"/>
136<area href="classflair_1_1actuator_1_1_x_bldc.html" title="Class for Xufo Bldc. " alt="flair::actuator::XBldc" shape="rect" coords="462,168,606,192"/>
137</map>
138 </div></div>
139<table class="memberdecls">
140<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
141Public Member Functions</h2></td></tr>
142<tr class="memitem:acb60358e96275823a489fb2d18a0d119"><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>
143<tr class="memdesc:acb60358e96275823a489fb2d18a0d119"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor.  <a href="#acb60358e96275823a489fb2d18a0d119">More...</a><br /></td></tr>
144<tr class="separator:acb60358e96275823a489fb2d18a0d119"><td class="memSeparator" colspan="2">&#160;</td></tr>
145<tr class="memitem:a35ff4113cea48bfd002d425d2e1b5d49"><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>
146<tr class="memdesc:a35ff4113cea48bfd002d425d2e1b5d49"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor.  <a href="#a35ff4113cea48bfd002d425d2e1b5d49">More...</a><br /></td></tr>
147<tr class="separator:a35ff4113cea48bfd002d425d2e1b5d49"><td class="memSeparator" colspan="2">&#160;</td></tr>
148<tr class="memitem:a1569d6c4eed96b9f53cae6cd027b7608"><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>
149<tr class="memdesc:a1569d6c4eed96b9f53cae6cd027b7608"><td class="mdescLeft">&#160;</td><td class="mdescRight">Destructor.  <a href="#a1569d6c4eed96b9f53cae6cd027b7608">More...</a><br /></td></tr>
150<tr class="separator:a1569d6c4eed96b9f53cae6cd027b7608"><td class="memSeparator" colspan="2">&#160;</td></tr>
151<tr class="memitem:a6c1d6173c5dcc0fa550464268847ca91"><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>
152<tr class="memdesc:a6c1d6173c5dcc0fa550464268847ca91"><td class="mdescLeft">&#160;</td><td class="mdescRight">Lock user interface.  <a href="#a6c1d6173c5dcc0fa550464268847ca91">More...</a><br /></td></tr>
153<tr class="separator:a6c1d6173c5dcc0fa550464268847ca91"><td class="memSeparator" colspan="2">&#160;</td></tr>
154<tr class="memitem:ac1fba30ad70a6d8ff075d376c0e417dd"><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>
155<tr class="memdesc:ac1fba30ad70a6d8ff075d376c0e417dd"><td class="mdescLeft">&#160;</td><td class="mdescRight">Unlock user interface.  <a href="#ac1fba30ad70a6d8ff075d376c0e417dd">More...</a><br /></td></tr>
156<tr class="separator:ac1fba30ad70a6d8ff075d376c0e417dd"><td class="memSeparator" colspan="2">&#160;</td></tr>
157<tr class="memitem:a5f653e25984ae11ae7f513e1fbad7d10"><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>
158<tr class="memdesc:a5f653e25984ae11ae7f513e1fbad7d10"><td class="mdescLeft">&#160;</td><td class="mdescRight">Use default plot.  <a href="#a5f653e25984ae11ae7f513e1fbad7d10">More...</a><br /></td></tr>
159<tr class="separator:a5f653e25984ae11ae7f513e1fbad7d10"><td class="memSeparator" colspan="2">&#160;</td></tr>
160<tr class="memitem:a8d0ed04a12dfcb381cfabd887279df6f"><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>
161<tr class="memdesc:a8d0ed04a12dfcb381cfabd887279df6f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Output from motors.  <a href="#a8d0ed04a12dfcb381cfabd887279df6f">More...</a><br /></td></tr>
162<tr class="separator:a8d0ed04a12dfcb381cfabd887279df6f"><td class="memSeparator" colspan="2">&#160;</td></tr>
163<tr class="memitem:aba973fd0797e039fc33c720729215570"><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>
164<tr class="memdesc:aba973fd0797e039fc33c720729215570"><td class="mdescLeft">&#160;</td><td class="mdescRight">Motors count.  <a href="#aba973fd0797e039fc33c720729215570">More...</a><br /></td></tr>
165<tr class="separator:aba973fd0797e039fc33c720729215570"><td class="memSeparator" colspan="2">&#160;</td></tr>
166<tr class="memitem:ac030794b46b72db4184592f7cff11731"><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>
167<tr class="memdesc:ac030794b46b72db4184592f7cff11731"><td class="mdescLeft">&#160;</td><td class="mdescRight">Enable motors.  <a href="#ac030794b46b72db4184592f7cff11731">More...</a><br /></td></tr>
168<tr class="separator:ac030794b46b72db4184592f7cff11731"><td class="memSeparator" colspan="2">&#160;</td></tr>
169<tr class="memitem:a82ad883235b4477905ef78b4daf8dccf"><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>
170<tr class="memdesc:a82ad883235b4477905ef78b4daf8dccf"><td class="mdescLeft">&#160;</td><td class="mdescRight">Are motors enabled?  <a href="#a82ad883235b4477905ef78b4daf8dccf">More...</a><br /></td></tr>
171<tr class="separator:a82ad883235b4477905ef78b4daf8dccf"><td class="memSeparator" colspan="2">&#160;</td></tr>
172<tr class="memitem:ae040c7faecb20b538da7932a3a2e589f"><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>
173<tr class="memdesc:ae040c7faecb20b538da7932a3a2e589f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set motor power.  <a href="#ae040c7faecb20b538da7932a3a2e589f">More...</a><br /></td></tr>
174<tr class="separator:ae040c7faecb20b538da7932a3a2e589f"><td class="memSeparator" colspan="2">&#160;</td></tr>
175<tr class="memitem:a330135b8772cff48754df0e4f720cd0b"><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>
176<tr class="memdesc:a330135b8772cff48754df0e4f720cd0b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Layout.  <a href="#a330135b8772cff48754df0e4f720cd0b">More...</a><br /></td></tr>
177<tr class="separator:a330135b8772cff48754df0e4f720cd0b"><td class="memSeparator" colspan="2">&#160;</td></tr>
178<tr class="memitem:a37cf2c11de84720a8549f184d3fd3c1a"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classflair_1_1actuator_1_1_bldc.html#a37cf2c11de84720a8549f184d3fd3c1a">HasSpeedMeasurement</a> (void) const =0</td></tr>
179<tr class="memdesc:a37cf2c11de84720a8549f184d3fd3c1a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Has speed measurement.  <a href="#a37cf2c11de84720a8549f184d3fd3c1a">More...</a><br /></td></tr>
180<tr class="separator:a37cf2c11de84720a8549f184d3fd3c1a"><td class="memSeparator" colspan="2">&#160;</td></tr>
181<tr class="memitem:aab69754edb7248757135740a1ced9169"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classflair_1_1actuator_1_1_bldc.html#aab69754edb7248757135740a1ced9169">HasCurrentMeasurement</a> (void) const =0</td></tr>
182<tr class="memdesc:aab69754edb7248757135740a1ced9169"><td class="mdescLeft">&#160;</td><td class="mdescRight">Has current measurement.  <a href="#aab69754edb7248757135740a1ced9169">More...</a><br /></td></tr>
183<tr class="separator:aab69754edb7248757135740a1ced9169"><td class="memSeparator" colspan="2">&#160;</td></tr>
184<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>
185<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>
186<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>
187<tr class="separator:a9693b497752b466891eaafeb34bec4d3 inherit pub_methods_classflair_1_1core_1_1_i_o_device"><td class="memSeparator" colspan="2">&#160;</td></tr>
188<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>
189<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>
190<tr class="separator:a05246988b486def40926d8491e1bcc5f inherit pub_methods_classflair_1_1core_1_1_i_o_device"><td class="memSeparator" colspan="2">&#160;</td></tr>
191<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>
192<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>
193<tr class="separator:af7b42de6bb3893df860063228b55c229 inherit pub_methods_classflair_1_1core_1_1_i_o_device"><td class="memSeparator" colspan="2">&#160;</td></tr>
194<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>
195<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>
196<tr class="separator:a2e0b7af75abdbf39843d8bf2e45f08b9 inherit pub_methods_classflair_1_1core_1_1_i_o_device"><td class="memSeparator" colspan="2">&#160;</td></tr>
197<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>
198<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>
199<tr class="separator:a12d811c6926fb86da6b47f889109da66 inherit pub_methods_classflair_1_1core_1_1_i_o_device"><td class="memSeparator" colspan="2">&#160;</td></tr>
200<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>
201virtual <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>
202<tr class="separator:a75e82ca2ae2fb7c39d973dd3d16bc698 inherit pub_methods_classflair_1_1core_1_1_i_o_device"><td class="memSeparator" colspan="2">&#160;</td></tr>
203<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>
204virtual <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>
205<tr class="separator:aa325be57d48b268006120dde75dd65cc inherit pub_methods_classflair_1_1core_1_1_i_o_device"><td class="memSeparator" colspan="2">&#160;</td></tr>
206<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>
207<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>
208<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>
209<tr class="separator:aec92383fd5bf68d9df10414862b7e95c inherit pub_methods_classflair_1_1core_1_1_object"><td class="memSeparator" colspan="2">&#160;</td></tr>
210<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>
211<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>
212<tr class="separator:aa2bde0e6677bbef705c96c93cb06ad09 inherit pub_methods_classflair_1_1core_1_1_object"><td class="memSeparator" colspan="2">&#160;</td></tr>
213<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>
214<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>
215<tr class="separator:a9b0344dff7e1c05424d9152c8274523a inherit pub_methods_classflair_1_1core_1_1_object"><td class="memSeparator" colspan="2">&#160;</td></tr>
216<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>
217<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>
218<tr class="separator:a609a250ec037fbcaf8957c8f1dcbfc53 inherit pub_methods_classflair_1_1core_1_1_object"><td class="memSeparator" colspan="2">&#160;</td></tr>
219<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>
220<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>
221<tr class="separator:a360c112cc3017a5152ebf6e84d2efa70 inherit pub_methods_classflair_1_1core_1_1_object"><td class="memSeparator" colspan="2">&#160;</td></tr>
222<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>
223<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>
224<tr class="separator:ae22db4d723ec2d50b3ba48f26a6a770c inherit pub_methods_classflair_1_1core_1_1_object"><td class="memSeparator" colspan="2">&#160;</td></tr>
225<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>
226<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>
227<tr class="separator:a344f81cd35805a9501098bf727ac1a10 inherit pub_methods_classflair_1_1core_1_1_object"><td class="memSeparator" colspan="2">&#160;</td></tr>
228<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>
229<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>
230<tr class="separator:af001feba14fc053aa778e61080a0b4cf inherit pub_methods_classflair_1_1core_1_1_object"><td class="memSeparator" colspan="2">&#160;</td></tr>
231<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>
232<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>
233<tr class="separator:a168b18451b2ee6126e1e81d452005ff6 inherit pub_methods_classflair_1_1core_1_1_object"><td class="memSeparator" colspan="2">&#160;</td></tr>
234<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>
235<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>
236<tr class="separator:a3ca9694d29ec2b0491739879685df5ca inherit pub_methods_classflair_1_1core_1_1_object"><td class="memSeparator" colspan="2">&#160;</td></tr>
237<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>
238<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>
239<tr class="separator:a36cdd7f556e78b1bddd1d1fe4264bb85 inherit pub_methods_classflair_1_1core_1_1_object"><td class="memSeparator" colspan="2">&#160;</td></tr>
240</table><table class="memberdecls">
241<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-attribs"></a>
242Protected Attributes</h2></td></tr>
243<tr class="memitem:a252a95e3889319f90e4afd82ac6d1400"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a252a95e3889319f90e4afd82ac6d1400"></a>
244<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>
245<tr class="separator:a252a95e3889319f90e4afd82ac6d1400"><td class="memSeparator" colspan="2">&#160;</td></tr>
246</table><table class="memberdecls">
247<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a>
248Additional Inherited Members</h2></td></tr>
249<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>
250<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,
251<b>Red</b> = 31,
252<b>Green</b> = 32,
253<b>Orange</b> = 33
254 }</td></tr>
255<tr class="separator:aed5fccda511f97487040fed29f4efc97 inherit pub_types_classflair_1_1core_1_1_object"><td class="memSeparator" colspan="2">&#160;</td></tr>
256<tr class="inherit_header pub_attribs_classflair_1_1core_1_1_i_o_device"><td colspan="2" onclick="javascript:toggleInherit('pub_attribs_classflair_1_1core_1_1_i_o_device')"><img src="closed.png" alt="-"/>&#160;Public Attributes inherited from <a class="el" href="classflair_1_1core_1_1_i_o_device.html">flair::core::IODevice</a></td></tr>
257<tr class="memitem:a5b701dbf27a7b1210bf7daf176e4e9b6 inherit pub_attribs_classflair_1_1core_1_1_i_o_device"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a5b701dbf27a7b1210bf7daf176e4e9b6"></a>
258<a class="el" href="namespaceflair_1_1core.html#acc0fa041e08ecf73b2d1d723c339a736">Time</a>&#160;</td><td class="memItemRight" valign="bottom"><b>lastUpdate</b></td></tr>
259<tr class="separator:a5b701dbf27a7b1210bf7daf176e4e9b6 inherit pub_attribs_classflair_1_1core_1_1_i_o_device"><td class="memSeparator" colspan="2">&#160;</td></tr>
260<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>
261<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>
262<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>
263<tr class="separator:a3df9057ae23eb34f1b1dae8e7a4a9efc inherit pro_methods_classflair_1_1core_1_1_i_o_device"><td class="memSeparator" colspan="2">&#160;</td></tr>
264</table>
265<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
266<div class="textblock"><p>Base class for brushless motors drivers. </p>
267</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
268<a class="anchor" id="acb60358e96275823a489fb2d18a0d119"></a>
269<div class="memitem">
270<div class="memproto">
271      <table class="memname">
272        <tr>
273          <td class="memname">flair::actuator::Bldc::Bldc </td>
274          <td>(</td>
275          <td class="paramtype">const <a class="el" href="classflair_1_1core_1_1_i_o_device.html">core::IODevice</a> *&#160;</td>
276          <td class="paramname"><em>parent</em>, </td>
277        </tr>
278        <tr>
279          <td class="paramkey"></td>
280          <td></td>
281          <td class="paramtype"><a class="el" href="classflair_1_1gui_1_1_layout.html">gui::Layout</a> *&#160;</td>
282          <td class="paramname"><em>layout</em>, </td>
283        </tr>
284        <tr>
285          <td class="paramkey"></td>
286          <td></td>
287          <td class="paramtype">std::string&#160;</td>
288          <td class="paramname"><em>name</em>, </td>
289        </tr>
290        <tr>
291          <td class="paramkey"></td>
292          <td></td>
293          <td class="paramtype">uint8_t&#160;</td>
294          <td class="paramname"><em>motors_count</em>&#160;</td>
295        </tr>
296        <tr>
297          <td></td>
298          <td>)</td>
299          <td></td><td></td>
300        </tr>
301      </table>
302</div><div class="memdoc">
303
304<p>Constructor. </p>
305<p>Construct a <a class="el" href="classflair_1_1actuator_1_1_bldc.html" title="Base class for brushless motors drivers. ">Bldc</a>.</p>
306<dl class="params"><dt>Parameters</dt><dd>
307  <table class="params">
308    <tr><td class="paramname">parent</td><td>parent </td></tr>
309    <tr><td class="paramname">layout</td><td>layout </td></tr>
310    <tr><td class="paramname">name</td><td>name </td></tr>
311    <tr><td class="paramname">motors_count</td><td>number of motors </td></tr>
312  </table>
313  </dd>
314</dl>
315
316</div>
317</div>
318<a class="anchor" id="a35ff4113cea48bfd002d425d2e1b5d49"></a>
319<div class="memitem">
320<div class="memproto">
321      <table class="memname">
322        <tr>
323          <td class="memname">flair::actuator::Bldc::Bldc </td>
324          <td>(</td>
325          <td class="paramtype">const <a class="el" href="classflair_1_1core_1_1_object.html">core::Object</a> *&#160;</td>
326          <td class="paramname"><em>parent</em>, </td>
327        </tr>
328        <tr>
329          <td class="paramkey"></td>
330          <td></td>
331          <td class="paramtype">std::string&#160;</td>
332          <td class="paramname"><em>name</em>, </td>
333        </tr>
334        <tr>
335          <td class="paramkey"></td>
336          <td></td>
337          <td class="paramtype">uint8_t&#160;</td>
338          <td class="paramname"><em>motors_count</em>&#160;</td>
339        </tr>
340        <tr>
341          <td></td>
342          <td>)</td>
343          <td></td><td></td>
344        </tr>
345      </table>
346</div><div class="memdoc">
347
348<p>Constructor. </p>
349<p>Construct a <a class="el" href="classflair_1_1actuator_1_1_bldc.html" title="Base class for brushless motors drivers. ">Bldc</a>. <br />
350This contructor must only be called for a simulated device.</p>
351<dl class="params"><dt>Parameters</dt><dd>
352  <table class="params">
353    <tr><td class="paramname">parent</td><td>parent </td></tr>
354    <tr><td class="paramname">name</td><td>name </td></tr>
355    <tr><td class="paramname">motors_count</td><td>number of motors </td></tr>
356  </table>
357  </dd>
358</dl>
359
360</div>
361</div>
362<a class="anchor" id="a1569d6c4eed96b9f53cae6cd027b7608"></a>
363<div class="memitem">
364<div class="memproto">
365      <table class="memname">
366        <tr>
367          <td class="memname">flair::actuator::Bldc::~Bldc </td>
368          <td>(</td>
369          <td class="paramname"></td><td>)</td>
370          <td></td>
371        </tr>
372      </table>
373</div><div class="memdoc">
374
375<p>Destructor. </p>
376
377</div>
378</div>
379<h2 class="groupheader">Member Function Documentation</h2>
380<a class="anchor" id="a6c1d6173c5dcc0fa550464268847ca91"></a>
381<div class="memitem">
382<div class="memproto">
383      <table class="memname">
384        <tr>
385          <td class="memname">void flair::actuator::Bldc::LockUserInterface </td>
386          <td>(</td>
387          <td class="paramtype">void&#160;</td>
388          <td class="paramname"></td><td>)</td>
389          <td> const</td>
390        </tr>
391      </table>
392</div><div class="memdoc">
393
394<p>Lock user interface. </p>
395
396</div>
397</div>
398<a class="anchor" id="ac1fba30ad70a6d8ff075d376c0e417dd"></a>
399<div class="memitem">
400<div class="memproto">
401      <table class="memname">
402        <tr>
403          <td class="memname">void flair::actuator::Bldc::UnlockUserInterface </td>
404          <td>(</td>
405          <td class="paramtype">void&#160;</td>
406          <td class="paramname"></td><td>)</td>
407          <td> const</td>
408        </tr>
409      </table>
410</div><div class="memdoc">
411
412<p>Unlock user interface. </p>
413
414</div>
415</div>
416<a class="anchor" id="a5f653e25984ae11ae7f513e1fbad7d10"></a>
417<div class="memitem">
418<div class="memproto">
419      <table class="memname">
420        <tr>
421          <td class="memname">void flair::actuator::Bldc::UseDefaultPlot </td>
422          <td>(</td>
423          <td class="paramtype"><a class="el" href="classflair_1_1gui_1_1_tab_widget.html">gui::TabWidget</a> *&#160;</td>
424          <td class="paramname"><em>tabwidget</em></td><td>)</td>
425          <td></td>
426        </tr>
427      </table>
428</div><div class="memdoc">
429
430<p>Use default plot. </p>
431<dl class="params"><dt>Parameters</dt><dd>
432  <table class="params">
433    <tr><td class="paramname">tabwidget</td><td>TabWidget to draw plots </td></tr>
434  </table>
435  </dd>
436</dl>
437
438</div>
439</div>
440<a class="anchor" id="a8d0ed04a12dfcb381cfabd887279df6f"></a>
441<div class="memitem">
442<div class="memproto">
443      <table class="memname">
444        <tr>
445          <td class="memname"><a class="el" href="classflair_1_1core_1_1cvmatrix.html">core::cvmatrix</a>* flair::actuator::Bldc::Output </td>
446          <td>(</td>
447          <td class="paramtype">void&#160;</td>
448          <td class="paramname"></td><td>)</td>
449          <td> const</td>
450        </tr>
451      </table>
452</div><div class="memdoc">
453
454<p>Output from motors. </p>
455<p>First column is real speed if available, secund column is current if available </p>
456
457</div>
458</div>
459<a class="anchor" id="aba973fd0797e039fc33c720729215570"></a>
460<div class="memitem">
461<div class="memproto">
462      <table class="memname">
463        <tr>
464          <td class="memname">uint8_t flair::actuator::Bldc::MotorsCount </td>
465          <td>(</td>
466          <td class="paramtype">void&#160;</td>
467          <td class="paramname"></td><td>)</td>
468          <td> const</td>
469        </tr>
470      </table>
471</div><div class="memdoc">
472
473<p>Motors count. </p>
474<dl class="section return"><dt>Returns</dt><dd>number of motors </dd></dl>
475
476</div>
477</div>
478<a class="anchor" id="ac030794b46b72db4184592f7cff11731"></a>
479<div class="memitem">
480<div class="memproto">
481      <table class="memname">
482        <tr>
483          <td class="memname">void flair::actuator::Bldc::SetEnabled </td>
484          <td>(</td>
485          <td class="paramtype">bool&#160;</td>
486          <td class="paramname"><em>status</em></td><td>)</td>
487          <td></td>
488        </tr>
489      </table>
490</div><div class="memdoc">
491
492<p>Enable motors. </p>
493<dl class="params"><dt>Parameters</dt><dd>
494  <table class="params">
495    <tr><td class="paramname">true</td><td>to enable all motors </td></tr>
496  </table>
497  </dd>
498</dl>
499
500</div>
501</div>
502<a class="anchor" id="a82ad883235b4477905ef78b4daf8dccf"></a>
503<div class="memitem">
504<div class="memproto">
505      <table class="memname">
506        <tr>
507          <td class="memname">bool flair::actuator::Bldc::AreEnabled </td>
508          <td>(</td>
509          <td class="paramtype">void&#160;</td>
510          <td class="paramname"></td><td>)</td>
511          <td> const</td>
512        </tr>
513      </table>
514</div><div class="memdoc">
515
516<p>Are motors enabled? </p>
517<dl class="section return"><dt>Returns</dt><dd>true if motors are enabled </dd></dl>
518
519</div>
520</div>
521<a class="anchor" id="ae040c7faecb20b538da7932a3a2e589f"></a>
522<div class="memitem">
523<div class="memproto">
524      <table class="memname">
525        <tr>
526          <td class="memname">void flair::actuator::Bldc::SetPower </td>
527          <td>(</td>
528          <td class="paramtype">int&#160;</td>
529          <td class="paramname"><em>motor_id</em>, </td>
530        </tr>
531        <tr>
532          <td class="paramkey"></td>
533          <td></td>
534          <td class="paramtype">float&#160;</td>
535          <td class="paramname"><em>value</em>&#160;</td>
536        </tr>
537        <tr>
538          <td></td>
539          <td>)</td>
540          <td></td><td></td>
541        </tr>
542      </table>
543</div><div class="memdoc">
544
545<p>Set motor power. </p>
546<p>Changes the power (from 0 to 1) of a specific motor. <br />
547 By default power is set to 1 for each motor which has no effect. <br />
548 A value &lt;1 will decrease the power of a motor sent to the reimplemented <a class="el" href="classflair_1_1actuator_1_1_bldc.html" title="Base class for brushless motors drivers. ">Bldc</a> class through SetMotors. <br />
549 The power value is applied after applying saturation between min value and max value. So the resulting value cannot be higher than max value but it can be lower than min value.</p>
550<dl class="params"><dt>Parameters</dt><dd>
551  <table class="params">
552    <tr><td class="paramname">motor_id</td><td>id of the motor </td></tr>
553    <tr><td class="paramname">value</td><td>power value (from 0 to 1) </td></tr>
554  </table>
555  </dd>
556</dl>
557
558</div>
559</div>
560<a class="anchor" id="a330135b8772cff48754df0e4f720cd0b"></a>
561<div class="memitem">
562<div class="memproto">
563      <table class="memname">
564        <tr>
565          <td class="memname"><a class="el" href="classflair_1_1gui_1_1_layout.html">gui::Layout</a>* flair::actuator::Bldc::GetLayout </td>
566          <td>(</td>
567          <td class="paramtype">void&#160;</td>
568          <td class="paramname"></td><td>)</td>
569          <td> const</td>
570        </tr>
571      </table>
572</div><div class="memdoc">
573
574<p>Layout. </p>
575<p>This the same Layout as passed to the constructor</p>
576<dl class="section return"><dt>Returns</dt><dd>a Layout </dd></dl>
577
578</div>
579</div>
580<a class="anchor" id="a37cf2c11de84720a8549f184d3fd3c1a"></a>
581<div class="memitem">
582<div class="memproto">
583<table class="mlabels">
584  <tr>
585  <td class="mlabels-left">
586      <table class="memname">
587        <tr>
588          <td class="memname">virtual bool flair::actuator::Bldc::HasSpeedMeasurement </td>
589          <td>(</td>
590          <td class="paramtype">void&#160;</td>
591          <td class="paramname"></td><td>)</td>
592          <td> const</td>
593        </tr>
594      </table>
595  </td>
596  <td class="mlabels-right">
597<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
598  </tr>
599</table>
600</div><div class="memdoc">
601
602<p>Has speed measurement. </p>
603<dl class="section return"><dt>Returns</dt><dd>true if it has speed measurement </dd></dl>
604
605<p>Implemented in <a class="el" href="classflair_1_1actuator_1_1_simu_bldc.html#a6d604089c8494c27f8382359327e7fb6">flair::actuator::SimuBldc</a>, <a class="el" href="classflair_1_1actuator_1_1_bl_ctrl_v2.html#a0600320a8939d1faffe2936f7b445c6e">flair::actuator::BlCtrlV2</a>, <a class="el" href="classflair_1_1actuator_1_1_afro_bldc.html#ae22a92ad5fa166179218934808a286c7">flair::actuator::AfroBldc</a>, and <a class="el" href="classflair_1_1actuator_1_1_x_bldc.html#a3f9c8671568a5106a9a03b9043cbb7a9">flair::actuator::XBldc</a>.</p>
606
607</div>
608</div>
609<a class="anchor" id="aab69754edb7248757135740a1ced9169"></a>
610<div class="memitem">
611<div class="memproto">
612<table class="mlabels">
613  <tr>
614  <td class="mlabels-left">
615      <table class="memname">
616        <tr>
617          <td class="memname">virtual bool flair::actuator::Bldc::HasCurrentMeasurement </td>
618          <td>(</td>
619          <td class="paramtype">void&#160;</td>
620          <td class="paramname"></td><td>)</td>
621          <td> const</td>
622        </tr>
623      </table>
624  </td>
625  <td class="mlabels-right">
626<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
627  </tr>
628</table>
629</div><div class="memdoc">
630
631<p>Has current measurement. </p>
632<dl class="section return"><dt>Returns</dt><dd>true if it has current measurement </dd></dl>
633
634<p>Implemented in <a class="el" href="classflair_1_1actuator_1_1_simu_bldc.html#a3a97075384649f5a11fd70bf7749fbe1">flair::actuator::SimuBldc</a>, <a class="el" href="classflair_1_1actuator_1_1_bl_ctrl_v2.html#af7067266decd1bb523469fbc15c43cbe">flair::actuator::BlCtrlV2</a>, <a class="el" href="classflair_1_1actuator_1_1_afro_bldc.html#a7aa850b8506c65ec465e0b5872cc6dfd">flair::actuator::AfroBldc</a>, and <a class="el" href="classflair_1_1actuator_1_1_x_bldc.html#ab02c1cd6f84f8b4089012afa27b37853">flair::actuator::XBldc</a>.</p>
635
636</div>
637</div>
638</div><!-- contents -->
639</div><!-- doc-content -->
640<!-- start footer part -->
641<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
642  <ul>
643    <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_bldc.html">Bldc</a></li>
644    <li class="footer">Generated on Mon Jul 18 2016 06:45:46 for Flair by
645    <a href="http://www.doxygen.org/index.html">
646    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.9.1 </li>
647  </ul>
648</div>
649</body>
650</html>
Note: See TracBrowser for help on using the repository browser.