Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | Related Pages | Examples

ArCommands.h

00001 /*
00002 MobileRobots Advanced Robotics Interface for Applications (ARIA)
00003 Copyright (C) 2004, 2005 ActivMedia Robotics LLC
00004 Copyright (C) 2006, 2007 MobileRobots Inc.
00005 
00006      This program is free software; you can redistribute it and/or modify
00007      it under the terms of the GNU General Public License as published by
00008      the Free Software Foundation; either version 2 of the License, or
00009      (at your option) any later version.
00010 
00011      This program is distributed in the hope that it will be useful,
00012      but WITHOUT ANY WARRANTY; without even the implied warranty of
00013      MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00014      GNU General Public License for more details.
00015 
00016      You should have received a copy of the GNU General Public License
00017      along with this program; if not, write to the Free Software
00018      Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
00019 
00020 If you wish to redistribute ARIA under different terms, contact 
00021 MobileRobots for information about a commercial version of ARIA at 
00022 robots@mobilerobots.com or 
00023 MobileRobots Inc, 19 Columbia Drive, Amherst, NH 03031; 800-639-9481
00024 */
00025 
00026 #ifndef ARCOMMANDS_H
00027 #define ARCOMMANDS_H
00028 
00030 
00034 class ArCommands
00035 {
00036 public:
00037   enum Commands { 
00038   PULSE = 0, 
00039   OPEN = 1, 
00040   CLOSE = 2, 
00041   POLLING = 3, 
00042   ENABLE = 4, 
00043   SETA = 5, 
00044   SETV = 6, 
00045   SETO = 7, 
00046   MOVE = 8, 
00047   ROTATE = 9, 
00048   SETRV = 10, 
00049   VEL = 11, 
00050   HEAD = 12, 
00051   DHEAD = 13, 
00052   //DROTATE = 14, does not really exist
00053   SAY = 15, 
00055   JOYINFO = 17, // int, requests joystick packet, 0 to stop, 1 for 1, 2 for continuous
00056   CONFIG = 18, 
00057   ENCODER = 19, 
00058   RVEL = 21, 
00059   DCHEAD = 22, 
00060   SETRA = 23, 
00061   SONAR = 28, 
00062   STOP = 29, 
00063   DIGOUT = 30, 
00064   //TIMER = 31, ... no clue about this one
00065   VEL2 = 32, 
00067   GRIPPER = 33, 
00068   //KICK = 34, um...
00069   ADSEL = 35, 
00070   GRIPPERVAL = 36, 
00071   GRIPPERPACREQUEST = 37, 
00072   IOREQUEST = 40, 
00073   PTUPOS = 41, 
00074   TTY2 = 42, 
00075   GETAUX = 43, 
00076   BUMPSTALL = 44, 
00078   TCM2 = 45, 
00079   JOYDRIVE = 47, 
00081   MOVINGBLINK = 49, 
00082   HOSTBAUD = 50, 
00083   AUX1BAUD = 51, 
00084   AUX2BAUD = 52, 
00085   ESTOP = 55, 
00086   ESTALL = 56, // ?
00087   GYRO = 58, 
00088   TTY3 = 66,
00089   GETAUX2 = 67,
00090 
00091   // SRISIM specific:
00092   LOADPARAM = 61, 
00093   OLDSIM_LOADPARAM = 61, 
00094   ENDSIM = 62, 
00095   OLDSIM_EXIT = 62, 
00096   LOADWORLD = 63, 
00097   OLDSIM_LOADWORLD = 63, 
00098   STEP = 64, 
00099   OLDSIM_STEP = 64, 
00100 
00101   // for calibrating the compass:
00102   CALCOMP = 65, 
00103 
00104   // SRISIM specific:
00105   // SETORIGINX and SETORIGINY overlap with TTY3 and GETAUX2 so they are disabled:
00106   //SETSIMORIGINX = 66, 
00107   //SETSIMORIGINY = 67, 
00108   //OLDSIM_SETORIGINX = 66,
00109   //OLDSIM_SETORIGINY = 67,
00110   SETSIMORIGINTH = 68, 
00111   OLDSIM_SETORIGINTH = 68, 
00112   RESETSIMTOORIGIN = 69, 
00113   OLDSIM_RESETTOORIGIN = 69, 
00114 
00115   // AmigoBot-H8 specific:
00116   SOUND = 90, 
00117   PLAYLIST = 91, 
00119   SOUNDTOG = 92, 
00120 
00121   // MobileSim specific:
00122   SIM_SET_POSE = 224,       
00123   SIM_RESET= 225,         
00124   SIM_LRF_ENABLE = 230,   
00125   SIM_LRF_SET_FOV_START = 231,  
00126   SIM_LRF_SET_FOV_END = 232,  
00127   SIM_LRF_SET_RES = 233,  
00128   SIM_CTRL = 236,         
00129   SIM_STAT = 237,         
00130   SIM_MESSAGE = 238,      
00131   SIM_EXIT = 239          
00132   };
00133   
00134 };
00135 
00136 #endif // ARCOMMANDS_H
00137 
00138 

Generated on Tue Feb 20 10:51:39 2007 for Aria by  doxygen 1.4.0