123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101 |
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://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.8.13"/>
- <meta name="viewport" content="width=device-width, initial-scale=1"/>
- <title>Bibliotheques TP RT: definitions.h 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="navtree.css" rel="stylesheet" type="text/css"/>
- <script type="text/javascript" src="resize.js"></script>
- <script type="text/javascript" src="navtreedata.js"></script>
- <script type="text/javascript" src="navtree.js"></script>
- <script type="text/javascript">
- $(document).ready(initResizable);
- </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>
- <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="projectlogo"><img alt="Logo" src="robot-icon.resized.png"/></td>
- <td id="projectalign" style="padding-left: 0.5em;">
- <div id="projectname">Bibliotheques TP RT
-  <span id="projectnumber">1.0</span>
- </div>
- <div id="projectbrief">Bibliotheque de support pour TP/RT</div>
- </td>
- </tr>
- </tbody>
- </table>
- </div>
- <!-- end header part -->
- <!-- Generated by Doxygen 1.8.13 -->
- <script type="text/javascript">
- var searchBox = new SearchBox("searchBox", "search",false,'Search');
- </script>
- <script type="text/javascript" src="menudata.js"></script>
- <script type="text/javascript" src="menu.js"></script>
- <script type="text/javascript">
- $(function() {
- initMenu('',true,false,'search.php','Search');
- $(document).ready(function() { init_search(); });
- });
- </script>
- <div id="main-nav"></div>
- </div><!-- top -->
- <div id="side-nav" class="ui-resizable side-nav-resizable">
- <div id="nav-tree">
- <div id="nav-tree-contents">
- <div id="nav-sync" class="sync"></div>
- </div>
- </div>
- <div id="splitbar" style="-moz-user-select:none;"
- class="ui-resizable-handle">
- </div>
- </div>
- <script type="text/javascript">
- $(document).ready(function(){initNavTree('definitions_8h_source.html','');});
- </script>
- <div id="doc-content">
- <!-- 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 class="header">
- <div class="headertitle">
- <div class="title">definitions.h</div> </div>
- </div><!--header-->
- <div class="contents">
- <a href="definitions_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="comment">/*</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment"> * Copyright (C) 2018 dimercur</span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment"> *</span></div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment"> * This program is free software: you can redistribute it and/or modify</span></div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment"> * it under the terms of the GNU General Public License as published by</span></div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment"> * the Free Software Foundation, either version 3 of the License, or</span></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment"> * (at your option) any later version.</span></div><div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="comment"> *</span></div><div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="comment"> * This program is distributed in the hope that it will be useful,</span></div><div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="comment"> * but WITHOUT ANY WARRANTY; without even the implied warranty of</span></div><div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="comment"> * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the</span></div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="comment"> * GNU General Public License for more details.</span></div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span> <span class="comment"> *</span></div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="comment"> * You should have received a copy of the GNU General Public License</span></div><div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <span class="comment"> * along with this program. If not, see <http://www.gnu.org/licenses/>.</span></div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span> <span class="comment"> */</span></div><div class="line"><a name="l00017"></a><span class="lineno"> 17</span> </div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span> <span class="preprocessor">#ifndef DEFINITIONS_H</span></div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span> <span class="preprocessor">#define DEFINITIONS_H</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"><a class="line" href="definitions_8h.html#aac798eaf6994ddcadd8a38ad8aba234f"> 30</a></span> <span class="preprocessor">#define OPEN_COM_DMB 'o'</span></div><div class="line"><a name="l00031"></a><span class="lineno"><a class="line" href="definitions_8h.html#a1b18773c1ce9068c4d38c2cbd2900263"> 31</a></span> <span class="preprocessor">#define CLOSE_COM_DMB 'C'</span></div><div class="line"><a name="l00032"></a><span class="lineno"> 32</span> </div><div class="line"><a name="l00033"></a><span class="lineno"><a class="line" href="definitions_8h.html#acf7d51360dcb103fc57604725ec2816d"> 33</a></span> <span class="preprocessor">#define DMB_PING 'p'</span></div><div class="line"><a name="l00034"></a><span class="lineno"><a class="line" href="definitions_8h.html#a82b279c49221d3cd3d875d521dfb97b9"> 34</a></span> <span class="preprocessor">#define DMB_IDLE 'r'</span></div><div class="line"><a name="l00035"></a><span class="lineno"><a class="line" href="definitions_8h.html#a5ebbd37042a6244b4f9d473ae7132780"> 35</a></span> <span class="preprocessor">#define DMB_START_WITHOUT_WD 'u'</span></div><div class="line"><a name="l00036"></a><span class="lineno"><a class="line" href="definitions_8h.html#adee1628bbc796ba55f4a349895f4e0fa"> 36</a></span> <span class="preprocessor">#define DMB_START_WITH_WD 'W'</span></div><div class="line"><a name="l00037"></a><span class="lineno"><a class="line" href="definitions_8h.html#a2ca219902014ffb39aab27cca08a948f"> 37</a></span> <span class="preprocessor">#define DMB_RELOAD_WD 'w'</span></div><div class="line"><a name="l00038"></a><span class="lineno"><a class="line" href="definitions_8h.html#af1737e8fe4da4e8bc2d5db9d26c42462"> 38</a></span> <span class="preprocessor">#define DMB_GET_VBAT 'v'</span></div><div class="line"><a name="l00039"></a><span class="lineno"><a class="line" href="definitions_8h.html#ad58c241121e685f26a291aa4bd5f9c80"> 39</a></span> <span class="preprocessor">#define DMB_IS_BUSY 'b'</span></div><div class="line"><a name="l00040"></a><span class="lineno"><a class="line" href="definitions_8h.html#ac48dee90eb71d036d001321674abbb8b"> 40</a></span> <span class="preprocessor">#define DMB_MOVE 'M'</span></div><div class="line"><a name="l00041"></a><span class="lineno"><a class="line" href="definitions_8h.html#ac6c5492c8100e73f8d30ed36072684db"> 41</a></span> <span class="preprocessor">#define DMB_TURN 'T'</span></div><div class="line"><a name="l00042"></a><span class="lineno"><a class="line" href="definitions_8h.html#ae363a29a4961cd8a646a0ca9199bc6cf"> 42</a></span> <span class="preprocessor">#define DMB_GO_FORWARD 'F'</span></div><div class="line"><a name="l00043"></a><span class="lineno"><a class="line" href="definitions_8h.html#a499f41cc19a4459de033687049cbbe71"> 43</a></span> <span class="preprocessor">#define DMB_GO_BACK 'B'</span></div><div class="line"><a name="l00044"></a><span class="lineno"><a class="line" href="definitions_8h.html#aefcb838e73a335f1a2a6c914ee2ff752"> 44</a></span> <span class="preprocessor">#define DMB_GO_LEFT 'L'</span></div><div class="line"><a name="l00045"></a><span class="lineno"><a class="line" href="definitions_8h.html#ad681962f7b8cf4797ebd48be0405d1b9"> 45</a></span> <span class="preprocessor">#define DMB_GO_RIGHT 'R'</span></div><div class="line"><a name="l00046"></a><span class="lineno"><a class="line" href="definitions_8h.html#a7308179907a0a2989c162865e7a7979a"> 46</a></span> <span class="preprocessor">#define DMB_STOP_MOVE 'S'</span></div><div class="line"><a name="l00047"></a><span class="lineno"> 47</span> </div><div class="line"><a name="l00048"></a><span class="lineno"><a class="line" href="definitions_8h.html#a624686d3af63394ee02f0a197967d44a"> 48</a></span> <span class="preprocessor">#define ROBOT_TIMED_OUT -3</span></div><div class="line"><a name="l00049"></a><span class="lineno"><a class="line" href="definitions_8h.html#a70a2d5db14b900843364adb7cfe53ac8"> 49</a></span> <span class="preprocessor">#define ROBOT_UKNOWN_CMD -2</span></div><div class="line"><a name="l00050"></a><span class="lineno"><a class="line" href="definitions_8h.html#a4aefbbdd5d35999aa0575ab7183148d4"> 50</a></span> <span class="preprocessor">#define ROBOT_ERROR -1</span></div><div class="line"><a name="l00051"></a><span class="lineno"><a class="line" href="definitions_8h.html#af1118b8a83d446b4965347bba126a488"> 51</a></span> <span class="preprocessor">#define ROBOT_CHECKSUM -4</span></div><div class="line"><a name="l00052"></a><span class="lineno"><a class="line" href="definitions_8h.html#ad7b2f95c0b423fb9784acb897b910c36"> 52</a></span> <span class="preprocessor">#define ROBOT_OK 0</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"><a class="line" href="definitions_8h.html#a2a7149bbe097fae8e799ce2ab6f69390"> 54</a></span> <span class="preprocessor">#define CAM_OPEN 'A'</span></div><div class="line"><a name="l00055"></a><span class="lineno"><a class="line" href="definitions_8h.html#a675009273c3923e8ad1a6d2818063b61"> 55</a></span> <span class="preprocessor">#define CAM_CLOSE 'I'</span></div><div class="line"><a name="l00056"></a><span class="lineno"><a class="line" href="definitions_8h.html#a6418778d1f34e618aebd9ca1861ab500"> 56</a></span> <span class="preprocessor">#define CAM_ASK_ARENA 'y'</span></div><div class="line"><a name="l00057"></a><span class="lineno"><a class="line" href="definitions_8h.html#a15d9063cd3c60755685ceb75df4a7354"> 57</a></span> <span class="preprocessor">#define CAM_ARENA_CONFIRM 'x'</span></div><div class="line"><a name="l00058"></a><span class="lineno"><a class="line" href="definitions_8h.html#ac836c6abc7e32d2cf7f59ed2a8383ca7"> 58</a></span> <span class="preprocessor">#define CAM_ARENA_INFIRM 'z'</span></div><div class="line"><a name="l00059"></a><span class="lineno"><a class="line" href="definitions_8h.html#a74fdb9d00556feb699d3c72bd7b5d5e5"> 59</a></span> <span class="preprocessor">#define CAM_COMPUTE_POSITION 'p'</span></div><div class="line"><a name="l00060"></a><span class="lineno"><a class="line" href="definitions_8h.html#ae864cfaefbf5a210e67678b2144a289f"> 60</a></span> <span class="preprocessor">#define CAM_STOP_COMPUTE_POSITION 's'</span></div><div class="line"><a name="l00061"></a><span class="lineno"> 61</span> </div><div class="line"><a name="l00062"></a><span class="lineno"><a class="line" href="definitions_8h.html#a66c0c4960c1e81c8da8c8e1d4a202352"> 62</a></span> <span class="preprocessor">#define DMB_BAT_LOW 0</span></div><div class="line"><a name="l00063"></a><span class="lineno"><a class="line" href="definitions_8h.html#aea6ef1c13db1a8a4a29b065d0c3f73e4"> 63</a></span> <span class="preprocessor">#define DMB_BAT_MEDIUM 1</span></div><div class="line"><a name="l00064"></a><span class="lineno"><a class="line" href="definitions_8h.html#ab34c46794a9de6746a96752668c73754"> 64</a></span> <span class="preprocessor">#define DMB_BAT_HIGH 2</span></div><div class="line"><a name="l00065"></a><span class="lineno"> 65</span> </div><div class="line"><a name="l00066"></a><span class="lineno"><a class="line" href="definitions_8h.html#a3327443cd321f0c356a5d3d74377892b"> 66</a></span> <span class="preprocessor">#define DMB_BUSY 1</span></div><div class="line"><a name="l00067"></a><span class="lineno"><a class="line" href="definitions_8h.html#a07650c5f6647c5143bac535fdbeb77d5"> 67</a></span> <span class="preprocessor">#define DMB_DO_NOTHING 0</span></div><div class="line"><a name="l00068"></a><span class="lineno"> 68</span> </div><div class="line"><a name="l00069"></a><span class="lineno"> 69</span> <span class="preprocessor">#endif </span><span class="comment">/* MSG_H */</span><span class="preprocessor"></span></div><div class="line"><a name="l00070"></a><span class="lineno"> 70</span> </div></div><!-- fragment --></div><!-- contents -->
- </div><!-- doc-content -->
- <!-- start footer part -->
- <div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
- <ul>
- <li class="navelem"><a class="el" href="definitions_8h.html">definitions.h</a></li>
- <li class="footer">Generated by
- <a href="http://www.doxygen.org/index.html">
- <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
- </ul>
- </div>
- </body>
- </html>
|