<html><head><meta http-equiv="Content-Type" content="text/html;charset=utf-8">
<title>area_provider: test_roi.cpp File Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
<script type="text/javascript" src="jquery.js"></script>
</head>
<body onload='searchBox.OnSelectItem(0);'>
<!-- Generated by Doxygen 1.8.17 -->
<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&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',false,false,'search.php','Search');
});
/* @license-end */</script>
<div id="main-nav"></div>
<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_13e138d54eb8818da29c3992edef070a.html">test</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">test_roi.cpp File Reference</div>  </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &lt;gtest/gtest.h&gt;</code><br />
<code>#include &lt;ros/ros.h&gt;</code><br />
<code>#include &lt;geometry_msgs/Point.h&gt;</code><br />
<code>#include &lt;nav_msgs/OccupancyGrid.h&gt;</code><br />
<code>#include &lt;std_srvs/SetBool.h&gt;</code><br />
<code>#include &quot;cpswarm_msgs/GetMultiPoints.h&quot;</code><br />
<code>#include &quot;cpswarm_msgs/GetDist.h&quot;</code><br />
<code>#include &quot;cpswarm_msgs/GetMap.h&quot;</code><br />
</div><div class="textblock"><div class="dynheader">
Include dependency graph for test_roi.cpp:</div>
<div class="dyncontent">
<div class="center"><img src="test__roi_8cpp__incl.png" border="0" usemap="#test__roi_8cpp" alt=""/></div>
<map name="test__roi_8cpp" id="test__roi_8cpp">
<area shape="rect" title=" " alt="" coords="588,5,687,32"/>
<area shape="rect" title=" " alt="" coords="5,80,109,107"/>
<area shape="rect" title=" " alt="" coords="134,80,213,107"/>
<area shape="rect" title=" " alt="" coords="237,80,413,107"/>
<area shape="rect" title=" " alt="" coords="437,80,640,107"/>
<area shape="rect" title=" " alt="" coords="665,80,807,107"/>
<area shape="rect" title=" " alt="" coords="832,80,1067,107"/>
<area shape="rect" title=" " alt="" coords="1091,80,1279,107"/>
<area shape="rect" title=" " alt="" coords="1303,80,1494,107"/>
</map>
</div>
</div>
<p><a href="test__roi_8cpp_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:a3c04138a5bfe5d72780bb7e82a18e627"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="test__roi_8cpp.html#a3c04138a5bfe5d72780bb7e82a18e627">main</a> (int argc, char **argv)</td></tr>
<tr class="memdesc:a3c04138a5bfe5d72780bb7e82a18e627"><td class="mdescLeft">&#160;</td><td class="mdescRight">Main function that runs all tests that were declared with <a class="el" href="test__roi_8cpp.html#afeccf17e5e7f3162908cdc6b74192b0b" title="Test the roi get all service.">TEST()</a>.  <a href="test__roi_8cpp.html#a3c04138a5bfe5d72780bb7e82a18e627">More...</a><br /></td></tr>
<tr class="separator:a3c04138a5bfe5d72780bb7e82a18e627"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a64eeee0b082aa60dd7f7be3088892847"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="test__roi_8cpp.html#a64eeee0b082aa60dd7f7be3088892847">print_grid</a> (nav_msgs::OccupancyGrid &amp;grid)</td></tr>
<tr class="memdesc:a64eeee0b082aa60dd7f7be3088892847"><td class="mdescLeft">&#160;</td><td class="mdescRight">Output grid data to the console for visualization/testing purpose.  <a href="test__roi_8cpp.html#a64eeee0b082aa60dd7f7be3088892847">More...</a><br /></td></tr>
<tr class="separator:a64eeee0b082aa60dd7f7be3088892847"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afeccf17e5e7f3162908cdc6b74192b0b"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="test__roi_8cpp.html#afeccf17e5e7f3162908cdc6b74192b0b">TEST</a> (NodeTestRoi, testGetAll)</td></tr>
<tr class="memdesc:afeccf17e5e7f3162908cdc6b74192b0b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Test the roi get all service.  <a href="test__roi_8cpp.html#afeccf17e5e7f3162908cdc6b74192b0b">More...</a><br /></td></tr>
<tr class="separator:afeccf17e5e7f3162908cdc6b74192b0b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a340359be379febabebbbc5b768829a23"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="test__roi_8cpp.html#a340359be379febabebbbc5b768829a23">TEST</a> (NodeTestRoi, testGetClosest)</td></tr>
<tr class="memdesc:a340359be379febabebbbc5b768829a23"><td class="mdescLeft">&#160;</td><td class="mdescRight">Test the roi get closest service.  <a href="test__roi_8cpp.html#a340359be379febabebbbc5b768829a23">More...</a><br /></td></tr>
<tr class="separator:a340359be379febabebbbc5b768829a23"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a487a747888a2c66e13bd60b722419ede"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="test__roi_8cpp.html#a487a747888a2c66e13bd60b722419ede">TEST</a> (NodeTestRoi, testGetDistance)</td></tr>
<tr class="memdesc:a487a747888a2c66e13bd60b722419ede"><td class="mdescLeft">&#160;</td><td class="mdescRight">Test the roi get distance service.  <a href="test__roi_8cpp.html#a487a747888a2c66e13bd60b722419ede">More...</a><br /></td></tr>
<tr class="separator:a487a747888a2c66e13bd60b722419ede"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6e1f565ba88734dfd8ffd917c153a028"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="test__roi_8cpp.html#a6e1f565ba88734dfd8ffd917c153a028">TEST</a> (NodeTestRoi, testGetMap)</td></tr>
<tr class="memdesc:a6e1f565ba88734dfd8ffd917c153a028"><td class="mdescLeft">&#160;</td><td class="mdescRight">Test the roi get map service.  <a href="test__roi_8cpp.html#a6e1f565ba88734dfd8ffd917c153a028">More...</a><br /></td></tr>
<tr class="separator:a6e1f565ba88734dfd8ffd917c153a028"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9d4d4cca9e1c1ba6fcf6c7e8109a0b87"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="test__roi_8cpp.html#a9d4d4cca9e1c1ba6fcf6c7e8109a0b87">TEST</a> (NodeTestRoi, testReload)</td></tr>
<tr class="memdesc:a9d4d4cca9e1c1ba6fcf6c7e8109a0b87"><td class="mdescLeft">&#160;</td><td class="mdescRight">Test the roi reload service.  <a href="test__roi_8cpp.html#a9d4d4cca9e1c1ba6fcf6c7e8109a0b87">More...</a><br /></td></tr>
<tr class="separator:a9d4d4cca9e1c1ba6fcf6c7e8109a0b87"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Function Documentation</h2>
<a id="a3c04138a5bfe5d72780bb7e82a18e627"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3c04138a5bfe5d72780bb7e82a18e627">&#9670;&nbsp;</a></span>main()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int main </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>argc</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">char **&#160;</td>
          <td class="paramname"><em>argv</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Main function that runs all tests that were declared with <a class="el" href="test__roi_8cpp.html#afeccf17e5e7f3162908cdc6b74192b0b" title="Test the roi get all service.">TEST()</a>. </p>

