-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit c13806b
Showing
185 changed files
with
13,622 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,97 @@ | ||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | ||
<html xmlns="http://www.w3.org/1999/xhtml"> | ||
<head> | ||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> | ||
<meta http-equiv="X-UA-Compatible" content="IE=9"/> | ||
<meta name="generator" content="Doxygen 1.9.1"/> | ||
<meta name="viewport" content="width=device-width, initial-scale=1"/> | ||
<title>yarp-devices: libraries/YarpPlugins/EcroPwmController/LogComponent.hpp Source File</title> | ||
<link href="tabs.css" rel="stylesheet" type="text/css"/> | ||
<script type="text/javascript" src="jquery.js"></script> | ||
<script type="text/javascript" src="dynsections.js"></script> | ||
<link href="search/search.css" rel="stylesheet" type="text/css"/> | ||
<script type="text/javascript" src="search/searchdata.js"></script> | ||
<script type="text/javascript" src="search/search.js"></script> | ||
<script type="text/x-mathjax-config"> | ||
MathJax.Hub.Config({ | ||
extensions: ["tex2jax.js"], | ||
jax: ["input/TeX","output/HTML-CSS"], | ||
}); | ||
</script> | ||
<script type="text/javascript" async="async" src="https://cdn.jsdelivr.net/npm/mathjax@2/MathJax.js"></script> | ||
<link href="doxygen.css" rel="stylesheet" type="text/css" /> | ||
</head> | ||
<body> | ||
<div id="top"><!-- do not remove this div, it is closed by doxygen! --> | ||
<div id="titlearea"> | ||
<table cellspacing="0" cellpadding="0"> | ||
<tbody> | ||
<tr style="height: 56px;"> | ||
<td id="projectalign" style="padding-left: 0.5em;"> | ||
<div id="projectname">yarp-devices | ||
</div> | ||
</td> | ||
</tr> | ||
</tbody> | ||
</table> | ||
</div> | ||
<!-- end header part --> | ||
<!-- Generated by Doxygen 1.9.1 --> | ||
<script type="text/javascript"> | ||
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ | ||
var searchBox = new SearchBox("searchBox", "search",false,'Search','.html'); | ||
/* @license-end */ | ||
</script> | ||
<script type="text/javascript" src="menudata.js"></script> | ||
<script type="text/javascript" src="menu.js"></script> | ||
<script type="text/javascript"> | ||
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ | ||
$(function() { | ||
initMenu('',true,false,'search.php','Search'); | ||
$(document).ready(function() { init_search(); }); | ||
}); | ||
/* @license-end */</script> | ||
<div id="main-nav"></div> | ||
<!-- window showing the filter options --> | ||
<div id="MSearchSelectWindow" | ||
onmouseover="return searchBox.OnSearchSelectShow()" | ||
onmouseout="return searchBox.OnSearchSelectHide()" | ||
onkeydown="return searchBox.OnSearchSelectKey(event)"> | ||
</div> | ||
|
||
<!-- iframe showing the search results (closed by default) --> | ||
<div id="MSearchResultsWindow"> | ||
<iframe src="javascript:void(0)" frameborder="0" | ||
name="MSearchResults" id="MSearchResults"> | ||
</iframe> | ||
</div> | ||
|
||
<div id="nav-path" class="navpath"> | ||
<ul> | ||
<li class="navelem"><a class="el" href="dir_bc0718b08fb2015b8e59c47b2805f60c.html">libraries</a></li><li class="navelem"><a class="el" href="dir_f98f57c538677273d6e3d52c55355c28.html">YarpPlugins</a></li><li class="navelem"><a class="el" href="dir_42950ad3e062fd69313a6bd36855dcce.html">EcroPwmController</a></li> </ul> | ||
</div> | ||
</div><!-- top --> | ||
<div class="header"> | ||
<div class="headertitle"> | ||
<div class="title">LogComponent.hpp</div> </div> | ||
</div><!--header--> | ||
<div class="contents"> | ||
<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="comment">// Authors: see AUTHORS.md at project root.</span></div> | ||
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment">// CopyPolicy: released under the terms of the LGPLv2.1, see LICENSE at project root.</span></div> | ||
<div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment">// URL: https://github.com/asrob-uc3m/yarp-devices</span></div> | ||
<div class="line"><a name="l00004"></a><span class="lineno"> 4</span>  </div> | ||
<div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="preprocessor">#ifndef __ECRO_PWM_CONTROLLER_LOG_COMPONENT__</span></div> | ||
<div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="preprocessor">#define __ECRO_PWM_CONTROLLER_LOG_COMPONENT__</span></div> | ||
<div class="line"><a name="l00007"></a><span class="lineno"> 7</span>  </div> | ||
<div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="preprocessor">#include <yarp/os/LogComponent.h></span></div> | ||
<div class="line"><a name="l00009"></a><span class="lineno"> 9</span>  </div> | ||
<div class="line"><a name="l00010"></a><span class="lineno"> 10</span> YARP_DECLARE_LOG_COMPONENT(EPC)</div> | ||
<div class="line"><a name="l00011"></a><span class="lineno"> 11</span>  </div> | ||
<div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="preprocessor">#endif </span><span class="comment">// __ECRO_PWM_CONTROLLER_LOG_COMPONENT__</span></div> | ||
</div><!-- fragment --></div><!-- contents --> | ||
<!-- start footer part --> | ||
<hr class="footer"/><address class="footer"><small> | ||
Generated on Thu Oct 17 2024 17:36:27 for yarp-devices by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.1 | ||
</small></address> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,141 @@ | ||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | ||
<html xmlns="http://www.w3.org/1999/xhtml"> | ||
<head> | ||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> | ||
<meta http-equiv="X-UA-Compatible" content="IE=9"/> | ||
<meta name="generator" content="Doxygen 1.9.1"/> | ||
<meta name="viewport" content="width=device-width, initial-scale=1"/> | ||
<title>yarp-devices: libraries/YarpPlugins/EcroPwmController/EcroPwmController.hpp Source File</title> | ||
<link href="tabs.css" rel="stylesheet" type="text/css"/> | ||
<script type="text/javascript" src="jquery.js"></script> | ||
<script type="text/javascript" src="dynsections.js"></script> | ||
<link href="search/search.css" rel="stylesheet" type="text/css"/> | ||
<script type="text/javascript" src="search/searchdata.js"></script> | ||
<script type="text/javascript" src="search/search.js"></script> | ||
<script type="text/x-mathjax-config"> | ||
MathJax.Hub.Config({ | ||
extensions: ["tex2jax.js"], | ||
jax: ["input/TeX","output/HTML-CSS"], | ||
}); | ||
</script> | ||
<script type="text/javascript" async="async" src="https://cdn.jsdelivr.net/npm/mathjax@2/MathJax.js"></script> | ||
<link href="doxygen.css" rel="stylesheet" type="text/css" /> | ||
</head> | ||
<body> | ||
<div id="top"><!-- do not remove this div, it is closed by doxygen! --> | ||
<div id="titlearea"> | ||
<table cellspacing="0" cellpadding="0"> | ||
<tbody> | ||
<tr style="height: 56px;"> | ||
<td id="projectalign" style="padding-left: 0.5em;"> | ||
<div id="projectname">yarp-devices | ||
</div> | ||
</td> | ||
</tr> | ||
</tbody> | ||
</table> | ||
</div> | ||
<!-- end header part --> | ||
<!-- Generated by Doxygen 1.9.1 --> | ||
<script type="text/javascript"> | ||
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ | ||
var searchBox = new SearchBox("searchBox", "search",false,'Search','.html'); | ||
/* @license-end */ | ||
</script> | ||
<script type="text/javascript" src="menudata.js"></script> | ||
<script type="text/javascript" src="menu.js"></script> | ||
<script type="text/javascript"> | ||
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ | ||
$(function() { | ||
initMenu('',true,false,'search.php','Search'); | ||
$(document).ready(function() { init_search(); }); | ||
}); | ||
/* @license-end */</script> | ||
<div id="main-nav"></div> | ||
<!-- window showing the filter options --> | ||
<div id="MSearchSelectWindow" | ||
onmouseover="return searchBox.OnSearchSelectShow()" | ||
onmouseout="return searchBox.OnSearchSelectHide()" | ||
onkeydown="return searchBox.OnSearchSelectKey(event)"> | ||
</div> | ||
|
||
<!-- iframe showing the search results (closed by default) --> | ||
<div id="MSearchResultsWindow"> | ||
<iframe src="javascript:void(0)" frameborder="0" | ||
name="MSearchResults" id="MSearchResults"> | ||
</iframe> | ||
</div> | ||
|
||
<div id="nav-path" class="navpath"> | ||
<ul> | ||
<li class="navelem"><a class="el" href="dir_bc0718b08fb2015b8e59c47b2805f60c.html">libraries</a></li><li class="navelem"><a class="el" href="dir_f98f57c538677273d6e3d52c55355c28.html">YarpPlugins</a></li><li class="navelem"><a class="el" href="dir_42950ad3e062fd69313a6bd36855dcce.html">EcroPwmController</a></li> </ul> | ||
</div> | ||
</div><!-- top --> | ||
<div class="header"> | ||
<div class="headertitle"> | ||
<div class="title">EcroPwmController.hpp</div> </div> | ||
</div><!--header--> | ||
<div class="contents"> | ||
<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="comment">// -*- mode:C++; tab-width:4; c-basic-offset:4; indent-tabs-mode:nil -*-</span></div> | ||
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span>  </div> | ||
<div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="preprocessor">#ifndef __ECRO_PWM_CONTROLLER__</span></div> | ||
<div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="preprocessor">#define __ECRO_PWM_CONTROLLER__</span></div> | ||
<div class="line"><a name="l00005"></a><span class="lineno"> 5</span>  </div> | ||
<div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="preprocessor">#include <yarp/dev/DeviceDriver.h></span></div> | ||
<div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="preprocessor">#include <yarp/dev/ISerialDevice.h></span></div> | ||
<div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="preprocessor">#include <yarp/dev/PolyDriver.h></span></div> | ||
<div class="line"><a name="l00009"></a><span class="lineno"> 9</span>  </div> | ||
<div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="preprocessor">#include "IRobotManager.hpp"</span></div> | ||
<div class="line"><a name="l00011"></a><span class="lineno"> 11</span>  </div> | ||
<div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="keyword">namespace </span><a class="code" href="namespaceasrob.html">asrob</a></div> | ||
<div class="line"><a name="l00013"></a><span class="lineno"> 13</span> {</div> | ||
<div class="line"><a name="l00014"></a><span class="lineno"> 14</span>  </div> | ||
<div class="line"><a name="l00019"></a><span class="lineno"><a class="line" href="classasrob_1_1EcroPwmController.html"> 19</a></span> <span class="keyword">class </span><a class="code" href="classasrob_1_1EcroPwmController.html">EcroPwmController</a> : <span class="keyword">public</span> yarp::dev::DeprecatedDeviceDriver,</div> | ||
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span>  <span class="keyword">public</span> <a class="code" href="classasrob_1_1IRobotManager.html">IRobotManager</a></div> | ||
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span> {</div> | ||
<div class="line"><a name="l00022"></a><span class="lineno"> 22</span> <span class="keyword">public</span>:</div> | ||
<div class="line"><a name="l00023"></a><span class="lineno"> 23</span>  <span class="comment">// -------- RobotManager declarations. Implementation in EcroPwmController.cpp --------</span></div> | ||
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span>  </div> | ||
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span>  <span class="comment">//-- Robot movement related functions</span></div> | ||
<div class="line"><a name="l00026"></a><span class="lineno"> 26</span>  <span class="keywordtype">bool</span> <a class="code" href="classasrob_1_1EcroPwmController.html#a3d154c241ffce4d5711ef0a22bbc9ff8">moveForward</a>(<span class="keywordtype">double</span> value) <span class="keyword">override</span>;</div> | ||
<div class="line"><a name="l00027"></a><span class="lineno"> 27</span>  <span class="keywordtype">bool</span> <a class="code" href="classasrob_1_1EcroPwmController.html#ac22eadf6bb1e58369c8019e4a017cb80">turnLeft</a>(<span class="keywordtype">double</span> value) <span class="keyword">override</span>;</div> | ||
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span>  <span class="keywordtype">bool</span> <a class="code" href="classasrob_1_1EcroPwmController.html#a4ccf4600f12c863625682fcbbeb588ec">stopMovement</a>() <span class="keyword">override</span>;</div> | ||
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span>  </div> | ||
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span>  <span class="comment">//-- Robot camera related functions</span></div> | ||
<div class="line"><a name="l00031"></a><span class="lineno"> 31</span>  <span class="keywordtype">bool</span> <a class="code" href="classasrob_1_1EcroPwmController.html#a3415e162098b1fd38099256c7fa33b1e">tiltDown</a>(<span class="keywordtype">double</span> value) <span class="keyword">override</span>;</div> | ||
<div class="line"><a name="l00032"></a><span class="lineno"> 32</span>  <span class="keywordtype">bool</span> <a class="code" href="classasrob_1_1EcroPwmController.html#a9e7f18941d63b71bd1efcf67a4762ef6">panLeft</a>(<span class="keywordtype">double</span> value) <span class="keyword">override</span>;</div> | ||
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span>  <span class="keywordtype">bool</span> <a class="code" href="classasrob_1_1EcroPwmController.html#abdac06d089d8a3c29521f8074018a44a">stopCameraMovement</a>() <span class="keyword">override</span>;</div> | ||
<div class="line"><a name="l00034"></a><span class="lineno"> 34</span>  </div> | ||
<div class="line"><a name="l00035"></a><span class="lineno"> 35</span>  <span class="comment">// -------- DeviceDriver declarations. Implementation in DeviceDriverImpl.cpp --------</span></div> | ||
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span>  <span class="keywordtype">bool</span> open(yarp::os::Searchable& config) <span class="keyword">override</span>;</div> | ||
<div class="line"><a name="l00037"></a><span class="lineno"> 37</span>  <span class="keywordtype">bool</span> close() <span class="keyword">override</span>;</div> | ||
<div class="line"><a name="l00038"></a><span class="lineno"> 38</span>  </div> | ||
<div class="line"><a name="l00039"></a><span class="lineno"> 39</span> <span class="keyword">private</span>:</div> | ||
<div class="line"><a name="l00040"></a><span class="lineno"> 40</span>  <span class="keywordtype">bool</span> sendCurrentJointValues();</div> | ||
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span>  </div> | ||
<div class="line"><a name="l00042"></a><span class="lineno"> 42</span>  yarp::dev::PolyDriver serialDevice;</div> | ||
<div class="line"><a name="l00043"></a><span class="lineno"> 43</span>  yarp::dev::ISerialDevice * serial;</div> | ||
<div class="line"><a name="l00044"></a><span class="lineno"> 44</span>  </div> | ||
<div class="line"><a name="l00045"></a><span class="lineno"> 45</span>  <span class="keywordtype">int</span> leftMotorVelocity {0};</div> | ||
<div class="line"><a name="l00046"></a><span class="lineno"> 46</span>  <span class="keywordtype">int</span> rightMotorVelocity {0};</div> | ||
<div class="line"><a name="l00047"></a><span class="lineno"> 47</span> };</div> | ||
<div class="line"><a name="l00048"></a><span class="lineno"> 48</span>  </div> | ||
<div class="line"><a name="l00049"></a><span class="lineno"> 49</span> } <span class="comment">// namespace asrob</span></div> | ||
<div class="line"><a name="l00050"></a><span class="lineno"> 50</span>  </div> | ||
<div class="line"><a name="l00051"></a><span class="lineno"> 51</span> <span class="preprocessor">#endif </span><span class="comment">// __ECRO_PWM_CONTROLLER__</span></div> | ||
<div class="ttc" id="aclassasrob_1_1EcroPwmController_html"><div class="ttname"><a href="classasrob_1_1EcroPwmController.html">asrob::EcroPwmController</a></div><div class="ttdoc">EcroPwmController.</div><div class="ttdef"><b>Definition:</b> EcroPwmController.hpp:21</div></div> | ||
<div class="ttc" id="aclassasrob_1_1EcroPwmController_html_a3415e162098b1fd38099256c7fa33b1e"><div class="ttname"><a href="classasrob_1_1EcroPwmController.html#a3415e162098b1fd38099256c7fa33b1e">asrob::EcroPwmController::tiltDown</a></div><div class="ttdeci">bool tiltDown(double value) override</div><div class="ttdoc">Robot camera: Tilt down (use negative value for tilt up). position mode [deg]. Velocity mode [deg/s].</div><div class="ttdef"><b>Definition:</b> EcroPwmController.cpp:59</div></div> | ||
<div class="ttc" id="aclassasrob_1_1EcroPwmController_html_a3d154c241ffce4d5711ef0a22bbc9ff8"><div class="ttname"><a href="classasrob_1_1EcroPwmController.html#a3d154c241ffce4d5711ef0a22bbc9ff8">asrob::EcroPwmController::moveForward</a></div><div class="ttdeci">bool moveForward(double value) override</div><div class="ttdoc">Robot: Move forward (use negative value for move backward). position mode [m]. Velocity mode [m/s].</div><div class="ttdef"><b>Definition:</b> EcroPwmController.cpp:20</div></div> | ||
<div class="ttc" id="aclassasrob_1_1EcroPwmController_html_a4ccf4600f12c863625682fcbbeb588ec"><div class="ttname"><a href="classasrob_1_1EcroPwmController.html#a4ccf4600f12c863625682fcbbeb588ec">asrob::EcroPwmController::stopMovement</a></div><div class="ttdeci">bool stopMovement() override</div><div class="ttdoc">Robot: Stop movement.</div><div class="ttdef"><b>Definition:</b> EcroPwmController.cpp:48</div></div> | ||
<div class="ttc" id="aclassasrob_1_1EcroPwmController_html_a9e7f18941d63b71bd1efcf67a4762ef6"><div class="ttname"><a href="classasrob_1_1EcroPwmController.html#a9e7f18941d63b71bd1efcf67a4762ef6">asrob::EcroPwmController::panLeft</a></div><div class="ttdeci">bool panLeft(double value) override</div><div class="ttdoc">Robot camera: Pan left (use negative value for pan right). position mode [deg]. Velocity mode [deg/s]...</div><div class="ttdef"><b>Definition:</b> EcroPwmController.cpp:65</div></div> | ||
<div class="ttc" id="aclassasrob_1_1EcroPwmController_html_abdac06d089d8a3c29521f8074018a44a"><div class="ttname"><a href="classasrob_1_1EcroPwmController.html#abdac06d089d8a3c29521f8074018a44a">asrob::EcroPwmController::stopCameraMovement</a></div><div class="ttdeci">bool stopCameraMovement() override</div><div class="ttdoc">Robot camera: Stop movement.</div><div class="ttdef"><b>Definition:</b> EcroPwmController.cpp:71</div></div> | ||
<div class="ttc" id="aclassasrob_1_1EcroPwmController_html_ac22eadf6bb1e58369c8019e4a017cb80"><div class="ttname"><a href="classasrob_1_1EcroPwmController.html#ac22eadf6bb1e58369c8019e4a017cb80">asrob::EcroPwmController::turnLeft</a></div><div class="ttdeci">bool turnLeft(double value) override</div><div class="ttdoc">Robot: Turn left (use negative value for turn left). position mode [deg]. Velocity mode [deg/s].</div><div class="ttdef"><b>Definition:</b> EcroPwmController.cpp:34</div></div> | ||
<div class="ttc" id="aclassasrob_1_1IRobotManager_html"><div class="ttname"><a href="classasrob_1_1IRobotManager.html">asrob::IRobotManager</a></div><div class="ttdef"><b>Definition:</b> IRobotManager.hpp:28</div></div> | ||
<div class="ttc" id="anamespaceasrob_html"><div class="ttname"><a href="namespaceasrob.html">asrob</a></div><div class="ttdoc">The main, catch-all namespace for ASROB UC3M.</div><div class="ttdef"><b>Definition:</b> groups.dox:5</div></div> | ||
</div><!-- fragment --></div><!-- contents --> | ||
<!-- start footer part --> | ||
<hr class="footer"/><address class="footer"><small> | ||
Generated on Thu Oct 17 2024 17:36:27 for yarp-devices by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.1 | ||
</small></address> | ||
</body> | ||
</html> |
Oops, something went wrong.