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

ArCommands.h

00001 /*
00002 ActivMedia Robotics Interface for Applications (ARIA)
00003 Copyright (C) 2004,2005 ActivMedia Robotics, LLC
00004 
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 ActivMedia Robotics for information about a commercial version of ARIA at 
00022 robots@activmedia.com or 
00023 ActivMedia Robotics, 19 Columbia Drive, Amherst, NH 03031; 800-639-9481
00024 
00025 */
00026 
00027 #ifndef ARCOMMANDS_H
00028 #define ARCOMMANDS_H
00029 
00031 
00035 // TODO find out about the commented out ones
00036 class ArCommands
00037 {
00038 public:
00039   enum Commands { 
00040   PULSE = 0, 
00041   OPEN = 1, 
00042   CLOSE = 2, 
00043   POLLING = 3, 
00044   ENABLE = 4, 
00045   SETA = 5, 
00046   SETV = 6, 
00047   SETO = 7, 
00048   MOVE = 8, 
00049   ROTATE = 9, 
00050   SETRV = 10, 
00051   VEL = 11, 
00052   HEAD = 12, 
00053   DHEAD = 13, 
00054   //DROTATE = 14, does not really exist
00055   SAY = 15, 
00057   JOYINFO = 17, // int, requests joystick packet, 0 to stop, 1 for 1, 2 for continuous
00058   CONFIG = 18, 
00059   ENCODER = 19, 
00060   RVEL = 21, 
00061   DCHEAD = 22, 
00062   SETRA = 23, 
00063   SONAR = 28, 
00064   STOP = 29, 
00065   DIGOUT = 30, 
00066   //TIMER = 31, ... no clue about this one
00067   VEL2 = 32, 
00069   GRIPPER = 33, 
00070   //KICK = 34, um...
00071   ADSEL = 35, 
00072   GRIPPERVAL = 36, 
00073   GRIPPERPACREQUEST = 37, 
00074   IOREQUEST = 40, 
00075   PTUPOS = 41, 
00076   TTY2 = 42, 
00077   GETAUX = 43, 
00078   BUMPSTALL = 44, 
00080   TCM2 = 45, 
00081   JOYDRIVE = 47, 
00083   MOVINGBLINK = 49, 
00084   HOSTBAUD = 50, 
00085   AUX1BAUD = 51, 
00086   AUX2BAUD = 52, 
00087   ESTOP = 55, 
00088   ESTALL = 56, // TODO ///< 
00089   GYRO = 58, 
00090   // Note that these have overlapping values
00091   TTY3 = 66,
00092   GETAUX2 = 67,
00093   // these are SIM specific
00094   LOADPARAM = 61, 
00096   ENDSIM = 62, 
00097   LOADWORLD = 63, 
00098   STEP = 64, 
00099   // for calibrating the compass
00100   CALCOMP = 65, 
00101   // back to SIM specific
00102   SETSIMORIGINX = 66, 
00103   SETSIMORIGINY = 67, 
00104   SETSIMORIGINTH = 68, 
00105   RESETSIMTOORIGIN = 69, 
00106   // AmigoBot specific
00107   SOUND = 90, 
00108   PLAYLIST = 91, 
00110   SOUNDTOG = 92 
00111   };
00112   
00113 };
00114 
00115 #endif // ARCOMMANDS_H
00116 
00117 

Generated on Wed Oct 19 12:56:34 2005 for Aria by  doxygen 1.4.0