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_ERS7
00010 # include "ERS7Info.h"
00011 #else //default case, ERS2xx
00012 # if TGT_ERS2xx==0
00013 # warning "TGT_<model> undefined - defaulting to ERS2xx"
00014 # endif
00015 # include "ERS2xxInfo.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 #else //default case, ERS2xx
00033 using namespace ERS2xxInfo;
00034 #endif //model selection
00035 }
00036
00037 using namespace RobotInfo;
00038
00039
00040
00041
00042
00043
00044
00045
00046
00047
00048
00049
00050 #endif