00001
00002 #ifndef INCLUDED_RobotInfo_h
00003 #define INCLUDED_RobotInfo_h
00004
00005 #if TGT_ERS220
00006 # include "ERS220Info.h"
00007 #elif TGT_ERS210
00008 # include "ERS210Info.h"
00009 #elif TGT_ERS2xx
00010 # include "ERS2xxInfo.h"
00011 #elif TGT_ERS7
00012 # include "ERS7Info.h"
00013 #else //default case, currently ERS-7
00014 # warning "TGT_<model> undefined or unknown model set - defaulting to ERS7 (valid values are TGT_ERS210, TGT_ERS220, TGT_ERS2xx, or TGT_ERS7)"
00015 # include "ERS7Info.h"
00016 #endif //model selection
00017
00018
00019
00020
00021
00022
00023
00024 namespace RobotInfo {
00025
00026 #if TGT_ERS220
00027 using namespace ERS220Info;
00028 #elif TGT_ERS210
00029 using namespace ERS210Info;
00030 #elif TGT_ERS7
00031 using namespace ERS7Info;
00032 #elif TGT_ERS2xx
00033 using namespace ERS2xxInfo;
00034 #else //default case, ERS7
00035 using namespace ERS7Info;
00036 #endif //model selection
00037 }
00038
00039 using namespace RobotInfo;
00040
00041
00042
00043
00044
00045
00046
00047
00048
00049
00050
00051
00052 #endif