Revision 52
Updated libwireless to include new token ring functions.
trunk/docs/libwireless/hierarchy.html | ||
---|---|---|
24 | 24 |
<li><a class="el" href="structQueue.html">Queue</a> |
25 | 25 |
<li><a class="el" href="structSensorMatrix.html">SensorMatrix</a> |
26 | 26 |
</ul> |
27 |
<hr size="1"><address style="align: right;"><small>Generated on Mon Sep 10 22:13:04 2007 for libwireless by
|
|
27 |
<hr size="1"><address style="align: right;"><small>Generated on Fri Sep 21 12:57:06 2007 for libwireless by
|
|
28 | 28 |
<a href="http://www.doxygen.org/index.html"> |
29 | 29 |
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.6 </small></address> |
30 | 30 |
</body> |
trunk/docs/libwireless/wl__defs_8h-source.html | ||
---|---|---|
82 | 82 |
<a name="l00063"></a>00063 <span class="preprocessor"></span> |
83 | 83 |
<a name="l00064"></a>00064 <span class="preprocessor">#endif</span> |
84 | 84 |
<a name="l00065"></a>00065 <span class="preprocessor"></span> |
85 |
</pre></div><hr size="1"><address style="align: right;"><small>Generated on Mon Sep 10 22:13:04 2007 for libwireless by
|
|
85 |
</pre></div><hr size="1"><address style="align: right;"><small>Generated on Fri Sep 21 12:57:06 2007 for libwireless by
|
|
86 | 86 |
<a href="http://www.doxygen.org/index.html"> |
87 | 87 |
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.6 </small></address> |
88 | 88 |
</body> |
trunk/docs/libwireless/queue_8h.html | ||
---|---|---|
54 | 54 |
<p> |
55 | 55 |
Implements a queue, a first in, first out data structure.<p> |
56 | 56 |
<dl compact><dt><b>Author:</b></dt><dd>Brian Coltin, Colony Project </dd></dl> |
57 |
<hr size="1"><address style="align: right;"><small>Generated on Mon Sep 10 22:13:04 2007 for libwireless by
|
|
57 |
<hr size="1"><address style="align: right;"><small>Generated on Fri Sep 21 12:57:06 2007 for libwireless by
|
|
58 | 58 |
<a href="http://www.doxygen.org/index.html"> |
59 | 59 |
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.6 </small></address> |
60 | 60 |
</body> |
trunk/docs/libwireless/globals_defs.html | ||
---|---|---|
37 | 37 |
: <a class="el" href="group__xbee.html#ge6bb9bb274d6750f954762454807a5a7">xbee.h</a><li>XBEE_RX |
38 | 38 |
: <a class="el" href="group__xbee.html#gc2b1262a3a1eb4a9f7ead366af71c32c">xbee.h</a><li>XBEE_TX_STATUS |
39 | 39 |
: <a class="el" href="group__xbee.html#g7840d8b64c8bec12d8b8d32e845a638a">xbee.h</a></ul> |
40 |
<hr size="1"><address style="align: right;"><small>Generated on Mon Sep 10 22:13:04 2007 for libwireless by
|
|
40 |
<hr size="1"><address style="align: right;"><small>Generated on Fri Sep 21 12:57:06 2007 for libwireless by
|
|
41 | 41 |
<a href="http://www.doxygen.org/index.html"> |
42 | 42 |
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.6 </small></address> |
43 | 43 |
</body> |
trunk/docs/libwireless/structPacketGroupHandler.html | ||
---|---|---|
174 | 174 |
</table> |
175 | 175 |
<hr>The documentation for this struct was generated from the following file:<ul> |
176 | 176 |
<li><a class="el" href="wireless_8h-source.html">wireless.h</a></ul> |
177 |
<hr size="1"><address style="align: right;"><small>Generated on Mon Sep 10 22:13:04 2007 for libwireless by
|
|
177 |
<hr size="1"><address style="align: right;"><small>Generated on Fri Sep 21 12:57:06 2007 for libwireless by
|
|
178 | 178 |
<a href="http://www.doxygen.org/index.html"> |
179 | 179 |
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.6 </small></address> |
180 | 180 |
</body> |
trunk/docs/libwireless/structQueue.html | ||
---|---|---|
108 | 108 |
</table> |
109 | 109 |
<hr>The documentation for this struct was generated from the following file:<ul> |
110 | 110 |
<li><a class="el" href="queue_8h-source.html">queue.h</a></ul> |
111 |
<hr size="1"><address style="align: right;"><small>Generated on Mon Sep 10 22:13:04 2007 for libwireless by
|
|
111 |
<hr size="1"><address style="align: right;"><small>Generated on Fri Sep 21 12:57:06 2007 for libwireless by
|
|
112 | 112 |
<a href="http://www.doxygen.org/index.html"> |
113 | 113 |
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.6 </small></address> |
114 | 114 |
</body> |
trunk/docs/libwireless/sensor__matrix_8h-source.html | ||
---|---|---|
38 | 38 |
<a name="l00066"></a>00066 <span class="keywordtype">int</span> <a class="code" href="group__sensormatrix.html#g48353450a17126cffa44bd894f087621">sensor_matrix_get_joined</a>(<a class="code" href="structSensorMatrix.html">SensorMatrix</a>* m); |
39 | 39 |
<a name="l00067"></a>00067 <span class="comment">//end defgroup</span> |
40 | 40 |
<a name="l00069"></a>00069 |
41 |
</pre></div><hr size="1"><address style="align: right;"><small>Generated on Mon Sep 10 22:13:04 2007 for libwireless by
|
|
41 |
</pre></div><hr size="1"><address style="align: right;"><small>Generated on Fri Sep 21 12:57:06 2007 for libwireless by
|
|
42 | 42 |
<a href="http://www.doxygen.org/index.html"> |
43 | 43 |
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.6 </small></address> |
44 | 44 |
</body> |
trunk/docs/libwireless/wireless_8h-source.html | ||
---|---|---|
55 | 55 |
<a name="l00119"></a>00119 <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="group__wireless.html#g90cb41c855ac3da028e8f1278bd49f4f">wl_get_xbee_id</a>(<span class="keywordtype">void</span>); |
56 | 56 |
<a name="l00120"></a>00120 <span class="comment">// end defgroup</span> |
57 | 57 |
<a name="l00122"></a>00122 |
58 |
</pre></div><hr size="1"><address style="align: right;"><small>Generated on Mon Sep 10 22:13:04 2007 for libwireless by
|
|
58 |
</pre></div><hr size="1"><address style="align: right;"><small>Generated on Fri Sep 21 12:57:06 2007 for libwireless by
|
|
59 | 59 |
<a href="http://www.doxygen.org/index.html"> |
60 | 60 |
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.6 </small></address> |
61 | 61 |
</body> |
trunk/docs/libwireless/wireless_8h.html | ||
---|---|---|
115 | 115 |
The maximum number of packet groups. </td> |
116 | 116 |
</tr> |
117 | 117 |
</table> |
118 |
<hr size="1"><address style="align: right;"><small>Generated on Mon Sep 10 22:13:04 2007 for libwireless by
|
|
118 |
<hr size="1"><address style="align: right;"><small>Generated on Fri Sep 21 12:57:06 2007 for libwireless by
|
|
119 | 119 |
<a href="http://www.doxygen.org/index.html"> |
120 | 120 |
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.6 </small></address> |
121 | 121 |
</body> |
trunk/docs/libwireless/wl__token__ring_8h-source.html | ||
---|---|---|
25 | 25 |
<a name="l00029"></a>00029 <span class="keywordtype">void</span> <a class="code" href="group__tokenring.html#gbdb1e2258d1c69086692d2d31e02fb27">wl_token_ring_join</a>(<span class="keywordtype">void</span>); |
26 | 26 |
<a name="l00031"></a>00031 <span class="keywordtype">void</span> <a class="code" href="group__tokenring.html#g6c2dd8742e100f63d4fb002707d1e85a">wl_token_ring_leave</a>(<span class="keywordtype">void</span>); |
27 | 27 |
<a name="l00033"></a>00033 <span class="keywordtype">void</span> <a class="code" href="group__tokenring.html#g23b4e34098b6fc32dc55ccab7fe17b5b">wl_token_request</a>(<span class="keywordtype">int</span> robot); |
28 |
<a name="l00035"></a>00035 <span class="keywordtype">int</span> <a class="code" href="group__tokenring.html#gb4afd4b8e034d22d415f3c4a42a652fc">wl_token_get_sensor_reading</a>(<span class="keywordtype">int</span> source, <span class="keywordtype">int</span> dest); |
|
29 |
<a name="l00037"></a>00037 <span class="keywordtype">int</span> <a class="code" href="group__tokenring.html#g1938c1d79dd9438dcd413d6d26372877">wl_token_get_my_sensor_reading</a>(<span class="keywordtype">int</span> dest); |
|
30 |
<a name="l00038"></a>00038 <span class="comment">//end token ring group</span> |
|
31 |
<a name="l00040"></a>00040 |
|
32 |
</pre></div><hr size="1"><address style="align: right;"><small>Generated on Mon Sep 10 22:13:04 2007 for libwireless by |
|
28 |
<a name="l00034"></a>00034 |
|
29 |
<a name="l00036"></a>00036 <span class="keywordtype">int</span> <a class="code" href="group__tokenring.html#g0c61bb8892aa5513706e00cd8ce5ca8b">wl_token_get_robots_in_ring</a>(<span class="keywordtype">void</span>); |
|
30 |
<a name="l00038"></a>00038 <span class="keywordtype">int</span> <a class="code" href="group__tokenring.html#g14e005f0b9582eca7e3585f247c4cd72">wl_token_is_robot_in_ring</a>(<span class="keywordtype">int</span> robot); |
|
31 |
<a name="l00039"></a>00039 |
|
32 |
<a name="l00041"></a>00041 <span class="keywordtype">void</span> <a class="code" href="group__tokenring.html#g37ab9fb00e9eef273b4d0fcda81a2620">wl_token_iterator_begin</a>(<span class="keywordtype">void</span>); |
|
33 |
<a name="l00043"></a>00043 <span class="keywordtype">int</span> <a class="code" href="group__tokenring.html#gbd7dc40ee796a67e1160b2b2b8e7d02f">wl_token_iterator_has_next</a>(<span class="keywordtype">void</span>); |
|
34 |
<a name="l00045"></a>00045 <span class="keywordtype">int</span> <a class="code" href="group__tokenring.html#gd9196324178877770d8ffc91d40893c3">wl_token_iterator_next</a>(<span class="keywordtype">void</span>); |
|
35 |
<a name="l00046"></a>00046 |
|
36 |
<a name="l00048"></a>00048 <span class="keywordtype">int</span> <a class="code" href="group__tokenring.html#gb4afd4b8e034d22d415f3c4a42a652fc">wl_token_get_sensor_reading</a>(<span class="keywordtype">int</span> source, <span class="keywordtype">int</span> dest); |
|
37 |
<a name="l00050"></a>00050 <span class="keywordtype">int</span> <a class="code" href="group__tokenring.html#g1938c1d79dd9438dcd413d6d26372877">wl_token_get_my_sensor_reading</a>(<span class="keywordtype">int</span> dest); |
|
38 |
<a name="l00051"></a>00051 <span class="comment">//end token ring group</span> |
|
39 |
<a name="l00053"></a>00053 |
|
40 |
</pre></div><hr size="1"><address style="align: right;"><small>Generated on Fri Sep 21 12:57:06 2007 for libwireless by |
|
33 | 41 |
<a href="http://www.doxygen.org/index.html"> |
34 | 42 |
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.6 </small></address> |
35 | 43 |
</body> |
trunk/docs/libwireless/group__xbee.html | ||
---|---|---|
359 | 359 |
Call when finished using the XBee library. This releases all sued resources. </td> |
360 | 360 |
</tr> |
361 | 361 |
</table> |
362 |
<hr size="1"><address style="align: right;"><small>Generated on Mon Sep 10 22:13:04 2007 for libwireless by
|
|
362 |
<hr size="1"><address style="align: right;"><small>Generated on Fri Sep 21 12:57:06 2007 for libwireless by
|
|
363 | 363 |
<a href="http://www.doxygen.org/index.html"> |
364 | 364 |
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.6 </small></address> |
365 | 365 |
</body> |
trunk/docs/libwireless/wl__token__ring_8h.html | ||
---|---|---|
42 | 42 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group__tokenring.html#g23b4e34098b6fc32dc55ccab7fe17b5b">wl_token_request</a> (int robot)</td></tr> |
43 | 43 |
|
44 | 44 |
<tr><td class="mdescLeft"> </td><td class="mdescRight">Request a BOM flash from the specified robot. <a href="group__tokenring.html#g23b4e34098b6fc32dc55ccab7fe17b5b"></a><br></td></tr> |
45 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__tokenring.html#g0c61bb8892aa5513706e00cd8ce5ca8b">wl_token_get_robots_in_ring</a> (void)</td></tr> |
|
46 |
|
|
47 |
<tr><td class="mdescLeft"> </td><td class="mdescRight">Return the number of robots in the token ring. <a href="group__tokenring.html#g0c61bb8892aa5513706e00cd8ce5ca8b"></a><br></td></tr> |
|
48 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__tokenring.html#g14e005f0b9582eca7e3585f247c4cd72">wl_token_is_robot_in_ring</a> (int robot)</td></tr> |
|
49 |
|
|
50 |
<tr><td class="mdescLeft"> </td><td class="mdescRight">Return whether a given robot is in the token ring. <a href="group__tokenring.html#g14e005f0b9582eca7e3585f247c4cd72"></a><br></td></tr> |
|
51 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group__tokenring.html#g37ab9fb00e9eef273b4d0fcda81a2620">wl_token_iterator_begin</a> (void)</td></tr> |
|
52 |
|
|
53 |
<tr><td class="mdescLeft"> </td><td class="mdescRight">Begin iterating through robots in the token ring. <a href="group__tokenring.html#g37ab9fb00e9eef273b4d0fcda81a2620"></a><br></td></tr> |
|
54 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__tokenring.html#gbd7dc40ee796a67e1160b2b2b8e7d02f">wl_token_iterator_has_next</a> (void)</td></tr> |
|
55 |
|
|
56 |
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns whether there are more robots to iterate through. <a href="group__tokenring.html#gbd7dc40ee796a67e1160b2b2b8e7d02f"></a><br></td></tr> |
|
57 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__tokenring.html#gd9196324178877770d8ffc91d40893c3">wl_token_iterator_next</a> (void)</td></tr> |
|
58 |
|
|
59 |
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the ID of the next robot in the token ring. <a href="group__tokenring.html#gd9196324178877770d8ffc91d40893c3"></a><br></td></tr> |
|
45 | 60 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__tokenring.html#gb4afd4b8e034d22d415f3c4a42a652fc">wl_token_get_sensor_reading</a> (int source, int dest)</td></tr> |
46 | 61 |
|
47 | 62 |
<tr><td class="mdescLeft"> </td><td class="mdescRight">Return the latest BOM reading between two robots. <a href="group__tokenring.html#gb4afd4b8e034d22d415f3c4a42a652fc"></a><br></td></tr> |
... | ... | |
54 | 69 |
<p> |
55 | 70 |
Contains declarations for the token ring packet group.<p> |
56 | 71 |
<dl compact><dt><b>Author:</b></dt><dd>Brian Coltin, Colony Project, CMU Robotics Club </dd></dl> |
57 |
<hr size="1"><address style="align: right;"><small>Generated on Mon Sep 10 22:13:04 2007 for libwireless by
|
|
72 |
<hr size="1"><address style="align: right;"><small>Generated on Fri Sep 21 12:57:06 2007 for libwireless by
|
|
58 | 73 |
<a href="http://www.doxygen.org/index.html"> |
59 | 74 |
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.6 </small></address> |
60 | 75 |
</body> |
trunk/docs/libwireless/globals_func.html | ||
---|---|---|
71 | 71 |
: <a class="el" href="group__wireless.html#ga7175b13dbfc0b11b341fbe0ad7c637c">wireless.h</a><li>wl_send_robot_to_robot_packet() |
72 | 72 |
: <a class="el" href="group__wireless.html#gafaca74445d215cef2b2e0ae1a1c72ba">wireless.h</a><li>wl_terminate() |
73 | 73 |
: <a class="el" href="group__wireless.html#g66075ff87a1c9f2c0d7938a26c7830f2">wireless.h</a><li>wl_token_get_my_sensor_reading() |
74 |
: <a class="el" href="group__tokenring.html#g1938c1d79dd9438dcd413d6d26372877">wl_token_ring.h</a><li>wl_token_get_sensor_reading() |
|
75 |
: <a class="el" href="group__tokenring.html#gb4afd4b8e034d22d415f3c4a42a652fc">wl_token_ring.h</a><li>wl_token_request() |
|
74 |
: <a class="el" href="group__tokenring.html#g1938c1d79dd9438dcd413d6d26372877">wl_token_ring.h</a><li>wl_token_get_robots_in_ring() |
|
75 |
: <a class="el" href="group__tokenring.html#g0c61bb8892aa5513706e00cd8ce5ca8b">wl_token_ring.h</a><li>wl_token_get_sensor_reading() |
|
76 |
: <a class="el" href="group__tokenring.html#gb4afd4b8e034d22d415f3c4a42a652fc">wl_token_ring.h</a><li>wl_token_is_robot_in_ring() |
|
77 |
: <a class="el" href="group__tokenring.html#g14e005f0b9582eca7e3585f247c4cd72">wl_token_ring.h</a><li>wl_token_iterator_begin() |
|
78 |
: <a class="el" href="group__tokenring.html#g37ab9fb00e9eef273b4d0fcda81a2620">wl_token_ring.h</a><li>wl_token_iterator_has_next() |
|
79 |
: <a class="el" href="group__tokenring.html#gbd7dc40ee796a67e1160b2b2b8e7d02f">wl_token_ring.h</a><li>wl_token_iterator_next() |
|
80 |
: <a class="el" href="group__tokenring.html#gd9196324178877770d8ffc91d40893c3">wl_token_ring.h</a><li>wl_token_request() |
|
76 | 81 |
: <a class="el" href="group__tokenring.html#g23b4e34098b6fc32dc55ccab7fe17b5b">wl_token_ring.h</a><li>wl_token_ring_join() |
77 | 82 |
: <a class="el" href="group__tokenring.html#gbdb1e2258d1c69086692d2d31e02fb27">wl_token_ring.h</a><li>wl_token_ring_leave() |
78 | 83 |
: <a class="el" href="group__tokenring.html#g6c2dd8742e100f63d4fb002707d1e85a">wl_token_ring.h</a><li>wl_token_ring_register() |
... | ... | |
89 | 94 |
: <a class="el" href="group__xbee.html#g3a3b8ce040002ab2b1a0923950b2f3c4">xbee.h</a><li>xbee_set_pan_id() |
90 | 95 |
: <a class="el" href="group__xbee.html#g832f07915e1ffa8afefcd378deead1cd">xbee.h</a><li>xbee_terminate() |
91 | 96 |
: <a class="el" href="group__xbee.html#g9334ac71dca1ddd697b1a35a361ade6a">xbee.h</a></ul> |
92 |
<hr size="1"><address style="align: right;"><small>Generated on Mon Sep 10 22:13:04 2007 for libwireless by
|
|
97 |
<hr size="1"><address style="align: right;"><small>Generated on Fri Sep 21 12:57:06 2007 for libwireless by
|
|
93 | 98 |
<a href="http://www.doxygen.org/index.html"> |
94 | 99 |
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.6 </small></address> |
95 | 100 |
</body> |
trunk/docs/libwireless/structSensorMatrix.html | ||
---|---|---|
133 | 133 |
</table> |
134 | 134 |
<hr>The documentation for this struct was generated from the following file:<ul> |
135 | 135 |
<li><a class="el" href="sensor__matrix_8h-source.html">sensor_matrix.h</a></ul> |
136 |
<hr size="1"><address style="align: right;"><small>Generated on Mon Sep 10 22:13:04 2007 for libwireless by
|
|
136 |
<hr size="1"><address style="align: right;"><small>Generated on Fri Sep 21 12:57:06 2007 for libwireless by
|
|
137 | 137 |
<a href="http://www.doxygen.org/index.html"> |
138 | 138 |
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.6 </small></address> |
139 | 139 |
</body> |
trunk/docs/libwireless/structnode__def.html | ||
---|---|---|
78 | 78 |
</table> |
79 | 79 |
<hr>The documentation for this struct was generated from the following file:<ul> |
80 | 80 |
<li>queue.c</ul> |
81 |
<hr size="1"><address style="align: right;"><small>Generated on Mon Sep 10 22:13:04 2007 for libwireless by
|
|
81 |
<hr size="1"><address style="align: right;"><small>Generated on Fri Sep 21 12:57:06 2007 for libwireless by
|
|
82 | 82 |
<a href="http://www.doxygen.org/index.html"> |
83 | 83 |
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.6 </small></address> |
84 | 84 |
</body> |
trunk/docs/libwireless/functions.html | ||
---|---|---|
41 | 41 |
: <a class="el" href="structPacketGroupHandler.html#952b4b63982db13f55c02e17c55ab5ac">PacketGroupHandler</a><li>unregister |
42 | 42 |
: <a class="el" href="structPacketGroupHandler.html#c03247d5c07e97e35b1f557c0937b0eb">PacketGroupHandler</a><li>val |
43 | 43 |
: <a class="el" href="structnode__def.html#ee93810ffd33d69d464b1f6a33d9ffab">node_def</a></ul> |
44 |
<hr size="1"><address style="align: right;"><small>Generated on Mon Sep 10 22:13:04 2007 for libwireless by
|
|
44 |
<hr size="1"><address style="align: right;"><small>Generated on Fri Sep 21 12:57:06 2007 for libwireless by
|
|
45 | 45 |
<a href="http://www.doxygen.org/index.html"> |
46 | 46 |
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.6 </small></address> |
47 | 47 |
</body> |
trunk/docs/libwireless/group__sensormatrix.html | ||
---|---|---|
504 | 504 |
</td> |
505 | 505 |
</tr> |
506 | 506 |
</table> |
507 |
<hr size="1"><address style="align: right;"><small>Generated on Mon Sep 10 22:13:04 2007 for libwireless by
|
|
507 |
<hr size="1"><address style="align: right;"><small>Generated on Fri Sep 21 12:57:06 2007 for libwireless by
|
|
508 | 508 |
<a href="http://www.doxygen.org/index.html"> |
509 | 509 |
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.6 </small></address> |
510 | 510 |
</body> |
trunk/docs/libwireless/group__tokenring.html | ||
---|---|---|
34 | 34 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group__tokenring.html#g23b4e34098b6fc32dc55ccab7fe17b5b">wl_token_request</a> (int robot)</td></tr> |
35 | 35 |
|
36 | 36 |
<tr><td class="mdescLeft"> </td><td class="mdescRight">Request a BOM flash from the specified robot. <a href="#g23b4e34098b6fc32dc55ccab7fe17b5b"></a><br></td></tr> |
37 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__tokenring.html#g0c61bb8892aa5513706e00cd8ce5ca8b">wl_token_get_robots_in_ring</a> (void)</td></tr> |
|
38 |
|
|
39 |
<tr><td class="mdescLeft"> </td><td class="mdescRight">Return the number of robots in the token ring. <a href="#g0c61bb8892aa5513706e00cd8ce5ca8b"></a><br></td></tr> |
|
40 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__tokenring.html#g14e005f0b9582eca7e3585f247c4cd72">wl_token_is_robot_in_ring</a> (int robot)</td></tr> |
|
41 |
|
|
42 |
<tr><td class="mdescLeft"> </td><td class="mdescRight">Return whether a given robot is in the token ring. <a href="#g14e005f0b9582eca7e3585f247c4cd72"></a><br></td></tr> |
|
43 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group__tokenring.html#g37ab9fb00e9eef273b4d0fcda81a2620">wl_token_iterator_begin</a> (void)</td></tr> |
|
44 |
|
|
45 |
<tr><td class="mdescLeft"> </td><td class="mdescRight">Begin iterating through robots in the token ring. <a href="#g37ab9fb00e9eef273b4d0fcda81a2620"></a><br></td></tr> |
|
46 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__tokenring.html#gbd7dc40ee796a67e1160b2b2b8e7d02f">wl_token_iterator_has_next</a> (void)</td></tr> |
|
47 |
|
|
48 |
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns whether there are more robots to iterate through. <a href="#gbd7dc40ee796a67e1160b2b2b8e7d02f"></a><br></td></tr> |
|
49 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__tokenring.html#gd9196324178877770d8ffc91d40893c3">wl_token_iterator_next</a> (void)</td></tr> |
|
50 |
|
|
51 |
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the ID of the next robot in the token ring. <a href="#gd9196324178877770d8ffc91d40893c3"></a><br></td></tr> |
|
37 | 52 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__tokenring.html#gb4afd4b8e034d22d415f3c4a42a652fc">wl_token_get_sensor_reading</a> (int source, int dest)</td></tr> |
38 | 53 |
|
39 | 54 |
<tr><td class="mdescLeft"> </td><td class="mdescRight">Return the latest BOM reading between two robots. <a href="#gb4afd4b8e034d22d415f3c4a42a652fc"></a><br></td></tr> |
... | ... | |
82 | 97 |
</td> |
83 | 98 |
</tr> |
84 | 99 |
</table> |
100 |
<a class="anchor" name="g0c61bb8892aa5513706e00cd8ce5ca8b"></a><!-- doxytag: member="wl_token_ring.h::wl_token_get_robots_in_ring" ref="g0c61bb8892aa5513706e00cd8ce5ca8b" args="(void)" --><p> |
|
101 |
<table class="mdTable" cellpadding="2" cellspacing="0"> |
|
102 |
<tr> |
|
103 |
<td class="mdRow"> |
|
104 |
<table cellpadding="0" cellspacing="0" border="0"> |
|
105 |
<tr> |
|
106 |
<td class="md" nowrap valign="top">int wl_token_get_robots_in_ring </td> |
|
107 |
<td class="md" valign="top">( </td> |
|
108 |
<td class="md" nowrap valign="top">void </td> |
|
109 |
<td class="mdname1" valign="top" nowrap> </td> |
|
110 |
<td class="md" valign="top"> ) </td> |
|
111 |
<td class="md" nowrap></td> |
|
112 |
</tr> |
|
113 |
</table> |
|
114 |
</td> |
|
115 |
</tr> |
|
116 |
</table> |
|
117 |
<table cellspacing="5" cellpadding="0" border="0"> |
|
118 |
<tr> |
|
119 |
<td> |
|
120 |
|
|
121 |
</td> |
|
122 |
<td> |
|
123 |
|
|
124 |
<p> |
|
125 |
Return the number of robots in the token ring. |
|
126 |
<p> |
|
127 |
Returns the number of robots in the token ring.<p> |
|
128 |
<dl compact><dt><b>Returns:</b></dt><dd>the number of robots in the token ring </dd></dl> |
|
129 |
</td> |
|
130 |
</tr> |
|
131 |
</table> |
|
85 | 132 |
<a class="anchor" name="gb4afd4b8e034d22d415f3c4a42a652fc"></a><!-- doxytag: member="wl_token_ring.h::wl_token_get_sensor_reading" ref="gb4afd4b8e034d22d415f3c4a42a652fc" args="(int source, int dest)" --><p> |
86 | 133 |
<table class="mdTable" cellpadding="2" cellspacing="0"> |
87 | 134 |
<tr> |
... | ... | |
129 | 176 |
</td> |
130 | 177 |
</tr> |
131 | 178 |
</table> |
179 |
<a class="anchor" name="g14e005f0b9582eca7e3585f247c4cd72"></a><!-- doxytag: member="wl_token_ring.h::wl_token_is_robot_in_ring" ref="g14e005f0b9582eca7e3585f247c4cd72" args="(int robot)" --><p> |
|
180 |
<table class="mdTable" cellpadding="2" cellspacing="0"> |
|
181 |
<tr> |
|
182 |
<td class="mdRow"> |
|
183 |
<table cellpadding="0" cellspacing="0" border="0"> |
|
184 |
<tr> |
|
185 |
<td class="md" nowrap valign="top">int wl_token_is_robot_in_ring </td> |
|
186 |
<td class="md" valign="top">( </td> |
|
187 |
<td class="md" nowrap valign="top">int </td> |
|
188 |
<td class="mdname1" valign="top" nowrap> <em>robot</em> </td> |
|
189 |
<td class="md" valign="top"> ) </td> |
|
190 |
<td class="md" nowrap></td> |
|
191 |
</tr> |
|
192 |
</table> |
|
193 |
</td> |
|
194 |
</tr> |
|
195 |
</table> |
|
196 |
<table cellspacing="5" cellpadding="0" border="0"> |
|
197 |
<tr> |
|
198 |
<td> |
|
199 |
|
|
200 |
</td> |
|
201 |
<td> |
|
202 |
|
|
203 |
<p> |
|
204 |
Return whether a given robot is in the token ring. |
|
205 |
<p> |
|
206 |
Returns true if the specified robot is in the token ring, false otherwise.<p> |
|
207 |
<dl compact><dt><b>Parameters:</b></dt><dd> |
|
208 |
<table border="0" cellspacing="2" cellpadding="0"> |
|
209 |
<tr><td valign="top"></td><td valign="top"><em>robot</em> </td><td>the robot to check for whether it is in the token ring </td></tr> |
|
210 |
</table> |
|
211 |
</dl> |
|
212 |
<dl compact><dt><b>Returns:</b></dt><dd>nonzero if the robot is in the token ring, zero otherwise </dd></dl> |
|
213 |
</td> |
|
214 |
</tr> |
|
215 |
</table> |
|
216 |
<a class="anchor" name="g37ab9fb00e9eef273b4d0fcda81a2620"></a><!-- doxytag: member="wl_token_ring.h::wl_token_iterator_begin" ref="g37ab9fb00e9eef273b4d0fcda81a2620" args="(void)" --><p> |
|
217 |
<table class="mdTable" cellpadding="2" cellspacing="0"> |
|
218 |
<tr> |
|
219 |
<td class="mdRow"> |
|
220 |
<table cellpadding="0" cellspacing="0" border="0"> |
|
221 |
<tr> |
|
222 |
<td class="md" nowrap valign="top">void wl_token_iterator_begin </td> |
|
223 |
<td class="md" valign="top">( </td> |
|
224 |
<td class="md" nowrap valign="top">void </td> |
|
225 |
<td class="mdname1" valign="top" nowrap> </td> |
|
226 |
<td class="md" valign="top"> ) </td> |
|
227 |
<td class="md" nowrap></td> |
|
228 |
</tr> |
|
229 |
</table> |
|
230 |
</td> |
|
231 |
</tr> |
|
232 |
</table> |
|
233 |
<table cellspacing="5" cellpadding="0" border="0"> |
|
234 |
<tr> |
|
235 |
<td> |
|
236 |
|
|
237 |
</td> |
|
238 |
<td> |
|
239 |
|
|
240 |
<p> |
|
241 |
Begin iterating through robots in the token ring. |
|
242 |
<p> |
|
243 |
Begins iterating through the robots in the token ring.<p> |
|
244 |
<dl compact><dt><b>See also:</b></dt><dd><a class="el" href="group__tokenring.html#gbd7dc40ee796a67e1160b2b2b8e7d02f">wl_token_iterator_has_next</a>, <a class="el" href="group__tokenring.html#gd9196324178877770d8ffc91d40893c3">wl_token_iterator_next</a> </dd></dl> |
|
245 |
</td> |
|
246 |
</tr> |
|
247 |
</table> |
|
248 |
<a class="anchor" name="gbd7dc40ee796a67e1160b2b2b8e7d02f"></a><!-- doxytag: member="wl_token_ring.h::wl_token_iterator_has_next" ref="gbd7dc40ee796a67e1160b2b2b8e7d02f" args="(void)" --><p> |
|
249 |
<table class="mdTable" cellpadding="2" cellspacing="0"> |
|
250 |
<tr> |
|
251 |
<td class="mdRow"> |
|
252 |
<table cellpadding="0" cellspacing="0" border="0"> |
|
253 |
<tr> |
|
254 |
<td class="md" nowrap valign="top">int wl_token_iterator_has_next </td> |
|
255 |
<td class="md" valign="top">( </td> |
|
256 |
<td class="md" nowrap valign="top">void </td> |
|
257 |
<td class="mdname1" valign="top" nowrap> </td> |
|
258 |
<td class="md" valign="top"> ) </td> |
|
259 |
<td class="md" nowrap></td> |
|
260 |
</tr> |
|
261 |
</table> |
|
262 |
</td> |
|
263 |
</tr> |
|
264 |
</table> |
|
265 |
<table cellspacing="5" cellpadding="0" border="0"> |
|
266 |
<tr> |
|
267 |
<td> |
|
268 |
|
|
269 |
</td> |
|
270 |
<td> |
|
271 |
|
|
272 |
<p> |
|
273 |
Returns whether there are more robots to iterate through. |
|
274 |
<p> |
|
275 |
Returns true if there are more robots in the token ring to iterate through, and false otherwise.<p> |
|
276 |
<dl compact><dt><b>Returns:</b></dt><dd>nonzero if there are more robots to iterate through, zero otherwise</dd></dl> |
|
277 |
<dl compact><dt><b>See also:</b></dt><dd><a class="el" href="group__tokenring.html#g37ab9fb00e9eef273b4d0fcda81a2620">wl_token_iterator_begin</a>, <a class="el" href="group__tokenring.html#gd9196324178877770d8ffc91d40893c3">wl_token_iterator_next</a> </dd></dl> |
|
278 |
</td> |
|
279 |
</tr> |
|
280 |
</table> |
|
281 |
<a class="anchor" name="gd9196324178877770d8ffc91d40893c3"></a><!-- doxytag: member="wl_token_ring.h::wl_token_iterator_next" ref="gd9196324178877770d8ffc91d40893c3" args="(void)" --><p> |
|
282 |
<table class="mdTable" cellpadding="2" cellspacing="0"> |
|
283 |
<tr> |
|
284 |
<td class="mdRow"> |
|
285 |
<table cellpadding="0" cellspacing="0" border="0"> |
|
286 |
<tr> |
|
287 |
<td class="md" nowrap valign="top">int wl_token_iterator_next </td> |
|
288 |
<td class="md" valign="top">( </td> |
|
289 |
<td class="md" nowrap valign="top">void </td> |
|
290 |
<td class="mdname1" valign="top" nowrap> </td> |
|
291 |
<td class="md" valign="top"> ) </td> |
|
292 |
<td class="md" nowrap></td> |
|
293 |
</tr> |
|
294 |
</table> |
|
295 |
</td> |
|
296 |
</tr> |
|
297 |
</table> |
|
298 |
<table cellspacing="5" cellpadding="0" border="0"> |
|
299 |
<tr> |
|
300 |
<td> |
|
301 |
|
|
302 |
</td> |
|
303 |
<td> |
|
304 |
|
|
305 |
<p> |
|
306 |
Returns the ID of the next robot in the token ring. |
|
307 |
<p> |
|
308 |
Returns the next robot ID in the token ring.<p> |
|
309 |
<dl compact><dt><b>Returns:</b></dt><dd>the next robot ID in the token ring, or -1 if none exists</dd></dl> |
|
310 |
<dl compact><dt><b>See also:</b></dt><dd><a class="el" href="group__tokenring.html#g37ab9fb00e9eef273b4d0fcda81a2620">wl_token_iterator_begin</a>, <a class="el" href="group__tokenring.html#gbd7dc40ee796a67e1160b2b2b8e7d02f">wl_token_iterator_has_next</a> </dd></dl> |
|
311 |
</td> |
|
312 |
</tr> |
|
313 |
</table> |
|
132 | 314 |
<a class="anchor" name="g23b4e34098b6fc32dc55ccab7fe17b5b"></a><!-- doxytag: member="wl_token_ring.h::wl_token_request" ref="g23b4e34098b6fc32dc55ccab7fe17b5b" args="(int robot)" --><p> |
133 | 315 |
<table class="mdTable" cellpadding="2" cellspacing="0"> |
134 | 316 |
<tr> |
... | ... | |
338 | 520 |
Removes the packet group from the wireless library. </td> |
339 | 521 |
</tr> |
340 | 522 |
</table> |
341 |
<hr size="1"><address style="align: right;"><small>Generated on Mon Sep 10 22:13:04 2007 for libwireless by
|
|
523 |
<hr size="1"><address style="align: right;"><small>Generated on Fri Sep 21 12:57:06 2007 for libwireless by
|
|
342 | 524 |
<a href="http://www.doxygen.org/index.html"> |
343 | 525 |
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.6 </small></address> |
344 | 526 |
</body> |
trunk/docs/libwireless/annotated.html | ||
---|---|---|
24 | 24 |
<tr><td class="indexkey"><a class="el" href="structQueue.html">Queue</a></td><td class="indexvalue"></td></tr> |
25 | 25 |
<tr><td class="indexkey"><a class="el" href="structSensorMatrix.html">SensorMatrix</a></td><td class="indexvalue"></td></tr> |
26 | 26 |
</table> |
27 |
<hr size="1"><address style="align: right;"><small>Generated on Mon Sep 10 22:13:04 2007 for libwireless by
|
|
27 |
<hr size="1"><address style="align: right;"><small>Generated on Fri Sep 21 12:57:06 2007 for libwireless by
|
|
28 | 28 |
<a href="http://www.doxygen.org/index.html"> |
29 | 29 |
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.6 </small></address> |
30 | 30 |
</body> |
trunk/docs/libwireless/xbee_8h-source.html | ||
---|---|---|
43 | 43 |
<a name="l00052"></a>00052 <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="group__xbee.html#g7c53e8a8492494a61ca306875d633309">xbee_get_address</a>(<span class="keywordtype">void</span>); |
44 | 44 |
<a name="l00053"></a>00053 <span class="comment">//end defgroup</span> |
45 | 45 |
<a name="l00055"></a>00055 |
46 |
</pre></div><hr size="1"><address style="align: right;"><small>Generated on Mon Sep 10 22:13:04 2007 for libwireless by
|
|
46 |
</pre></div><hr size="1"><address style="align: right;"><small>Generated on Fri Sep 21 12:57:06 2007 for libwireless by
|
|
47 | 47 |
<a href="http://www.doxygen.org/index.html"> |
48 | 48 |
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.6 </small></address> |
49 | 49 |
</body> |
trunk/docs/libwireless/queue_8h-source.html | ||
---|---|---|
35 | 35 |
<a name="l00052"></a>00052 <span class="keywordtype">int</span> <a class="code" href="group__queue.html#g97ae0b085c41d49c8a24e1e506967f9b">queue_size</a>(<a class="code" href="structQueue.html">Queue</a>* q); |
36 | 36 |
<a name="l00054"></a>00054 <span class="keywordtype">int</span> <a class="code" href="group__queue.html#ga67a7f9940e9bbf21320a6f41e60998e">queue_is_empty</a>(<a class="code" href="structQueue.html">Queue</a>* q); |
37 | 37 |
<a name="l00055"></a>00055 |
38 |
</pre></div><hr size="1"><address style="align: right;"><small>Generated on Mon Sep 10 22:13:04 2007 for libwireless by
|
|
38 |
</pre></div><hr size="1"><address style="align: right;"><small>Generated on Fri Sep 21 12:57:06 2007 for libwireless by
|
|
39 | 39 |
<a href="http://www.doxygen.org/index.html"> |
40 | 40 |
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.6 </small></address> |
41 | 41 |
</body> |
trunk/docs/libwireless/xbee_8h.html | ||
---|---|---|
80 | 80 |
<p> |
81 | 81 |
Contains definitions for interfacing with the XBee module, from either a robot or a computer. To use a robot, define ROBOT in <a class="el" href="wl__defs_8h-source.html">wl_defs.h</a>, and to use a computer, don't define ROBOT.<p> |
82 | 82 |
<dl compact><dt><b>Author:</b></dt><dd>Brian Coltin, Colony Project, CMU Robotics Club </dd></dl> |
83 |
<hr size="1"><address style="align: right;"><small>Generated on Mon Sep 10 22:13:04 2007 for libwireless by
|
|
83 |
<hr size="1"><address style="align: right;"><small>Generated on Fri Sep 21 12:57:06 2007 for libwireless by
|
|
84 | 84 |
<a href="http://www.doxygen.org/index.html"> |
85 | 85 |
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.6 </small></address> |
86 | 86 |
</body> |
trunk/docs/libwireless/globals.html | ||
---|---|---|
73 | 73 |
: <a class="el" href="group__wireless.html#ga7175b13dbfc0b11b341fbe0ad7c637c">wireless.h</a><li>wl_send_robot_to_robot_packet() |
74 | 74 |
: <a class="el" href="group__wireless.html#gafaca74445d215cef2b2e0ae1a1c72ba">wireless.h</a><li>wl_terminate() |
75 | 75 |
: <a class="el" href="group__wireless.html#g66075ff87a1c9f2c0d7938a26c7830f2">wireless.h</a><li>wl_token_get_my_sensor_reading() |
76 |
: <a class="el" href="group__tokenring.html#g1938c1d79dd9438dcd413d6d26372877">wl_token_ring.h</a><li>wl_token_get_sensor_reading() |
|
77 |
: <a class="el" href="group__tokenring.html#gb4afd4b8e034d22d415f3c4a42a652fc">wl_token_ring.h</a><li>wl_token_request() |
|
76 |
: <a class="el" href="group__tokenring.html#g1938c1d79dd9438dcd413d6d26372877">wl_token_ring.h</a><li>wl_token_get_robots_in_ring() |
|
77 |
: <a class="el" href="group__tokenring.html#g0c61bb8892aa5513706e00cd8ce5ca8b">wl_token_ring.h</a><li>wl_token_get_sensor_reading() |
|
78 |
: <a class="el" href="group__tokenring.html#gb4afd4b8e034d22d415f3c4a42a652fc">wl_token_ring.h</a><li>wl_token_is_robot_in_ring() |
|
79 |
: <a class="el" href="group__tokenring.html#g14e005f0b9582eca7e3585f247c4cd72">wl_token_ring.h</a><li>wl_token_iterator_begin() |
|
80 |
: <a class="el" href="group__tokenring.html#g37ab9fb00e9eef273b4d0fcda81a2620">wl_token_ring.h</a><li>wl_token_iterator_has_next() |
|
81 |
: <a class="el" href="group__tokenring.html#gbd7dc40ee796a67e1160b2b2b8e7d02f">wl_token_ring.h</a><li>wl_token_iterator_next() |
|
82 |
: <a class="el" href="group__tokenring.html#gd9196324178877770d8ffc91d40893c3">wl_token_ring.h</a><li>wl_token_request() |
|
78 | 83 |
: <a class="el" href="group__tokenring.html#g23b4e34098b6fc32dc55ccab7fe17b5b">wl_token_ring.h</a><li>wl_token_ring_join() |
79 | 84 |
: <a class="el" href="group__tokenring.html#gbdb1e2258d1c69086692d2d31e02fb27">wl_token_ring.h</a><li>wl_token_ring_leave() |
80 | 85 |
: <a class="el" href="group__tokenring.html#g6c2dd8742e100f63d4fb002707d1e85a">wl_token_ring.h</a><li>wl_token_ring_register() |
... | ... | |
98 | 103 |
: <a class="el" href="group__xbee.html#g832f07915e1ffa8afefcd378deead1cd">xbee.h</a><li>xbee_terminate() |
99 | 104 |
: <a class="el" href="group__xbee.html#g9334ac71dca1ddd697b1a35a361ade6a">xbee.h</a><li>XBEE_TX_STATUS |
100 | 105 |
: <a class="el" href="group__xbee.html#g7840d8b64c8bec12d8b8d32e845a638a">xbee.h</a></ul> |
101 |
<hr size="1"><address style="align: right;"><small>Generated on Mon Sep 10 22:13:04 2007 for libwireless by
|
|
106 |
<hr size="1"><address style="align: right;"><small>Generated on Fri Sep 21 12:57:06 2007 for libwireless by
|
|
102 | 107 |
<a href="http://www.doxygen.org/index.html"> |
103 | 108 |
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.6 </small></address> |
104 | 109 |
</body> |
trunk/docs/libwireless/sensor__matrix_8h.html | ||
---|---|---|
63 | 63 |
<p> |
64 | 64 |
Contains functions and declarations for using sensor matrices.<p> |
65 | 65 |
<dl compact><dt><b>Author:</b></dt><dd>Brian Coltin, Colony Project, CMU Robotics Club </dd></dl> |
66 |
<hr size="1"><address style="align: right;"><small>Generated on Mon Sep 10 22:13:04 2007 for libwireless by
|
|
66 |
<hr size="1"><address style="align: right;"><small>Generated on Fri Sep 21 12:57:06 2007 for libwireless by
|
|
67 | 67 |
<a href="http://www.doxygen.org/index.html"> |
68 | 68 |
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.6 </small></address> |
69 | 69 |
</body> |
trunk/docs/libwireless/group__queue.html | ||
---|---|---|
318 | 318 |
</td> |
319 | 319 |
</tr> |
320 | 320 |
</table> |
321 |
<hr size="1"><address style="align: right;"><small>Generated on Mon Sep 10 22:13:04 2007 for libwireless by
|
|
321 |
<hr size="1"><address style="align: right;"><small>Generated on Fri Sep 21 12:57:06 2007 for libwireless by
|
|
322 | 322 |
<a href="http://www.doxygen.org/index.html"> |
323 | 323 |
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.6 </small></address> |
324 | 324 |
</body> |
trunk/docs/libwireless/files.html | ||
---|---|---|
26 | 26 |
<tr><td class="indexkey"><a class="el" href="wl__token__ring_8h.html">wl_token_ring.h</a> <a href="wl__token__ring_8h-source.html">[code]</a></td><td class="indexvalue">Declarations for the token ring packet group </td></tr> |
27 | 27 |
<tr><td class="indexkey"><a class="el" href="xbee_8h.html">xbee.h</a> <a href="xbee_8h-source.html">[code]</a></td><td class="indexvalue">Contains definitions for using the XBee </td></tr> |
28 | 28 |
</table> |
29 |
<hr size="1"><address style="align: right;"><small>Generated on Mon Sep 10 22:13:04 2007 for libwireless by
|
|
29 |
<hr size="1"><address style="align: right;"><small>Generated on Fri Sep 21 12:57:06 2007 for libwireless by
|
|
30 | 30 |
<a href="http://www.doxygen.org/index.html"> |
31 | 31 |
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.6 </small></address> |
32 | 32 |
</body> |
trunk/docs/libwireless/wl__error__group_8h-source.html | ||
---|---|---|
23 | 23 |
<a name="l00025"></a>00025 <span class="keywordtype">void</span> <a class="code" href="group__wlerror.html#g01c7382a758876fce52c18a3e6c81534">wl_error_send_string</a>(<span class="keywordtype">char</span>* str); |
24 | 24 |
<a name="l00026"></a>00026 <span class="comment">// end defgroup</span> |
25 | 25 |
<a name="l00028"></a>00028 |
26 |
</pre></div><hr size="1"><address style="align: right;"><small>Generated on Mon Sep 10 22:13:04 2007 for libwireless by
|
|
26 |
</pre></div><hr size="1"><address style="align: right;"><small>Generated on Fri Sep 21 12:57:06 2007 for libwireless by
|
|
27 | 27 |
<a href="http://www.doxygen.org/index.html"> |
28 | 28 |
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.6 </small></address> |
29 | 29 |
</body> |
trunk/docs/libwireless/functions_vars.html | ||
---|---|---|
41 | 41 |
: <a class="el" href="structPacketGroupHandler.html#952b4b63982db13f55c02e17c55ab5ac">PacketGroupHandler</a><li>unregister |
42 | 42 |
: <a class="el" href="structPacketGroupHandler.html#c03247d5c07e97e35b1f557c0937b0eb">PacketGroupHandler</a><li>val |
43 | 43 |
: <a class="el" href="structnode__def.html#ee93810ffd33d69d464b1f6a33d9ffab">node_def</a></ul> |
44 |
<hr size="1"><address style="align: right;"><small>Generated on Mon Sep 10 22:13:04 2007 for libwireless by
|
|
44 |
<hr size="1"><address style="align: right;"><small>Generated on Fri Sep 21 12:57:06 2007 for libwireless by
|
|
45 | 45 |
<a href="http://www.doxygen.org/index.html"> |
46 | 46 |
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.6 </small></address> |
47 | 47 |
</body> |
trunk/docs/libwireless/wl__error__group_8h.html | ||
---|---|---|
39 | 39 |
<p> |
40 | 40 |
A packet group for sending and receiving error messages.<p> |
41 | 41 |
<dl compact><dt><b>Author:</b></dt><dd>Brian Coltin, Colony Project, CMU Robotics Club </dd></dl> |
42 |
<hr size="1"><address style="align: right;"><small>Generated on Mon Sep 10 22:13:04 2007 for libwireless by
|
|
42 |
<hr size="1"><address style="align: right;"><small>Generated on Fri Sep 21 12:57:06 2007 for libwireless by
|
|
43 | 43 |
<a href="http://www.doxygen.org/index.html"> |
44 | 44 |
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.6 </small></address> |
45 | 45 |
</body> |
trunk/docs/libwireless/index.html | ||
---|---|---|
14 | 14 |
</ul></div> |
15 | 15 |
<h1>libwireless Documentation</h1> |
16 | 16 |
<p> |
17 |
<h3 align="center">1.0 </h3><hr size="1"><address style="align: right;"><small>Generated on Mon Sep 10 22:13:04 2007 for libwireless by
|
|
17 |
<h3 align="center">1.0 </h3><hr size="1"><address style="align: right;"><small>Generated on Fri Sep 21 12:57:06 2007 for libwireless by
|
|
18 | 18 |
<a href="http://www.doxygen.org/index.html"> |
19 | 19 |
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.6 </small></address> |
20 | 20 |
</body> |
trunk/docs/libwireless/group__wlerror.html | ||
---|---|---|
128 | 128 |
</td> |
129 | 129 |
</tr> |
130 | 130 |
</table> |
131 |
<hr size="1"><address style="align: right;"><small>Generated on Mon Sep 10 22:13:04 2007 for libwireless by
|
|
131 |
<hr size="1"><address style="align: right;"><small>Generated on Fri Sep 21 12:57:06 2007 for libwireless by
|
|
132 | 132 |
<a href="http://www.doxygen.org/index.html"> |
133 | 133 |
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.6 </small></address> |
134 | 134 |
</body> |
trunk/docs/libwireless/modules.html | ||
---|---|---|
20 | 20 |
<li><a class="el" href="group__tokenring.html">Token Ring</a> |
21 | 21 |
<li><a class="el" href="group__xbee.html">XBee</a> |
22 | 22 |
</ul> |
23 |
<hr size="1"><address style="align: right;"><small>Generated on Mon Sep 10 22:13:04 2007 for libwireless by
|
|
23 |
<hr size="1"><address style="align: right;"><small>Generated on Fri Sep 21 12:57:06 2007 for libwireless by
|
|
24 | 24 |
<a href="http://www.doxygen.org/index.html"> |
25 | 25 |
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.6 </small></address> |
26 | 26 |
</body> |
trunk/docs/libwireless/group__wireless.html | ||
---|---|---|
538 | 538 |
</td> |
539 | 539 |
</tr> |
540 | 540 |
</table> |
541 |
<hr size="1"><address style="align: right;"><small>Generated on Mon Sep 10 22:13:04 2007 for libwireless by
|
|
541 |
<hr size="1"><address style="align: right;"><small>Generated on Fri Sep 21 12:57:06 2007 for libwireless by
|
|
542 | 542 |
<a href="http://www.doxygen.org/index.html"> |
543 | 543 |
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.6 </small></address> |
544 | 544 |
</body> |
trunk/code/lib/include/libwireless/wl_token_ring.h | ||
---|---|---|
31 | 31 |
void wl_token_ring_leave(void); |
32 | 32 |
/**@brief Request a BOM flash from the specified robot **/ |
33 | 33 |
void wl_token_request(int robot); |
34 |
|
|
35 |
/**@brief Return the number of robots in the token ring **/ |
|
36 |
int wl_token_get_robots_in_ring(void); |
|
37 |
/**@brief Return whether a given robot is in the token ring **/ |
|
38 |
int wl_token_is_robot_in_ring(int robot); |
|
39 |
|
|
40 |
/**@brief Begin iterating through robots in the token ring **/ |
|
41 |
void wl_token_iterator_begin(void); |
|
42 |
/**@brief Returns whether there are more robots to iterate through **/ |
|
43 |
int wl_token_iterator_has_next(void); |
|
44 |
/**@brief Returns the ID of the next robot in the token ring **/ |
|
45 |
int wl_token_iterator_next(void); |
|
46 |
|
|
34 | 47 |
/**@brief Return the latest BOM reading between two robots **/ |
35 | 48 |
int wl_token_get_sensor_reading(int source, int dest); |
36 | 49 |
/**@brief Return the latest BOM reading between us and another robot **/ |
trunk/code/lib/src/libwireless/wl_token_ring.c | ||
---|---|---|
70 | 70 |
//queue containing ids of interruption requests |
71 | 71 |
Queue* interrupting = NULL; |
72 | 72 |
|
73 |
//current robot to check in the iterator |
|
74 |
int iteratorCount = 0; |
|
75 |
|
|
73 | 76 |
#ifdef ROBOT |
74 | 77 |
void (*bom_on_function) (void) = bom_on; |
75 | 78 |
void (*bom_off_function) (void) = bom_off; |
... | ... | |
705 | 708 |
} |
706 | 709 |
|
707 | 710 |
/** |
711 |
* Returns the number of robots in the token ring. |
|
712 |
* |
|
713 |
* @return the number of robots in the token ring |
|
714 |
**/ |
|
715 |
int wl_token_get_robots_in_ring(void) |
|
716 |
{ |
|
717 |
return sensor_matrix_get_joined(sensorMatrix); |
|
718 |
} |
|
719 |
|
|
720 |
/** |
|
721 |
* Returns true if the specified robot is in the token ring, false |
|
722 |
* otherwise. |
|
723 |
* |
|
724 |
* @param robot the robot to check for whether it is in the token ring |
|
725 |
* @return nonzero if the robot is in the token ring, zero otherwise |
|
726 |
**/ |
|
727 |
int wl_token_is_robot_in_ring(int robot) |
|
728 |
{ |
|
729 |
return sensor_matrix_get_in_ring(sensorMatrix, robot); |
|
730 |
} |
|
731 |
|
|
732 |
/** |
|
733 |
* Begins iterating through the robots in the token ring. |
|
734 |
* |
|
735 |
* @see wl_token_iterator_has_next, wl_token_iterator_next |
|
736 |
**/ |
|
737 |
void wl_token_iterator_begin(void) |
|
738 |
{ |
|
739 |
int i; |
|
740 |
iteratorCount = 0; |
|
741 |
while (!sensor_matrix_get_in_ring(sensorMatrix, i) && |
|
742 |
i < sensor_matrix_get_size(sensorMatrix)) |
|
743 |
i++; |
|
744 |
if (i == sensor_matrix_get_size(sensorMatrix)) |
|
745 |
i = -1; |
|
746 |
} |
|
747 |
|
|
748 |
/** |
|
749 |
* Returns true if there are more robots in the token ring |
|
750 |
* to iterate through, and false otherwise. |
|
751 |
* |
|
752 |
* @return nonzero if there are more robots to iterate through, |
|
753 |
* zero otherwise |
|
754 |
* |
|
755 |
* @see wl_token_iterator_begin, wl_token_iterator_next |
|
756 |
**/ |
|
757 |
int wl_token_iterator_has_next(void) |
|
758 |
{ |
|
759 |
return iteratorCount == -1; |
|
760 |
} |
|
761 |
|
|
762 |
/** |
|
763 |
* Returns the next robot ID in the token ring. |
|
764 |
* |
|
765 |
* @return the next robot ID in the token ring, or -1 if none exists |
|
766 |
* |
|
767 |
* @see wl_token_iterator_begin, wl_token_iterator_has_next |
|
768 |
**/ |
|
769 |
int wl_token_iterator_next(void) |
|
770 |
{ |
|
771 |
int result = iteratorCount; |
|
772 |
if (result < 0) |
|
773 |
return result; |
|
774 |
|
|
775 |
iteratorCount++; |
|
776 |
while (!sensor_matrix_get_in_ring(sensorMatrix, iteratorCount) && |
|
777 |
iteratorCount < sensor_matrix_get_size(sensorMatrix)) |
|
778 |
iteratorCount++; |
|
779 |
if (iteratorCount == sensor_matrix_get_size(sensorMatrix)) |
|
780 |
iteratorCount = -1; |
|
781 |
return result; |
|
782 |
} |
|
783 |
|
|
784 |
/** |
|
708 | 785 |
* Called when we receive a request to interrupt the token ring. |
709 | 786 |
* We add the robot to our list of interrupt requests, |
710 | 787 |
* and will send the token to this robot when we next receive the |
trunk/code/projects/libwireless/robotTest/Makefile | ||
---|---|---|
114 | 114 |
|
115 | 115 |
|
116 | 116 |
# Place -I options here |
117 |
CINCS = -I../lib -I../../libs_general/libdragonfly -L../lib -L../../libs_general/libdragonfly
|
|
117 |
CINCS = -I../lib -I../../../lib/include/libdragonfly -L../lib -L../../../lib/bin
|
|
118 | 118 |
|
119 | 119 |
|
120 | 120 |
|
... | ... | |
211 | 211 |
AVRDUDE_PROGRAMMER = avrisp |
212 | 212 |
|
213 | 213 |
# com1 = serial port. Use lpt1 to connect to parallel port. |
214 |
AVRDUDE_PORT = com4
|
|
214 |
AVRDUDE_PORT = /dev/ttyUSB1
|
|
215 | 215 |
# programmer connected to serial device |
216 | 216 |
|
217 | 217 |
AVRDUDE_WRITE_FLASH = -b 57600 -U flash:w:$(TARGET).hex |
... | ... | |
239 | 239 |
|
240 | 240 |
#don't check for device signature |
241 | 241 |
AVRDUDE_FLAGS += -F |
242 |
AVRDUDE_FLAGS += -D |
|
242 | 243 |
|
243 | 244 |
|
244 | 245 |
|
trunk/code/projects/libwireless/lib/wl_token_ring.c | ||
---|---|---|
70 | 70 |
//queue containing ids of interruption requests |
71 | 71 |
Queue* interrupting = NULL; |
72 | 72 |
|
73 |
//current robot to check in the iterator |
|
74 |
int iteratorCount = 0; |
|
75 |
|
|
73 | 76 |
#ifdef ROBOT |
74 | 77 |
void (*bom_on_function) (void) = bom_on; |
75 | 78 |
void (*bom_off_function) (void) = bom_off; |
... | ... | |
705 | 708 |
} |
706 | 709 |
|
707 | 710 |
/** |
711 |
* Returns the number of robots in the token ring. |
|
712 |
* |
|
713 |
* @return the number of robots in the token ring |
|
714 |
**/ |
|
715 |
int wl_token_get_robots_in_ring(void) |
|
716 |
{ |
|
717 |
return sensor_matrix_get_joined(sensorMatrix); |
|
718 |
} |
|
719 |
|
|
720 |
/** |
|
721 |
* Returns true if the specified robot is in the token ring, false |
|
722 |
* otherwise. |
|
723 |
* |
|
724 |
* @param robot the robot to check for whether it is in the token ring |
|
725 |
* @return nonzero if the robot is in the token ring, zero otherwise |
|
726 |
**/ |
|
727 |
int wl_token_is_robot_in_ring(int robot) |
|
728 |
{ |
|
729 |
return sensor_matrix_get_in_ring(sensorMatrix, robot); |
|
730 |
} |
|
731 |
|
|
732 |
/** |
|
733 |
* Begins iterating through the robots in the token ring. |
|
734 |
* |
|
735 |
* @see wl_token_iterator_has_next, wl_token_iterator_next |
|
736 |
**/ |
|
737 |
void wl_token_iterator_begin(void) |
|
738 |
{ |
|
739 |
int i; |
|
740 |
iteratorCount = 0; |
|
741 |
while (!sensor_matrix_get_in_ring(sensorMatrix, i) && |
|
742 |
i < sensor_matrix_get_size(sensorMatrix)) |
|
743 |
i++; |
|
744 |
if (i == sensor_matrix_get_size(sensorMatrix)) |
|
745 |
i = -1; |
|
746 |
} |
|
747 |
|
|
748 |
/** |
|
749 |
* Returns true if there are more robots in the token ring |
|
750 |
* to iterate through, and false otherwise. |
|
751 |
* |
|
752 |
* @return nonzero if there are more robots to iterate through, |
|
753 |
* zero otherwise |
|
754 |
* |
|
755 |
* @see wl_token_iterator_begin, wl_token_iterator_next |
|
756 |
**/ |
|
757 |
int wl_token_iterator_has_next(void) |
|
758 |
{ |
|
759 |
return iteratorCount == -1; |
|
760 |
} |
|
761 |
|
|
762 |
/** |
|
763 |
* Returns the next robot ID in the token ring. |
|
764 |
* |
|
765 |
* @return the next robot ID in the token ring, or -1 if none exists |
|
766 |
* |
|
767 |
* @see wl_token_iterator_begin, wl_token_iterator_has_next |
|
768 |
**/ |
|
769 |
int wl_token_iterator_next(void) |
|
770 |
{ |
|
771 |
int result = iteratorCount; |
|
772 |
if (result < 0) |
|
773 |
return result; |
|
774 |
|
|
775 |
iteratorCount++; |
|
776 |
while (!sensor_matrix_get_in_ring(sensorMatrix, iteratorCount) && |
|
777 |
iteratorCount < sensor_matrix_get_size(sensorMatrix)) |
|
778 |
iteratorCount++; |
|
779 |
if (iteratorCount == sensor_matrix_get_size(sensorMatrix)) |
|
780 |
iteratorCount = -1; |
|
781 |
return result; |
|
782 |
} |
|
783 |
|
|
784 |
/** |
|
708 | 785 |
* Called when we receive a request to interrupt the token ring. |
709 | 786 |
* We add the robot to our list of interrupt requests, |
710 | 787 |
* and will send the token to this robot when we next receive the |
trunk/code/projects/libwireless/lib/wl_token_ring.h | ||
---|---|---|
31 | 31 |
void wl_token_ring_leave(void); |
32 | 32 |
/**@brief Request a BOM flash from the specified robot **/ |
33 | 33 |
void wl_token_request(int robot); |
34 |
|
|
35 |
/**@brief Return the number of robots in the token ring **/ |
|
36 |
int wl_token_get_robots_in_ring(void); |
|
37 |
/**@brief Return whether a given robot is in the token ring **/ |
|
38 |
int wl_token_is_robot_in_ring(int robot); |
|
39 |
|
|
40 |
/**@brief Begin iterating through robots in the token ring **/ |
|
41 |
void wl_token_iterator_begin(void); |
|
42 |
/**@brief Returns whether there are more robots to iterate through **/ |
|
43 |
int wl_token_iterator_has_next(void); |
|
44 |
/**@brief Returns the ID of the next robot in the token ring **/ |
|
45 |
int wl_token_iterator_next(void); |
|
46 |
|
|
34 | 47 |
/**@brief Return the latest BOM reading between two robots **/ |
35 | 48 |
int wl_token_get_sensor_reading(int source, int dest); |
36 | 49 |
/**@brief Return the latest BOM reading between us and another robot **/ |
Also available in: Unified diff