00001 /** 00002 * @file Modules/SelfLocator/NoOdometrySelfLocator.h 00003 * 00004 * This file contains a class for self-localization based on SingleLandmarks w/o odometry. 00005 * @author <a href="mailto:spranger@informatik.hu-berlin.de">Michael Spranger</a> 00006 * 00007 */ 00008 00009 #ifndef __NoOdometrySelfLocator_h_ 00010 #define __NoOdometrySelfLocator_h_ 00011 00012 #include "SelfLocator.h" 00013 #include "Tools/Debugging/GenericDebugData.h" 00014 #include "Tools/Player.h" 00015 00016 /** 00017 * Class for self-localization based on SingleLandmarks without odometry 00018 */ 00019 class NoOdometrySelfLocator : public SelfLocator 00020 { 00021 public: 00022 /** 00023 * Constructor. 00024 * @param interfaces The paramters of the SelfLocator module. 00025 */ 00026 NoOdometrySelfLocator(const SelfLocatorInterfaces& interfaces); 00027 00028 /** 00029 * Destructor. 00030 */ 00031 ~NoOdometrySelfLocator() {} 00032 00033 /** Executes the module */ 00034 virtual void execute(); 00035 00036 /** movement per frame */ 00037 double speed; 00038 00039 /** debugflags */ 00040 int debugflags; 00041 int debugframes; 00042 00043 /** Called from a MessageQueue to distribute messages. */ 00044 bool handleMessage(InMessage&); 00045 /* 00046 Pose2D referencePose; 00047 */ 00048 int refGoalFramenr; 00049 int refGoalvalid; 00050 Goal referenceGoal; 00051 00052 00053 unsigned long int timeOfLastExecute; 00054 00055 }; 00056 00057 #endif// __NoOdometrySelfLocator_h_ 00058 00059 /* 00060 * Change log : 00061 * 00062 * $Log: NoOdometrySelfLocator.h,v $ 00063 * Revision 1.1.1.1 2004/05/22 17:20:48 cvsadm 00064 * created new repository GT2004_WM 00065 * 00066 * Revision 1.4 2004/03/08 02:11:48 roefer 00067 * Interfaces should be const 00068 * 00069 * Revision 1.3 2003/12/18 11:48:45 spranger 00070 * added support for seeing 2 goals and some mor debugmessage handling 00071 * 00072 * Revision 1.2 2003/12/03 21:03:44 spranger 00073 * added DebugMessageHandling (handleMessage) 00074 * 00075 * Revision 1.1 2003/12/02 19:18:21 spranger 00076 * added NoOdometrySelfLocator 00077 * 00078 * 00079 */