00001 // *************************************************************************** 00002 // aibolegmoves.h 00003 // 00004 // copyright : (C) 2003 by tbaier 00005 // email : tbaier@informatik.uni-hamburg.de 00006 // *************************************************************************** 00007 #ifndef AIBOLEGMOVES_H 00008 #define AIBOLEGMOVES_H 00009 00010 #include "aiboleg.h" 00011 #include "aibolegpositions.h" 00012 00013 #include "aibohead.h" 00014 #include "aiboheadpositions.h" 00015 #include "aibomoves.h" 00016 #include <OPENR/OObject.h> 00017 #include <OPENR/OSubject.h> 00018 00020 class AiboLegMoves : public AiboMoves { 00021 public: 00022 00026 AiboLegMoves(AiboLeg *leg); 00027 00030 virtual ~AiboLegMoves(){}; 00031 00035 void SetLeg(AiboLeg *leg); 00036 00040 MOVE_STATUS MoveToSleeping(OSubject* subject); 00041 00045 MOVE_STATUS MoveToBroadbase(OSubject* subject); 00046 00047 protected: 00048 00050 static const int BROADBASE_MAX_COUNTER = 48; // 128ms * 48 = 6144ms 00051 00053 static const int SLEEPING_MAX_COUNTER = 48; // 128ms * 48 = 6144ms 00054 00056 int NumJoints; 00057 00058 }; 00059 00060 00061 #endif //AIBOLEGMOVES_H
Tim Baier
AiboLib v0.2.4 |
Generated Thu Jan 19 11:54:29 2006 by 1.4.3 |