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">
|
---|
46 | var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
---|
47 | </script>
|
---|
48 | <div id="navrow1" class="tabs">
|
---|
49 | <ul class="tablist">
|
---|
50 | <li><a href="index.html"><span>Main Page</span></a></li>
|
---|
51 | <li><a href="namespaces.html"><span>Namespaces</span></a></li>
|
---|
52 | <li 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 List</span></a></li>
|
---|
75 | <li><a href="classes.html"><span>Class Index</span></a></li>
|
---|
76 | <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li>
|
---|
77 | <li><a href="functions.html"><span>Class 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> |
|
---|
112 | <a href="#pro-attribs">Protected Attributes</a> |
|
---|
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 <<a class="el" href="_bldc_8h_source.html">Bldc.h</a>></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="271,56,442,80"/>
|
---|
132 | <area href="classflair_1_1core_1_1_object.html" title="Base class for all Framework's classes. " alt="flair::core::Object" shape="rect" coords="271,0,442,24"/>
|
---|
133 | <area href="classflair_1_1actuator_1_1_afro_bldc.html" title="Class for Mikrokopter's blctrlv2. " alt="flair::actuator::AfroBldc" shape="rect" coords="0,168,171,192"/>
|
---|
134 | <area href="classflair_1_1actuator_1_1_bl_ctrl_v2.html" title="Class for Mikrokopter's blctrlv2. " alt="flair::actuator::BlCtrlV2" shape="rect" coords="181,168,352,192"/>
|
---|
135 | <area href="classflair_1_1actuator_1_1_simulated_bldc.html" title="Class for a simulation bldc. " alt="flair::actuator::SimulatedBldc" shape="rect" coords="362,168,533,192"/>
|
---|
136 | <area href="classflair_1_1actuator_1_1_x_bldc.html" title="Class for Xufo Bldc. " alt="flair::actuator::XBldc" shape="rect" coords="543,168,714,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>
|
---|
141 | Public Member Functions</h2></td></tr>
|
---|
142 | <tr class="memitem:acb60358e96275823a489fb2d18a0d119"><td class="memItemLeft" align="right" valign="top"> </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"> </td><td class="mdescRight">Constructor. <a href="#acb60358e96275823a489fb2d18a0d119">More...</a><br /></td></tr>
|
---|
144 | <tr class="separator:acb60358e96275823a489fb2d18a0d119"><td class="memSeparator" colspan="2"> </td></tr>
|
---|
145 | <tr class="memitem:a35ff4113cea48bfd002d425d2e1b5d49"><td class="memItemLeft" align="right" valign="top"> </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"> </td><td class="mdescRight">Constructor. <a href="#a35ff4113cea48bfd002d425d2e1b5d49">More...</a><br /></td></tr>
|
---|
147 | <tr class="separator:a35ff4113cea48bfd002d425d2e1b5d49"><td class="memSeparator" colspan="2"> </td></tr>
|
---|
148 | <tr class="memitem:a1569d6c4eed96b9f53cae6cd027b7608"><td class="memItemLeft" align="right" valign="top"> </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"> </td><td class="mdescRight">Destructor. <a href="#a1569d6c4eed96b9f53cae6cd027b7608">More...</a><br /></td></tr>
|
---|
150 | <tr class="separator:a1569d6c4eed96b9f53cae6cd027b7608"><td class="memSeparator" colspan="2"> </td></tr>
|
---|
151 | <tr class="memitem:a6c1d6173c5dcc0fa550464268847ca91"><td class="memItemLeft" align="right" valign="top">void </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"> </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"> </td></tr>
|
---|
154 | <tr class="memitem:ac1fba30ad70a6d8ff075d376c0e417dd"><td class="memItemLeft" align="right" valign="top">void </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"> </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"> </td></tr>
|
---|
157 | <tr class="memitem:a5f653e25984ae11ae7f513e1fbad7d10"><td class="memItemLeft" align="right" valign="top">void </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"> </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"> </td></tr>
|
---|
160 | <tr class="memitem:ad10ac767cd8e7107f4459499dda7e504"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classflair_1_1core_1_1_matrix.html">core::Matrix</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classflair_1_1actuator_1_1_bldc.html#ad10ac767cd8e7107f4459499dda7e504">Output</a> (void) const </td></tr>
|
---|
161 | <tr class="memdesc:ad10ac767cd8e7107f4459499dda7e504"><td class="mdescLeft"> </td><td class="mdescRight">Output from motors. <a href="#ad10ac767cd8e7107f4459499dda7e504">More...</a><br /></td></tr>
|
---|
162 | <tr class="separator:ad10ac767cd8e7107f4459499dda7e504"><td class="memSeparator" colspan="2"> </td></tr>
|
---|
163 | <tr class="memitem:aba973fd0797e039fc33c720729215570"><td class="memItemLeft" align="right" valign="top">uint8_t </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"> </td><td class="mdescRight">Motors count. <a href="#aba973fd0797e039fc33c720729215570">More...</a><br /></td></tr>
|
---|
165 | <tr class="separator:aba973fd0797e039fc33c720729215570"><td class="memSeparator" colspan="2"> </td></tr>
|
---|
166 | <tr class="memitem:ac030794b46b72db4184592f7cff11731"><td class="memItemLeft" align="right" valign="top">void </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"> </td><td class="mdescRight">Enable motors. <a href="#ac030794b46b72db4184592f7cff11731">More...</a><br /></td></tr>
|
---|
168 | <tr class="separator:ac030794b46b72db4184592f7cff11731"><td class="memSeparator" colspan="2"> </td></tr>
|
---|
169 | <tr class="memitem:a82ad883235b4477905ef78b4daf8dccf"><td class="memItemLeft" align="right" valign="top">bool </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"> </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"> </td></tr>
|
---|
172 | <tr class="memitem:ae040c7faecb20b538da7932a3a2e589f"><td class="memItemLeft" align="right" valign="top">void </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"> </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"> </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> * </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"> </td><td class="mdescRight">Layout. <a href="#a330135b8772cff48754df0e4f720cd0b">More...</a><br /></td></tr>
|
---|
177 | <tr class="separator:a330135b8772cff48754df0e4f720cd0b"><td class="memSeparator" colspan="2"> </td></tr>
|
---|
178 | <tr class="memitem:a37cf2c11de84720a8549f184d3fd3c1a"><td class="memItemLeft" align="right" valign="top">virtual bool </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"> </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"> </td></tr>
|
---|
181 | <tr class="memitem:aab69754edb7248757135740a1ced9169"><td class="memItemLeft" align="right" valign="top">virtual bool </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"> </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"> </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="-"/> 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"> </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"> </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"> </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 </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"> </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"> </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 </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"> </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"> </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 </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"> </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"> </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 </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"> </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"> </td></tr>
|
---|
200 | <tr class="memitem:aee7828ae2eece2bace8e476dacc2bc12 inherit pub_methods_classflair_1_1core_1_1_i_o_device"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classflair_1_1core_1_1_i_o_device.html#aee7828ae2eece2bace8e476dacc2bc12">IsReady</a> (void) const </td></tr>
|
---|
201 | <tr class="memdesc:aee7828ae2eece2bace8e476dacc2bc12 inherit pub_methods_classflair_1_1core_1_1_i_o_device"><td class="mdescLeft"> </td><td class="mdescRight">is device ready <a href="#aee7828ae2eece2bace8e476dacc2bc12">More...</a><br /></td></tr>
|
---|
202 | <tr class="separator:aee7828ae2eece2bace8e476dacc2bc12 inherit pub_methods_classflair_1_1core_1_1_i_o_device"><td class="memSeparator" colspan="2"> </td></tr>
|
---|
203 | <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>
|
---|
204 | virtual <a class="el" href="classflair_1_1core_1_1_data_type.html">DataType</a> const & </td><td class="memItemRight" valign="bottom"><b>GetInputDataType</b> () const </td></tr>
|
---|
205 | <tr class="separator:a75e82ca2ae2fb7c39d973dd3d16bc698 inherit pub_methods_classflair_1_1core_1_1_i_o_device"><td class="memSeparator" colspan="2"> </td></tr>
|
---|
206 | <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>
|
---|
207 | virtual <a class="el" href="classflair_1_1core_1_1_data_type.html">DataType</a> const & </td><td class="memItemRight" valign="bottom"><b>GetOutputDataType</b> () const </td></tr>
|
---|
208 | <tr class="separator:aa325be57d48b268006120dde75dd65cc inherit pub_methods_classflair_1_1core_1_1_i_o_device"><td class="memSeparator" colspan="2"> </td></tr>
|
---|
209 | <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="-"/> Public Member Functions inherited from <a class="el" href="classflair_1_1core_1_1_object.html">flair::core::Object</a></td></tr>
|
---|
210 | <tr class="memitem:aec92383fd5bf68d9df10414862b7e95c inherit pub_methods_classflair_1_1core_1_1_object"><td class="memItemLeft" align="right" valign="top"> </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="", std::string type="")</td></tr>
|
---|
211 | <tr class="memdesc:aec92383fd5bf68d9df10414862b7e95c inherit pub_methods_classflair_1_1core_1_1_object"><td class="mdescLeft"> </td><td class="mdescRight">Constructor. <a href="#aec92383fd5bf68d9df10414862b7e95c">More...</a><br /></td></tr>
|
---|
212 | <tr class="separator:aec92383fd5bf68d9df10414862b7e95c inherit pub_methods_classflair_1_1core_1_1_object"><td class="memSeparator" colspan="2"> </td></tr>
|
---|
213 | <tr class="memitem:aa2bde0e6677bbef705c96c93cb06ad09 inherit pub_methods_classflair_1_1core_1_1_object"><td class="memItemLeft" align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classflair_1_1core_1_1_object.html#aa2bde0e6677bbef705c96c93cb06ad09">~Object</a> ()</td></tr>
|
---|
214 | <tr class="memdesc:aa2bde0e6677bbef705c96c93cb06ad09 inherit pub_methods_classflair_1_1core_1_1_object"><td class="mdescLeft"> </td><td class="mdescRight">Destructor. <a href="#aa2bde0e6677bbef705c96c93cb06ad09">More...</a><br /></td></tr>
|
---|
215 | <tr class="separator:aa2bde0e6677bbef705c96c93cb06ad09 inherit pub_methods_classflair_1_1core_1_1_object"><td class="memSeparator" colspan="2"> </td></tr>
|
---|
216 | <tr class="memitem:a9b0344dff7e1c05424d9152c8274523a inherit pub_methods_classflair_1_1core_1_1_object"><td class="memItemLeft" align="right" valign="top">std::string </td><td class="memItemRight" valign="bottom"><a class="el" href="classflair_1_1core_1_1_object.html#a9b0344dff7e1c05424d9152c8274523a">ObjectName</a> (void) const </td></tr>
|
---|
217 | <tr class="memdesc:a9b0344dff7e1c05424d9152c8274523a inherit pub_methods_classflair_1_1core_1_1_object"><td class="mdescLeft"> </td><td class="mdescRight">Name. <a href="#a9b0344dff7e1c05424d9152c8274523a">More...</a><br /></td></tr>
|
---|
218 | <tr class="separator:a9b0344dff7e1c05424d9152c8274523a inherit pub_methods_classflair_1_1core_1_1_object"><td class="memSeparator" colspan="2"> </td></tr>
|
---|
219 | <tr class="memitem:a609a250ec037fbcaf8957c8f1dcbfc53 inherit pub_methods_classflair_1_1core_1_1_object"><td class="memItemLeft" align="right" valign="top">std::string </td><td class="memItemRight" valign="bottom"><a class="el" href="classflair_1_1core_1_1_object.html#a609a250ec037fbcaf8957c8f1dcbfc53">ObjectType</a> (void) const </td></tr>
|
---|
220 | <tr class="memdesc:a609a250ec037fbcaf8957c8f1dcbfc53 inherit pub_methods_classflair_1_1core_1_1_object"><td class="mdescLeft"> </td><td class="mdescRight">Type. <a href="#a609a250ec037fbcaf8957c8f1dcbfc53">More...</a><br /></td></tr>
|
---|
221 | <tr class="separator:a609a250ec037fbcaf8957c8f1dcbfc53 inherit pub_methods_classflair_1_1core_1_1_object"><td class="memSeparator" colspan="2"> </td></tr>
|
---|
222 | <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> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classflair_1_1core_1_1_object.html#a360c112cc3017a5152ebf6e84d2efa70">Parent</a> (void) const </td></tr>
|
---|
223 | <tr class="memdesc:a360c112cc3017a5152ebf6e84d2efa70 inherit pub_methods_classflair_1_1core_1_1_object"><td class="mdescLeft"> </td><td class="mdescRight">Parent. <a href="#a360c112cc3017a5152ebf6e84d2efa70">More...</a><br /></td></tr>
|
---|
224 | <tr class="separator:a360c112cc3017a5152ebf6e84d2efa70 inherit pub_methods_classflair_1_1core_1_1_object"><td class="memSeparator" colspan="2"> </td></tr>
|
---|
225 | <tr class="memitem:ae22db4d723ec2d50b3ba48f26a6a770c inherit pub_methods_classflair_1_1core_1_1_object"><td class="memItemLeft" align="right" valign="top">std::vector< const <a class="el" href="classflair_1_1core_1_1_object.html">Object</a> * > * </td><td class="memItemRight" valign="bottom"><a class="el" href="classflair_1_1core_1_1_object.html#ae22db4d723ec2d50b3ba48f26a6a770c">TypeChilds</a> (void) const </td></tr>
|
---|
226 | <tr class="memdesc:ae22db4d723ec2d50b3ba48f26a6a770c inherit pub_methods_classflair_1_1core_1_1_object"><td class="mdescLeft"> </td><td class="mdescRight">Childs of the same type. <a href="#ae22db4d723ec2d50b3ba48f26a6a770c">More...</a><br /></td></tr>
|
---|
227 | <tr class="separator:ae22db4d723ec2d50b3ba48f26a6a770c inherit pub_methods_classflair_1_1core_1_1_object"><td class="memSeparator" colspan="2"> </td></tr>
|
---|
228 | <tr class="memitem:a344f81cd35805a9501098bf727ac1a10 inherit pub_methods_classflair_1_1core_1_1_object"><td class="memItemLeft" align="right" valign="top">std::vector< const <a class="el" href="classflair_1_1core_1_1_object.html">Object</a> * > * </td><td class="memItemRight" valign="bottom"><a class="el" href="classflair_1_1core_1_1_object.html#a344f81cd35805a9501098bf727ac1a10">Childs</a> (void) const </td></tr>
|
---|
229 | <tr class="memdesc:a344f81cd35805a9501098bf727ac1a10 inherit pub_methods_classflair_1_1core_1_1_object"><td class="mdescLeft"> </td><td class="mdescRight">Childs. <a href="#a344f81cd35805a9501098bf727ac1a10">More...</a><br /></td></tr>
|
---|
230 | <tr class="separator:a344f81cd35805a9501098bf727ac1a10 inherit pub_methods_classflair_1_1core_1_1_object"><td class="memSeparator" colspan="2"> </td></tr>
|
---|
231 | <tr class="memitem:af001feba14fc053aa778e61080a0b4cf inherit pub_methods_classflair_1_1core_1_1_object"><td class="memItemLeft" align="right" valign="top">void </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>
|
---|
232 | <tr class="memdesc:af001feba14fc053aa778e61080a0b4cf inherit pub_methods_classflair_1_1core_1_1_object"><td class="mdescLeft"> </td><td class="mdescRight">Formatted information. <a href="#af001feba14fc053aa778e61080a0b4cf">More...</a><br /></td></tr>
|
---|
233 | <tr class="separator:af001feba14fc053aa778e61080a0b4cf inherit pub_methods_classflair_1_1core_1_1_object"><td class="memSeparator" colspan="2"> </td></tr>
|
---|
234 | <tr class="memitem:a168b18451b2ee6126e1e81d452005ff6 inherit pub_methods_classflair_1_1core_1_1_object"><td class="memItemLeft" align="right" valign="top">void </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>
|
---|
235 | <tr class="memdesc:a168b18451b2ee6126e1e81d452005ff6 inherit pub_methods_classflair_1_1core_1_1_object"><td class="mdescLeft"> </td><td class="mdescRight">Formatted warning. <a href="#a168b18451b2ee6126e1e81d452005ff6">More...</a><br /></td></tr>
|
---|
236 | <tr class="separator:a168b18451b2ee6126e1e81d452005ff6 inherit pub_methods_classflair_1_1core_1_1_object"><td class="memSeparator" colspan="2"> </td></tr>
|
---|
237 | <tr class="memitem:a3ca9694d29ec2b0491739879685df5ca inherit pub_methods_classflair_1_1core_1_1_object"><td class="memItemLeft" align="right" valign="top">void </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>
|
---|
238 | <tr class="memdesc:a3ca9694d29ec2b0491739879685df5ca inherit pub_methods_classflair_1_1core_1_1_object"><td class="mdescLeft"> </td><td class="mdescRight">Formatted error. <a href="#a3ca9694d29ec2b0491739879685df5ca">More...</a><br /></td></tr>
|
---|
239 | <tr class="separator:a3ca9694d29ec2b0491739879685df5ca inherit pub_methods_classflair_1_1core_1_1_object"><td class="memSeparator" colspan="2"> </td></tr>
|
---|
240 | <tr class="memitem:a36cdd7f556e78b1bddd1d1fe4264bb85 inherit pub_methods_classflair_1_1core_1_1_object"><td class="memItemLeft" align="right" valign="top">bool </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>
|
---|
241 | <tr class="memdesc:a36cdd7f556e78b1bddd1d1fe4264bb85 inherit pub_methods_classflair_1_1core_1_1_object"><td class="mdescLeft"> </td><td class="mdescRight">Has an errror occured? <a href="#a36cdd7f556e78b1bddd1d1fe4264bb85">More...</a><br /></td></tr>
|
---|
242 | <tr class="separator:a36cdd7f556e78b1bddd1d1fe4264bb85 inherit pub_methods_classflair_1_1core_1_1_object"><td class="memSeparator" colspan="2"> </td></tr>
|
---|
243 | </table><table class="memberdecls">
|
---|
244 | <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-attribs"></a>
|
---|
245 | Protected Attributes</h2></td></tr>
|
---|
246 | <tr class="memitem:af1e5523e2dc2d99f8722365ff4f77f44"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="af1e5523e2dc2d99f8722365ff4f77f44"></a>
|
---|
247 | <a class="el" href="classflair_1_1core_1_1_matrix.html">core::Matrix</a> * </td><td class="memItemRight" valign="bottom"><b>output</b></td></tr>
|
---|
248 | <tr class="separator:af1e5523e2dc2d99f8722365ff4f77f44"><td class="memSeparator" colspan="2"> </td></tr>
|
---|
249 | </table><table class="memberdecls">
|
---|
250 | <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a>
|
---|
251 | Additional 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="-"/> 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  </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"> </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="-"/> 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 </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"> </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"> </td></tr>
|
---|
263 | <tr class="memitem:a120fdcc3d50f6f076084cb6943fdf412 inherit pro_methods_classflair_1_1core_1_1_i_o_device"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classflair_1_1core_1_1_i_o_device.html#a120fdcc3d50f6f076084cb6943fdf412">SetIsReady</a> (bool status)</td></tr>
|
---|
264 | <tr class="memdesc:a120fdcc3d50f6f076084cb6943fdf412 inherit pro_methods_classflair_1_1core_1_1_i_o_device"><td class="mdescLeft"> </td><td class="mdescRight">set is ready <a href="#a120fdcc3d50f6f076084cb6943fdf412">More...</a><br /></td></tr>
|
---|
265 | <tr class="separator:a120fdcc3d50f6f076084cb6943fdf412 inherit pro_methods_classflair_1_1core_1_1_i_o_device"><td class="memSeparator" colspan="2"> </td></tr>
|
---|
266 | </table>
|
---|
267 | <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
|
---|
268 | <div class="textblock"><p>Base class for brushless motors drivers. </p>
|
---|
269 | </div><h2 class="groupheader">Constructor & Destructor Documentation</h2>
|
---|
270 | <a class="anchor" id="acb60358e96275823a489fb2d18a0d119"></a>
|
---|
271 | <div class="memitem">
|
---|
272 | <div class="memproto">
|
---|
273 | <table class="memname">
|
---|
274 | <tr>
|
---|
275 | <td class="memname">flair::actuator::Bldc::Bldc </td>
|
---|
276 | <td>(</td>
|
---|
277 | <td class="paramtype">const <a class="el" href="classflair_1_1core_1_1_i_o_device.html">core::IODevice</a> * </td>
|
---|
278 | <td class="paramname"><em>parent</em>, </td>
|
---|
279 | </tr>
|
---|
280 | <tr>
|
---|
281 | <td class="paramkey"></td>
|
---|
282 | <td></td>
|
---|
283 | <td class="paramtype"><a class="el" href="classflair_1_1gui_1_1_layout.html">gui::Layout</a> * </td>
|
---|
284 | <td class="paramname"><em>layout</em>, </td>
|
---|
285 | </tr>
|
---|
286 | <tr>
|
---|
287 | <td class="paramkey"></td>
|
---|
288 | <td></td>
|
---|
289 | <td class="paramtype">std::string </td>
|
---|
290 | <td class="paramname"><em>name</em>, </td>
|
---|
291 | </tr>
|
---|
292 | <tr>
|
---|
293 | <td class="paramkey"></td>
|
---|
294 | <td></td>
|
---|
295 | <td class="paramtype">uint8_t </td>
|
---|
296 | <td class="paramname"><em>motors_count</em> </td>
|
---|
297 | </tr>
|
---|
298 | <tr>
|
---|
299 | <td></td>
|
---|
300 | <td>)</td>
|
---|
301 | <td></td><td></td>
|
---|
302 | </tr>
|
---|
303 | </table>
|
---|
304 | </div><div class="memdoc">
|
---|
305 |
|
---|
306 | <p>Constructor. </p>
|
---|
307 | <p>Construct a <a class="el" href="classflair_1_1actuator_1_1_bldc.html" title="Base class for brushless motors drivers. ">Bldc</a>.</p>
|
---|
308 | <dl class="params"><dt>Parameters</dt><dd>
|
---|
309 | <table class="params">
|
---|
310 | <tr><td class="paramname">parent</td><td>parent </td></tr>
|
---|
311 | <tr><td class="paramname">layout</td><td>layout </td></tr>
|
---|
312 | <tr><td class="paramname">name</td><td>name </td></tr>
|
---|
313 | <tr><td class="paramname">motors_count</td><td>number of motors </td></tr>
|
---|
314 | </table>
|
---|
315 | </dd>
|
---|
316 | </dl>
|
---|
317 |
|
---|
318 | </div>
|
---|
319 | </div>
|
---|
320 | <a class="anchor" id="a35ff4113cea48bfd002d425d2e1b5d49"></a>
|
---|
321 | <div class="memitem">
|
---|
322 | <div class="memproto">
|
---|
323 | <table class="memname">
|
---|
324 | <tr>
|
---|
325 | <td class="memname">flair::actuator::Bldc::Bldc </td>
|
---|
326 | <td>(</td>
|
---|
327 | <td class="paramtype">const <a class="el" href="classflair_1_1core_1_1_object.html">core::Object</a> * </td>
|
---|
328 | <td class="paramname"><em>parent</em>, </td>
|
---|
329 | </tr>
|
---|
330 | <tr>
|
---|
331 | <td class="paramkey"></td>
|
---|
332 | <td></td>
|
---|
333 | <td class="paramtype">std::string </td>
|
---|
334 | <td class="paramname"><em>name</em>, </td>
|
---|
335 | </tr>
|
---|
336 | <tr>
|
---|
337 | <td class="paramkey"></td>
|
---|
338 | <td></td>
|
---|
339 | <td class="paramtype">uint8_t </td>
|
---|
340 | <td class="paramname"><em>motors_count</em> </td>
|
---|
341 | </tr>
|
---|
342 | <tr>
|
---|
343 | <td></td>
|
---|
344 | <td>)</td>
|
---|
345 | <td></td><td></td>
|
---|
346 | </tr>
|
---|
347 | </table>
|
---|
348 | </div><div class="memdoc">
|
---|
349 |
|
---|
350 | <p>Constructor. </p>
|
---|
351 | <p>Construct a <a class="el" href="classflair_1_1actuator_1_1_bldc.html" title="Base class for brushless motors drivers. ">Bldc</a>. <br />
|
---|
352 | This contructor must only be called for a simulated device.</p>
|
---|
353 | <dl class="params"><dt>Parameters</dt><dd>
|
---|
354 | <table class="params">
|
---|
355 | <tr><td class="paramname">parent</td><td>parent </td></tr>
|
---|
356 | <tr><td class="paramname">name</td><td>name </td></tr>
|
---|
357 | <tr><td class="paramname">motors_count</td><td>number of motors </td></tr>
|
---|
358 | </table>
|
---|
359 | </dd>
|
---|
360 | </dl>
|
---|
361 |
|
---|
362 | </div>
|
---|
363 | </div>
|
---|
364 | <a class="anchor" id="a1569d6c4eed96b9f53cae6cd027b7608"></a>
|
---|
365 | <div class="memitem">
|
---|
366 | <div class="memproto">
|
---|
367 | <table class="memname">
|
---|
368 | <tr>
|
---|
369 | <td class="memname">flair::actuator::Bldc::~Bldc </td>
|
---|
370 | <td>(</td>
|
---|
371 | <td class="paramname"></td><td>)</td>
|
---|
372 | <td></td>
|
---|
373 | </tr>
|
---|
374 | </table>
|
---|
375 | </div><div class="memdoc">
|
---|
376 |
|
---|
377 | <p>Destructor. </p>
|
---|
378 |
|
---|
379 | </div>
|
---|
380 | </div>
|
---|
381 | <h2 class="groupheader">Member Function Documentation</h2>
|
---|
382 | <a class="anchor" id="a6c1d6173c5dcc0fa550464268847ca91"></a>
|
---|
383 | <div class="memitem">
|
---|
384 | <div class="memproto">
|
---|
385 | <table class="memname">
|
---|
386 | <tr>
|
---|
387 | <td class="memname">void flair::actuator::Bldc::LockUserInterface </td>
|
---|
388 | <td>(</td>
|
---|
389 | <td class="paramtype">void </td>
|
---|
390 | <td class="paramname"></td><td>)</td>
|
---|
391 | <td> const</td>
|
---|
392 | </tr>
|
---|
393 | </table>
|
---|
394 | </div><div class="memdoc">
|
---|
395 |
|
---|
396 | <p>Lock user interface. </p>
|
---|
397 |
|
---|
398 | </div>
|
---|
399 | </div>
|
---|
400 | <a class="anchor" id="ac1fba30ad70a6d8ff075d376c0e417dd"></a>
|
---|
401 | <div class="memitem">
|
---|
402 | <div class="memproto">
|
---|
403 | <table class="memname">
|
---|
404 | <tr>
|
---|
405 | <td class="memname">void flair::actuator::Bldc::UnlockUserInterface </td>
|
---|
406 | <td>(</td>
|
---|
407 | <td class="paramtype">void </td>
|
---|
408 | <td class="paramname"></td><td>)</td>
|
---|
409 | <td> const</td>
|
---|
410 | </tr>
|
---|
411 | </table>
|
---|
412 | </div><div class="memdoc">
|
---|
413 |
|
---|
414 | <p>Unlock user interface. </p>
|
---|
415 |
|
---|
416 | </div>
|
---|
417 | </div>
|
---|
418 | <a class="anchor" id="a5f653e25984ae11ae7f513e1fbad7d10"></a>
|
---|
419 | <div class="memitem">
|
---|
420 | <div class="memproto">
|
---|
421 | <table class="memname">
|
---|
422 | <tr>
|
---|
423 | <td class="memname">void flair::actuator::Bldc::UseDefaultPlot </td>
|
---|
424 | <td>(</td>
|
---|
425 | <td class="paramtype"><a class="el" href="classflair_1_1gui_1_1_tab_widget.html">gui::TabWidget</a> * </td>
|
---|
426 | <td class="paramname"><em>tabwidget</em></td><td>)</td>
|
---|
427 | <td></td>
|
---|
428 | </tr>
|
---|
429 | </table>
|
---|
430 | </div><div class="memdoc">
|
---|
431 |
|
---|
432 | <p>Use default plot. </p>
|
---|
433 | <dl class="params"><dt>Parameters</dt><dd>
|
---|
434 | <table class="params">
|
---|
435 | <tr><td class="paramname">tabwidget</td><td>TabWidget to draw plots </td></tr>
|
---|
436 | </table>
|
---|
437 | </dd>
|
---|
438 | </dl>
|
---|
439 |
|
---|
440 | </div>
|
---|
441 | </div>
|
---|
442 | <a class="anchor" id="ad10ac767cd8e7107f4459499dda7e504"></a>
|
---|
443 | <div class="memitem">
|
---|
444 | <div class="memproto">
|
---|
445 | <table class="memname">
|
---|
446 | <tr>
|
---|
447 | <td class="memname"><a class="el" href="classflair_1_1core_1_1_matrix.html">core::Matrix</a>* flair::actuator::Bldc::Output </td>
|
---|
448 | <td>(</td>
|
---|
449 | <td class="paramtype">void </td>
|
---|
450 | <td class="paramname"></td><td>)</td>
|
---|
451 | <td> const</td>
|
---|
452 | </tr>
|
---|
453 | </table>
|
---|
454 | </div><div class="memdoc">
|
---|
455 |
|
---|
456 | <p>Output from motors. </p>
|
---|
457 | <p>First column is real speed if available, secund column is current if available </p>
|
---|
458 |
|
---|
459 | </div>
|
---|
460 | </div>
|
---|
461 | <a class="anchor" id="aba973fd0797e039fc33c720729215570"></a>
|
---|
462 | <div class="memitem">
|
---|
463 | <div class="memproto">
|
---|
464 | <table class="memname">
|
---|
465 | <tr>
|
---|
466 | <td class="memname">uint8_t flair::actuator::Bldc::MotorsCount </td>
|
---|
467 | <td>(</td>
|
---|
468 | <td class="paramtype">void </td>
|
---|
469 | <td class="paramname"></td><td>)</td>
|
---|
470 | <td> const</td>
|
---|
471 | </tr>
|
---|
472 | </table>
|
---|
473 | </div><div class="memdoc">
|
---|
474 |
|
---|
475 | <p>Motors count. </p>
|
---|
476 | <dl class="section return"><dt>Returns</dt><dd>number of motors </dd></dl>
|
---|
477 |
|
---|
478 | </div>
|
---|
479 | </div>
|
---|
480 | <a class="anchor" id="ac030794b46b72db4184592f7cff11731"></a>
|
---|
481 | <div class="memitem">
|
---|
482 | <div class="memproto">
|
---|
483 | <table class="memname">
|
---|
484 | <tr>
|
---|
485 | <td class="memname">void flair::actuator::Bldc::SetEnabled </td>
|
---|
486 | <td>(</td>
|
---|
487 | <td class="paramtype">bool </td>
|
---|
488 | <td class="paramname"><em>status</em></td><td>)</td>
|
---|
489 | <td></td>
|
---|
490 | </tr>
|
---|
491 | </table>
|
---|
492 | </div><div class="memdoc">
|
---|
493 |
|
---|
494 | <p>Enable motors. </p>
|
---|
495 | <dl class="params"><dt>Parameters</dt><dd>
|
---|
496 | <table class="params">
|
---|
497 | <tr><td class="paramname">true</td><td>to enable all motors </td></tr>
|
---|
498 | </table>
|
---|
499 | </dd>
|
---|
500 | </dl>
|
---|
501 |
|
---|
502 | </div>
|
---|
503 | </div>
|
---|
504 | <a class="anchor" id="a82ad883235b4477905ef78b4daf8dccf"></a>
|
---|
505 | <div class="memitem">
|
---|
506 | <div class="memproto">
|
---|
507 | <table class="memname">
|
---|
508 | <tr>
|
---|
509 | <td class="memname">bool flair::actuator::Bldc::AreEnabled </td>
|
---|
510 | <td>(</td>
|
---|
511 | <td class="paramtype">void </td>
|
---|
512 | <td class="paramname"></td><td>)</td>
|
---|
513 | <td> const</td>
|
---|
514 | </tr>
|
---|
515 | </table>
|
---|
516 | </div><div class="memdoc">
|
---|
517 |
|
---|
518 | <p>Are motors enabled? </p>
|
---|
519 | <dl class="section return"><dt>Returns</dt><dd>true if motors are enabled </dd></dl>
|
---|
520 |
|
---|
521 | </div>
|
---|
522 | </div>
|
---|
523 | <a class="anchor" id="ae040c7faecb20b538da7932a3a2e589f"></a>
|
---|
524 | <div class="memitem">
|
---|
525 | <div class="memproto">
|
---|
526 | <table class="memname">
|
---|
527 | <tr>
|
---|
528 | <td class="memname">void flair::actuator::Bldc::SetPower </td>
|
---|
529 | <td>(</td>
|
---|
530 | <td class="paramtype">int </td>
|
---|
531 | <td class="paramname"><em>motor_id</em>, </td>
|
---|
532 | </tr>
|
---|
533 | <tr>
|
---|
534 | <td class="paramkey"></td>
|
---|
535 | <td></td>
|
---|
536 | <td class="paramtype">float </td>
|
---|
537 | <td class="paramname"><em>value</em> </td>
|
---|
538 | </tr>
|
---|
539 | <tr>
|
---|
540 | <td></td>
|
---|
541 | <td>)</td>
|
---|
542 | <td></td><td></td>
|
---|
543 | </tr>
|
---|
544 | </table>
|
---|
545 | </div><div class="memdoc">
|
---|
546 |
|
---|
547 | <p>Set motor power. </p>
|
---|
548 | <p>Changes the power (from 0 to 1) of a specific motor. <br />
|
---|
549 | By default power is set to 1 for each motor which has no effect. <br />
|
---|
550 | A value <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 />
|
---|
551 | 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>
|
---|
552 | <dl class="params"><dt>Parameters</dt><dd>
|
---|
553 | <table class="params">
|
---|
554 | <tr><td class="paramname">motor_id</td><td>id of the motor </td></tr>
|
---|
555 | <tr><td class="paramname">value</td><td>power value (from 0 to 1) </td></tr>
|
---|
556 | </table>
|
---|
557 | </dd>
|
---|
558 | </dl>
|
---|
559 |
|
---|
560 | </div>
|
---|
561 | </div>
|
---|
562 | <a class="anchor" id="a330135b8772cff48754df0e4f720cd0b"></a>
|
---|
563 | <div class="memitem">
|
---|
564 | <div class="memproto">
|
---|
565 | <table class="memname">
|
---|
566 | <tr>
|
---|
567 | <td class="memname"><a class="el" href="classflair_1_1gui_1_1_layout.html">gui::Layout</a>* flair::actuator::Bldc::GetLayout </td>
|
---|
568 | <td>(</td>
|
---|
569 | <td class="paramtype">void </td>
|
---|
570 | <td class="paramname"></td><td>)</td>
|
---|
571 | <td> const</td>
|
---|
572 | </tr>
|
---|
573 | </table>
|
---|
574 | </div><div class="memdoc">
|
---|
575 |
|
---|
576 | <p>Layout. </p>
|
---|
577 | <p>This the same Layout as passed to the constructor</p>
|
---|
578 | <dl class="section return"><dt>Returns</dt><dd>a Layout </dd></dl>
|
---|
579 |
|
---|
580 | </div>
|
---|
581 | </div>
|
---|
582 | <a class="anchor" id="a37cf2c11de84720a8549f184d3fd3c1a"></a>
|
---|
583 | <div class="memitem">
|
---|
584 | <div class="memproto">
|
---|
585 | <table class="mlabels">
|
---|
586 | <tr>
|
---|
587 | <td class="mlabels-left">
|
---|
588 | <table class="memname">
|
---|
589 | <tr>
|
---|
590 | <td class="memname">virtual bool flair::actuator::Bldc::HasSpeedMeasurement </td>
|
---|
591 | <td>(</td>
|
---|
592 | <td class="paramtype">void </td>
|
---|
593 | <td class="paramname"></td><td>)</td>
|
---|
594 | <td> const</td>
|
---|
595 | </tr>
|
---|
596 | </table>
|
---|
597 | </td>
|
---|
598 | <td class="mlabels-right">
|
---|
599 | <span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
|
---|
600 | </tr>
|
---|
601 | </table>
|
---|
602 | </div><div class="memdoc">
|
---|
603 |
|
---|
604 | <p>Has speed measurement. </p>
|
---|
605 | <dl class="section return"><dt>Returns</dt><dd>true if it has speed measurement </dd></dl>
|
---|
606 |
|
---|
607 | <p>Implemented in <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>, <a class="el" href="classflair_1_1actuator_1_1_simulated_bldc.html#a79dcf8fd325921f16b589c8edd4fbcaf">flair::actuator::SimulatedBldc</a>, and <a class="el" href="classflair_1_1actuator_1_1_x_bldc.html#a3f9c8671568a5106a9a03b9043cbb7a9">flair::actuator::XBldc</a>.</p>
|
---|
608 |
|
---|
609 | </div>
|
---|
610 | </div>
|
---|
611 | <a class="anchor" id="aab69754edb7248757135740a1ced9169"></a>
|
---|
612 | <div class="memitem">
|
---|
613 | <div class="memproto">
|
---|
614 | <table class="mlabels">
|
---|
615 | <tr>
|
---|
616 | <td class="mlabels-left">
|
---|
617 | <table class="memname">
|
---|
618 | <tr>
|
---|
619 | <td class="memname">virtual bool flair::actuator::Bldc::HasCurrentMeasurement </td>
|
---|
620 | <td>(</td>
|
---|
621 | <td class="paramtype">void </td>
|
---|
622 | <td class="paramname"></td><td>)</td>
|
---|
623 | <td> const</td>
|
---|
624 | </tr>
|
---|
625 | </table>
|
---|
626 | </td>
|
---|
627 | <td class="mlabels-right">
|
---|
628 | <span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
|
---|
629 | </tr>
|
---|
630 | </table>
|
---|
631 | </div><div class="memdoc">
|
---|
632 |
|
---|
633 | <p>Has current measurement. </p>
|
---|
634 | <dl class="section return"><dt>Returns</dt><dd>true if it has current measurement </dd></dl>
|
---|
635 |
|
---|
636 | <p>Implemented in <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>, <a class="el" href="classflair_1_1actuator_1_1_simulated_bldc.html#aef7767956205e118e0e61013a4782f0a">flair::actuator::SimulatedBldc</a>, and <a class="el" href="classflair_1_1actuator_1_1_x_bldc.html#ab02c1cd6f84f8b4089012afa27b37853">flair::actuator::XBldc</a>.</p>
|
---|
637 |
|
---|
638 | </div>
|
---|
639 | </div>
|
---|
640 | </div><!-- contents -->
|
---|
641 | </div><!-- doc-content -->
|
---|
642 | <!-- start footer part -->
|
---|
643 | <div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
---|
644 | <ul>
|
---|
645 | <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>
|
---|
646 | <li class="footer">Generated on Thu Jan 31 2019 12:34:23 for Flair by
|
---|
647 | <a href="http://www.doxygen.org/index.html">
|
---|
648 | <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.9.1 </li>
|
---|
649 | </ul>
|
---|
650 | </div>
|
---|
651 | </body>
|
---|
652 | </html>
|
---|