00001 /************************************************************************************************/ 00002 /*! \file DeviceNames.h 00003 * \brief Defines all of the string names for devices. 00004 * \author $Author: bstreetman $ 00005 * \version $Revision: 1.10 $ 00006 * \date $Date: 2004/04/28 19:43:45 $ 00007 ************************************************************************************************/ 00008 /*! 00009 * 00010 ************************************************************************************************/ 00011 00012 #ifndef __SSSL_DEVICENAMES_H__ 00013 #define __SSSL_DEVICENAMES_H__ 00014 00015 #include <string> 00016 using namespace std; 00017 00018 const char DEV_TYPES[][25] = {"momentumwheel", "controlmomentgyro", "thruster", 00019 "rategyro", "magnetometer", "dmu", "acc", "defaultobserver", "attitudeobserver", "dmuaccelerometer", 00020 "dmurategyro","defaultcontroller","mwcmgcontroller","parameter","state","tiltsensor"}; 00021 enum wdev_t {MW, CMG, THR, RG, MAG, MP, ACC, DEFAULTOBS, ATTOBS, DMUACC, DMURG, DEFAULTCONT, MWCMGCONT, PARAM, STATE, TILT, SENTINEL}; 00022 00023 #endif 00024 // Do not change the comments below - they will be added automatically by CVS 00025 /***************************************************************************** 00026 * $Log: DeviceNames.h,v $ 00027 * Revision 1.10 2004/04/28 19:43:45 bstreetman 00028 * Added Tilt Sensor 00029 * 00030 * Revision 1.9 2003/08/18 19:16:45 mavandyk 00031 * Added stuff. 00032 * 00033 * Revision 1.8 2003/08/14 18:43:41 nicmcp 00034 * Updated for whorl config parsing needs to be debugged. 00035 * 00036 * Revision 1.7 2003/08/13 23:20:50 mavandyk 00037 * Added devices. 00038 * 00039 * Revision 1.6 2003/08/06 22:08:09 mavandyk 00040 * Updated for config parsing. 00041 * 00042 * Revision 1.5 2003/07/22 21:31:01 mavandyk 00043 * Changed name of DMU to MP because there is a class called DMU. 00044 * 00045 * Revision 1.4 2003/07/15 18:03:39 mavandyk 00046 * Fixed comments, added some functions. 00047 * 00048 * Revision 1.3 2003/07/10 20:33:52 cakinli 00049 * Changed dev_t (existing type?) to wdev_t... 00050 * 00051 * Revision 1.2 2003/07/08 20:45:11 cakinli 00052 * Updated Whorl::Initialize() to use new cfgBody struct and CfgParse class, 00053 * and incorporated device type names, indices, and index member in cfgBody struct. 00054 * 00055 * Revision 1.1 2003/07/04 14:13:53 simpliciter 00056 * Moved from src directory. 00057 * 00058 * Revision 1.2 2003/07/03 16:54:48 shoemaker 00059 * Added semi-working versions of DMU code 00060 * 00061 * Revision 1.1.1.1 2003/06/06 18:44:15 simpliciter 00062 * Initial submission. 00063 * 00064 * Revision 1.1.1.1 2003/06/06 14:44:15 simpliciter 00065 * Initial import. 00066 * 00067 * 00068 ******************************************************************************/