-
Notifications
You must be signed in to change notification settings - Fork 14
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 a35ec41
Showing
586 changed files
with
55,665 additions
and
0 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
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,137 @@ | ||
<!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>kinematics-dynamics: programs/streamingDeviceController/CentroidTransform.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">kinematics-dynamics | ||
</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_7b0a5d1507c7f681cbfa1deb5990c6ea.html">programs</a></li><li class="navelem"><a class="el" href="dir_15768b185b6e8b816adf0c89b30bfe65.html">streamingDeviceController</a></li> </ul> | ||
</div> | ||
</div><!-- top --> | ||
<div class="header"> | ||
<div class="headertitle"> | ||
<div class="title">CentroidTransform.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="preprocessor">#ifndef __CENTROID_TRANSFORM_HPP__</span></div> | ||
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="preprocessor">#define __CENTROID_TRANSFORM_HPP__</span></div> | ||
<div class="line"><a name="l00003"></a><span class="lineno"> 3</span>  </div> | ||
<div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="preprocessor">#include <yarp/os/Bottle.h></span></div> | ||
<div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="preprocessor">#include <yarp/os/Stamp.h></span></div> | ||
<div class="line"><a name="l00006"></a><span class="lineno"> 6</span>  </div> | ||
<div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="preprocessor">#include <kdl/frames.hpp></span></div> | ||
<div class="line"><a name="l00008"></a><span class="lineno"> 8</span>  </div> | ||
<div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="preprocessor">#include "StreamingDevice.hpp"</span></div> | ||
<div class="line"><a name="l00010"></a><span class="lineno"> 10</span>  </div> | ||
<div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="keyword">namespace </span><a class="code" href="namespaceroboticslab.html">roboticslab</a></div> | ||
<div class="line"><a name="l00012"></a><span class="lineno"> 12</span> {</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> <span class="keyword">class </span>StreamingDevice;</div> | ||
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span>  </div> | ||
<div class="line"><a name="l00021"></a><span class="lineno"><a class="line" href="classroboticslab_1_1CentroidTransform.html"> 21</a></span> <span class="keyword">class </span><a class="code" href="classroboticslab_1_1CentroidTransform.html">CentroidTransform</a></div> | ||
<div class="line"><a name="l00022"></a><span class="lineno"> 22</span> {</div> | ||
<div class="line"><a name="l00023"></a><span class="lineno"> 23</span> <span class="keyword">public</span>:</div> | ||
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span>  <a class="code" href="classroboticslab_1_1CentroidTransform.html#aa7ec227473fdbeb23bc948c80ae7d071">CentroidTransform</a>();</div> | ||
<div class="line"><a name="l00026"></a><span class="lineno"> 26</span>  </div> | ||
<div class="line"><a name="l00028"></a><span class="lineno"><a class="line" href="classroboticslab_1_1CentroidTransform.html#a330cdceee971c24294c97a8b68d20576"> 28</a></span>  <span class="keywordtype">void</span> <a class="code" href="classroboticslab_1_1CentroidTransform.html#a330cdceee971c24294c97a8b68d20576">registerStreamingDevice</a>(<a class="code" href="classroboticslab_1_1StreamingDevice.html">StreamingDevice</a> * streamingDevice)</div> | ||
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span>  { this->streamingDevice = streamingDevice; }</div> | ||
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span>  </div> | ||
<div class="line"><a name="l00032"></a><span class="lineno"> 32</span>  <span class="keywordtype">bool</span> <a class="code" href="classroboticslab_1_1CentroidTransform.html#a3eed406e2a69d837222f32538b4a0fe0">setTcpToCameraRotation</a>(yarp::os::Bottle * b);</div> | ||
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span>  </div> | ||
<div class="line"><a name="l00035"></a><span class="lineno"><a class="line" href="classroboticslab_1_1CentroidTransform.html#a0a8b890362b7d743b297aeaf3f589708"> 35</a></span>  <span class="keywordtype">void</span> <a class="code" href="classroboticslab_1_1CentroidTransform.html#a0a8b890362b7d743b297aeaf3f589708">setPermanenceTime</a>(<span class="keywordtype">double</span> permanenceTime)</div> | ||
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span>  { this->permanenceTime = permanenceTime; }</div> | ||
<div class="line"><a name="l00037"></a><span class="lineno"> 37</span>  </div> | ||
<div class="line"><a name="l00039"></a><span class="lineno"> 39</span>  <span class="keywordtype">bool</span> <a class="code" href="classroboticslab_1_1CentroidTransform.html#a742ffb1a068b31849f561b4fb48c4856">acceptBottle</a>(yarp::os::Bottle * b);</div> | ||
<div class="line"><a name="l00040"></a><span class="lineno"> 40</span>  </div> | ||
<div class="line"><a name="l00042"></a><span class="lineno"> 42</span>  <span class="keywordtype">bool</span> <a class="code" href="classroboticslab_1_1CentroidTransform.html#adcfe9b2f0512aa4d6af5363dd83bf036">processStoredBottle</a>() <span class="keyword">const</span>;</div> | ||
<div class="line"><a name="l00043"></a><span class="lineno"> 43</span>  </div> | ||
<div class="line"><a name="l00044"></a><span class="lineno"> 44</span> <span class="keyword">private</span>:</div> | ||
<div class="line"><a name="l00045"></a><span class="lineno"> 45</span>  <a class="code" href="classroboticslab_1_1StreamingDevice.html">StreamingDevice</a> * streamingDevice;</div> | ||
<div class="line"><a name="l00046"></a><span class="lineno"> 46</span>  <span class="keywordtype">double</span> permanenceTime;</div> | ||
<div class="line"><a name="l00047"></a><span class="lineno"> 47</span>  yarp::os::Bottle lastBottle;</div> | ||
<div class="line"><a name="l00048"></a><span class="lineno"> 48</span>  yarp::os::Stamp lastAcquisition;</div> | ||
<div class="line"><a name="l00049"></a><span class="lineno"> 49</span>  KDL::Rotation rot_tcp_camera;</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>  </div> | ||
<div class="line"><a name="l00052"></a><span class="lineno"> 52</span> } <span class="comment">// namespace roboticslab</span></div> | ||
<div class="line"><a name="l00053"></a><span class="lineno"> 53</span>  </div> | ||
<div class="line"><a name="l00054"></a><span class="lineno"> 54</span> <span class="preprocessor">#endif </span><span class="comment">// __CENTROID_TRANSFORM_HPP__</span></div> | ||
<div class="ttc" id="aclassroboticslab_1_1CentroidTransform_html"><div class="ttname"><a href="classroboticslab_1_1CentroidTransform.html">roboticslab::CentroidTransform</a></div><div class="ttdef"><b>Definition:</b> CentroidTransform.hpp:22</div></div> | ||
<div class="ttc" id="aclassroboticslab_1_1CentroidTransform_html_a0a8b890362b7d743b297aeaf3f589708"><div class="ttname"><a href="classroboticslab_1_1CentroidTransform.html#a0a8b890362b7d743b297aeaf3f589708">roboticslab::CentroidTransform::setPermanenceTime</a></div><div class="ttdeci">void setPermanenceTime(double permanenceTime)</div><div class="ttdoc">Set new permanence time.</div><div class="ttdef"><b>Definition:</b> CentroidTransform.hpp:35</div></div> | ||
<div class="ttc" id="aclassroboticslab_1_1CentroidTransform_html_a330cdceee971c24294c97a8b68d20576"><div class="ttname"><a href="classroboticslab_1_1CentroidTransform.html#a330cdceee971c24294c97a8b68d20576">roboticslab::CentroidTransform::registerStreamingDevice</a></div><div class="ttdeci">void registerStreamingDevice(StreamingDevice *streamingDevice)</div><div class="ttdoc">Register handle to device.</div><div class="ttdef"><b>Definition:</b> CentroidTransform.hpp:28</div></div> | ||
<div class="ttc" id="aclassroboticslab_1_1CentroidTransform_html_a3eed406e2a69d837222f32538b4a0fe0"><div class="ttname"><a href="classroboticslab_1_1CentroidTransform.html#a3eed406e2a69d837222f32538b4a0fe0">roboticslab::CentroidTransform::setTcpToCameraRotation</a></div><div class="ttdeci">bool setTcpToCameraRotation(yarp::os::Bottle *b)</div><div class="ttdoc">Set TCP to camera frame.</div><div class="ttdef"><b>Definition:</b> CentroidTransform.cpp:23</div></div> | ||
<div class="ttc" id="aclassroboticslab_1_1CentroidTransform_html_a742ffb1a068b31849f561b4fb48c4856"><div class="ttname"><a href="classroboticslab_1_1CentroidTransform.html#a742ffb1a068b31849f561b4fb48c4856">roboticslab::CentroidTransform::acceptBottle</a></div><div class="ttdeci">bool acceptBottle(yarp::os::Bottle *b)</div><div class="ttdoc">Register or dismiss incoming bottle.</div><div class="ttdef"><b>Definition:</b> CentroidTransform.cpp:42</div></div> | ||
<div class="ttc" id="aclassroboticslab_1_1CentroidTransform_html_aa7ec227473fdbeb23bc948c80ae7d071"><div class="ttname"><a href="classroboticslab_1_1CentroidTransform.html#aa7ec227473fdbeb23bc948c80ae7d071">roboticslab::CentroidTransform::CentroidTransform</a></div><div class="ttdeci">CentroidTransform()</div><div class="ttdoc">Constructor.</div><div class="ttdef"><b>Definition:</b> CentroidTransform.cpp:18</div></div> | ||
<div class="ttc" id="aclassroboticslab_1_1CentroidTransform_html_adcfe9b2f0512aa4d6af5363dd83bf036"><div class="ttname"><a href="classroboticslab_1_1CentroidTransform.html#adcfe9b2f0512aa4d6af5363dd83bf036">roboticslab::CentroidTransform::processStoredBottle</a></div><div class="ttdeci">bool processStoredBottle() const</div><div class="ttdoc">Process last stored bottle.</div><div class="ttdef"><b>Definition:</b> CentroidTransform.cpp:60</div></div> | ||
<div class="ttc" id="aclassroboticslab_1_1StreamingDevice_html"><div class="ttname"><a href="classroboticslab_1_1StreamingDevice.html">roboticslab::StreamingDevice</a></div><div class="ttdoc">Abstract class for a YARP streaming device.</div><div class="ttdef"><b>Definition:</b> StreamingDevice.hpp:46</div></div> | ||
<div class="ttc" id="anamespaceroboticslab_html"><div class="ttname"><a href="namespaceroboticslab.html">roboticslab</a></div><div class="ttdoc">The main, catch-all namespace for Robotics Lab UC3M.</div><div class="ttdef"><b>Definition:</b> groups.dox:6</div></div> | ||
</div><!-- fragment --></div><!-- contents --> | ||
<!-- start footer part --> | ||
<hr class="footer"/><address class="footer"><small> | ||
Generated on Fri Jun 21 2024 20:19:34 for kinematics-dynamics 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.