<p class="definition">Definition at line <a class="el" href="test__roi_8cpp_source.html#l00881">881</a> of file <a class="el" href="test__roi_8cpp_source.html">test_roi.cpp</a>.</p>

</div>
</div>
<a id="a64eeee0b082aa60dd7f7be3088892847"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a64eeee0b082aa60dd7f7be3088892847">&#9670;&nbsp;</a></span>print_grid()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void print_grid </td>
          <td>(</td>
          <td class="paramtype">nav_msgs::OccupancyGrid &amp;&#160;</td>
          <td class="paramname"><em>grid</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Output grid data to the console for visualization/testing purpose. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">grid</td><td>The occupancy grid map to visualize. </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="test__roi_8cpp_source.html#l00017">17</a> of file <a class="el" href="test__roi_8cpp_source.html">test_roi.cpp</a>.</p>

</div>
</div>
<a id="afeccf17e5e7f3162908cdc6b74192b0b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afeccf17e5e7f3162908cdc6b74192b0b">&#9670;&nbsp;</a></span>TEST() <span class="overload">[1/5]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">TEST </td>
          <td>(</td>
          <td class="paramtype">NodeTestRoi&#160;</td>
          <td class="paramname">, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">testGetAll&#160;</td>
          <td class="paramname">&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Test the roi get all service. </p>

<p class="definition">Definition at line <a class="el" href="test__roi_8cpp_source.html#l00058">58</a> of file <a class="el" href="test__roi_8cpp_source.html">test_roi.cpp</a>.</p>

</div>
</div>
<a id="a340359be379febabebbbc5b768829a23"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a340359be379febabebbbc5b768829a23">&#9670;&nbsp;</a></span>TEST() <span class="overload">[2/5]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">TEST </td>
          <td>(</td>
          <td class="paramtype">NodeTestRoi&#160;</td>
          <td class="paramname">, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">testGetClosest&#160;</td>
          <td class="paramname">&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Test the roi get closest service. </p>

<p class="definition">Definition at line <a class="el" href="test__roi_8cpp_source.html#l00144">144</a> of file <a class="el" href="test__roi_8cpp_source.html">test_roi.cpp</a>.</p>

</div>
</div>
<a id="a487a747888a2c66e13bd60b722419ede"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a487a747888a2c66e13bd60b722419ede">&#9670;&nbsp;</a></span>TEST() <span class="overload">[3/5]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">TEST </td>
          <td>(</td>
          <td class="paramtype">NodeTestRoi&#160;</td>
          <td class="paramname">, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">testGetDistance&#160;</td>
          <td class="paramname">&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Test the roi get distance service. </p>

<p class="definition">Definition at line <a class="el" href="test__roi_8cpp_source.html#l00289">289</a> of file <a class="el" href="test__roi_8cpp_source.html">test_roi.cpp</a>.</p>

</div>
</div>
<a id="a6e1f565ba88734dfd8ffd917c153a028"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6e1f565ba88734dfd8ffd917c153a028">&#9670;&nbsp;</a></span>TEST() <span class="overload">[4/5]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">TEST </td>
          <td>(</td>
          <td class="paramtype">NodeTestRoi&#160;</td>
          <td class="paramname">, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">testGetMap&#160;</td>
          <td class="paramname">&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Test the roi get map service. </p>

<p class="definition">Definition at line <a class="el" href="test__roi_8cpp_source.html#l00388">388</a> of file <a class="el" href="test__roi_8cpp_source.html">test_roi.cpp</a>.</p>

</div>
</div>
<a id="a9d4d4cca9e1c1ba6fcf6c7e8109a0b87"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9d4d4cca9e1c1ba6fcf6c7e8109a0b87">&#9670;&nbsp;</a></span>TEST() <span class="overload">[5/5]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">TEST </td>
          <td>(</td>
          <td class="paramtype">NodeTestRoi&#160;</td>
          <td class="paramname">, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">testReload&#160;</td>
          <td class="paramname">&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Test the roi reload service. </p>

<p class="definition">Definition at line <a class="el" href="test__roi_8cpp_source.html#l00708">708</a> of file <a class="el" href="test__roi_8cpp_source.html">test_roi.cpp</a>.</p>

</div>
</div>
</div><!-- contents -->

<br clear="all" />
<hr size="1"><div style="align: right;">
<a href="http://wiki.ros.org/area_provider">area_provider</a><br />
Author(s): Micha Sende <sende@lakeside-labs.com></br />
<small>autogenerated on Mon Jan 10 2022 15:13:45</small>
</div>
</body>
</html>
