00001 00002 // 00003 // Title : HardwareError.h 00004 // Project : OSCAR 00005 // Created : 00006 // Author : Yalei Wang, Chetan Kapoor 00007 // Platforms : 00008 // Copyright : 00009 // Access : 00010 // Purpose : Define Hardware Errors 00011 // 00012 //------------------------------------------------------------------------------ 00013 // Classes: 00014 // <none> 00015 // 00016 // Global Functions: 00017 // <none> 00018 // 00019 // Global Variables: 00020 // <none> 00021 //------------------------------------------------------------------------------ 00022 // Revision 00023 // 00024 // Log 00025 // 00026 // 00028 00029 #ifndef HardwareError_hpp 00030 #define HardwareError_hpp 00031 00032 #include "Base/BaseError.h" 00033 00035 namespace OSCAR { 00036 00040 extern const OSCARError HardwareErrors; 00041 00045 extern const OSCARError powerFailure; 00046 00050 extern const OSCARError connectionFailure; 00051 00055 extern const OSCARError deviceNotReady; 00056 00060 extern const OSCARError initializeFailure; 00061 00065 extern const OSCARError registerReadFailure; 00066 00070 extern const OSCARError registerWriteFailure; 00071 00075 extern const OSCARError portOpenFailure; 00076 00080 extern const OSCARError portReadFailure; 00081 00085 extern const OSCARError portWriteFailure; 00086 00087 00091 extern const OSCARError notInitialized; 00092 00096 extern const OSCARError notClosed; 00097 00101 extern const OSCARError parameterNotMatch; 00102 00106 extern const OSCARError valueNotSet; 00107 00111 extern const OSCARError parameterNotValid; 00112 00113 00117 extern const OSCARError positionExcessError; 00118 00122 extern const OSCARError velocityExcessError; 00123 00127 extern const OSCARError torqueExcessError; 00128 00132 extern const OSCARError currentExcessError; 00133 00137 extern const OSCARError armPowerOffError; 00138 00139 00143 extern const OSCARError illegalRoboWorksTagNameError; 00144 00145 00149 extern const OSCARError robixDLLError; 00150 00154 extern const OSCARError robixEIError; 00155 00159 extern const OSCARError robixRobotError; 00160 00164 extern const OSCARError robixServoError; 00165 00169 extern const OSCARError nidaqError; 00170 00174 extern const OSCARError measurementComputingError; 00175 00176 00180 extern const OSCARError powerCubeDLLError; 00181 00185 extern const OSCARError powerCubeCommError; 00186 00190 extern const OSCARError powerCubeLimitError; 00191 00195 extern const OSCARError powerCubePowerError; 00196 00200 extern const OSCARError powerCubeGeneralError; 00201 00202 00203 00207 extern const OSCARError kb2017GeneralError; 00208 00212 extern const OSCARError kb2017HomeError; 00213 00217 extern const OSCARError kb2017CommError; 00218 00219 00223 extern const OSCARError illegalMotionTime; 00224 00225 00229 extern const OSCARError roboTalkError; 00230 00231 00235 extern const OSCARError atisensorSaturationError; 00236 00240 extern const OSCARError atisensorTransducerError; 00241 00245 extern const OSCARError atisensorMultipleError; 00246 00247 } 00248 00249 #endif 00250 00251 00252
| RRG Homepage | OSCAR Overview | OSCAR Tutorials | Simulations |