CommonERSInfo.h
Go to the documentation of this file.00001
00002 #ifndef INCLUDED_CommonERSInfo_h
00003 #define INCLUDED_CommonERSInfo_h
00004
00005 #include <math.h>
00006 #ifndef PLATFORM_APERIOS
00007 typedef unsigned short word;
00008 #else
00009 #include <Types.h>
00010 #endif
00011
00012 #include "CommonInfo.h"
00013 using namespace RobotInfo;
00014
00015
00016
00017 #if defined(TGT_ERS210) || defined(TGT_ERS220) || defined(TGT_ERS2xx) || defined(TGT_ERS7)
00018
00019
00020 # define TGT_IS_AIBO
00021
00022 # define TGT_HAS_LEGS 4
00023 # define TGT_HAS_REK_LEGS 4
00024 # define TGT_HAS_LED_PANEL 1
00025 # define TGT_HAS_ACCELEROMETERS 3
00026 # ifndef TGT_ERS220
00027 # define TGT_HAS_MOUTH 1
00028 # define TGT_HAS_TAIL 1
00029 # endif
00030 # define TGT_HAS_POWER_STATUS
00031 # define TGT_HAS_CAMERA 1
00032 # define TGT_HAS_HEAD 1
00033 # define TGT_HAS_MICROPHONE 2
00034 # define TGT_HAS_SPEAKERS 1
00035
00036 #endif
00037
00038 namespace CameraERS2xx {
00039 const float CameraHorizFOV=57.6f/180*static_cast<float>(M_PI);
00040 const float CameraVertFOV=47.8f/180*static_cast<float>(M_PI);
00041 const float CameraFOV=CameraHorizFOV;
00042 const unsigned int CameraResolutionX=176;
00043 const unsigned int CameraResolutionY=144;
00044 extern const char CameraModelName[];
00045 }
00046
00047
00048
00049
00050
00051
00052 #endif