00001 /** 00002 * @file ImageSaver.h 00003 * 00004 * @author <A href=mailto:goehring@informatik.hu-berlin.de>Daniel Goehring</A> 00005 */ 00006 00007 #ifndef __ImageSaver_h_ 00008 #define __ImageSaver_h_ 00009 00010 #include "SensorBehaviorControl.h" 00011 #include "Tools/Debugging/DebugImages.h" 00012 #include "Tools/Debugging/DebugDrawings.h" 00013 00014 00015 class ImageSaver : public SensorBehaviorControl 00016 { 00017 public: 00018 /** 00019 * Constructor. 00020 * @param interfaces The paramters of the SensorBehaviorControl module. 00021 */ 00022 ImageSaver(SensorBehaviorControlInterfaces& interfaces); 00023 00024 void init(); 00025 /** the "main" module where all the magic is happening */ 00026 virtual void execute(); 00027 /** 00028 * calibrate the psd (while standing still) to the minimum 00029 * currently no debug messages are handled 00030 */ 00031 virtual bool handleMessage(InMessage& message); 00032 00033 private: 00034 00035 HeadControlMode hcm; 00036 00037 unsigned long lastSavingTime; 00038 // images for debugging 00039 DECLARE_DEBUG_IMAGE(classificationY); 00040 }; 00041 00042 #endif// __ImageSaver_h_ 00043 00044 /* 00045 * Change log : 00046 * 00047 * $Log: ImageSaver.h,v $ 00048 * Revision 1.4 2004/06/28 01:23:02 juengel 00049 * Head button switches head-control-mode. 00050 * 00051 * Revision 1.3 2004/06/17 13:31:26 risler 00052 * warning removed 00053 * 00054 * Revision 1.2 2004/06/16 21:47:18 goehring 00055 * review 00056 * 00057 * Revision 1.1 2004/06/16 20:57:07 goehring 00058 * no message 00059 * 00060 * 00061 */