Project

General

Profile

Statistics
| Revision:

root / trunk / docs / libwireless / sensor__matrix_8c.html @ 1427

History | View | Annotate | Download (6.49 KB)

1 1425 cmar
<!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 1380 cmar
<title>libwireless: sensor_matrix.c File Reference</title>
6 1425 cmar
<link href="tabs.css" rel="stylesheet" type="text/css"/>
7
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
8
</head>
9
<body>
10
<!-- Generated by Doxygen 1.6.1 -->
11 1380 cmar
<div class="navigation" id="top">
12
  <div class="tabs">
13
    <ul>
14
      <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
15
      <li><a href="modules.html"><span>Modules</span></a></li>
16
      <li><a href="annotated.html"><span>Data&nbsp;Structures</span></a></li>
17
      <li class="current"><a href="files.html"><span>Files</span></a></li>
18
    </ul>
19
  </div>
20
  <div class="tabs">
21
    <ul>
22
      <li><a href="files.html"><span>File&nbsp;List</span></a></li>
23
      <li><a href="globals.html"><span>Globals</span></a></li>
24
    </ul>
25
  </div>
26
</div>
27
<div class="contents">
28 1425 cmar
<h1>sensor_matrix.c File Reference</h1>
29
<p>Sensor Matrix implementation.
30
<a href="#_details">More...</a></p>
31
<code>#include &lt;stdlib.h&gt;</code><br/>
32
<code>#include &lt;stdio.h&gt;</code><br/>
33
<code>#include &lt;<a class="el" href="wl__defs_8h_source.html">wl_defs.h</a>&gt;</code><br/>
34
<code>#include &quot;<a class="el" href="sensor__matrix_8h_source.html">sensor_matrix.h</a>&quot;</code><br/>
35 1380 cmar
<table border="0" cellpadding="0" cellspacing="0">
36 1425 cmar
<tr><td colspan="2"><h2>Functions</h2></td></tr>
37
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__sensormatrix.html#ga09523e52546e7929288795e1e5f0f9a8">sensor_matrix_create</a> ()</td></tr>
38
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Create a sensor matrix.  <a href="group__sensormatrix.html#ga09523e52546e7929288795e1e5f0f9a8"></a><br/></td></tr>
39
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__sensormatrix.html#gaf251d97aeb23af9156c0527692819da7">sensor_matrix_set_reading</a> (int observer, int robot, int reading)</td></tr>
40
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Set a reading in a sensor matrix.  <a href="group__sensormatrix.html#gaf251d97aeb23af9156c0527692819da7"></a><br/></td></tr>
41
<tr><td class="memItemLeft" align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__sensormatrix.html#ga031d5a4d15603e57379aad22da36e300">sensor_matrix_get_reading</a> (int observer, int robot)</td></tr>
42
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get a reading in a sensor matrix.  <a href="group__sensormatrix.html#ga031d5a4d15603e57379aad22da36e300"></a><br/></td></tr>
43
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__sensormatrix.html#gaea879c1d5f8a8a079066d8df005f3549">sensor_matrix_set_in_ring</a> (int robot, int in)</td></tr>
44
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Set whether the robot is in the token ring.  <a href="group__sensormatrix.html#gaea879c1d5f8a8a079066d8df005f3549"></a><br/></td></tr>
45
<tr><td class="memItemLeft" align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__sensormatrix.html#gac668dfe28e56b5a314789d395eda3b27">sensor_matrix_get_in_ring</a> (int robot)</td></tr>
46
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get whether the robot is in the sensor ring.  <a href="group__sensormatrix.html#gac668dfe28e56b5a314789d395eda3b27"></a><br/></td></tr>
47
<tr><td class="memItemLeft" align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__sensormatrix.html#ga3545800eec0adba2fc63604206b8fb24">sensor_matrix_get_joined</a> (void)</td></tr>
48
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get the number of robots which have joined the token ring.  <a href="group__sensormatrix.html#ga3545800eec0adba2fc63604206b8fb24"></a><br/></td></tr>
49
<tr><td class="memItemLeft" align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__sensormatrix.html#gaa22a0851d1886ca29fc32e0692502f2d">sensor_matrix_get_size</a> (void)</td></tr>
50
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get the maximum size of the sensor matrix.  <a href="group__sensormatrix.html#gaa22a0851d1886ca29fc32e0692502f2d"></a><br/></td></tr>
51
<tr><td colspan="2"><h2>Variables</h2></td></tr>
52
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ac091168317c73360daa8b5d366e5ae0f"></a><!-- doxytag: member="sensor_matrix.c::m" ref="ac091168317c73360daa8b5d366e5ae0f" args="" -->
53 1380 cmar
<a class="el" href="structSensorMatrix.html">SensorMatrix</a>&nbsp;</td><td class="memItemRight" valign="bottom"><b>m</b></td></tr>
54
</table>
55 1425 cmar
<hr/><a name="_details"></a><h2>Detailed Description</h2>
56
<p>Sensor Matrix implementation. </p>
57
<p>Copyright (c) 2007 Colony Project</p>
58
<p>Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:</p>
59
<p>The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.</p>
60
<p>THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.</p>
61
<p>Implementation of a sensor matrix for storing localization implementation.</p>
62
<dl class="author"><dt><b>Author:</b></dt><dd>Brian Coltin, Colony Project, CMU Robotics Club </dd></dl>
63 1380 cmar
</div>
64 1427 cmar
<hr size="1"/><address style="text-align: right;"><small>Generated on Wed Sep 23 12:51:07 2009 for libwireless by&nbsp;
65 1380 cmar
<a href="http://www.doxygen.org/index.html">
66 1425 cmar
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.1 </small></address>
67 1380 cmar
</body>
68
</html>