CircleDetectionComponent.C

00001 #include "Robots/SeaBeeIII/CircleDetectionComponent.H"
00002 
00003 #include "Component/ModelParam.H"
00004 #include "Component/ModelOptionDef.H"
00005 
00006 #ifndef CIRCLEDETECTIONCOMPONENT_C
00007 #define CIRCLEDETECTIONCOMPONENT_C
00008 
00009 // ######################################################################
00010 CircleDetectionComponent::CircleDetectionComponent(int id, OptionManager& mgr,
00011     const std::string& descrName, const std::string& tagName) :
00012   VisionBrainComponentI(mgr, descrName, tagName)
00013 {
00014 }
00015 
00016 // ######################################################################
00017 CircleDetectionComponent::~CircleDetectionComponent()
00018 {
00019 
00020 }
00021 
00022 void CircleDetectionComponent::registerTopics()
00023 {
00024         //Use Internet Communication Engine (ICE) to send/receive messages
00025 }
00026 
00027 void CircleDetectionComponent::updateFrame(Image<PixRGB<byte> > img, bool itsFwdCamera)
00028 {
00029   LINFO("Image Recieved in the updateFrame");
00030 
00031   if(img.initialized())
00032     itsOfs->writeRGB(img, "Circle Detection Component Image",
00033                      FrameInfo("Circle Detection Component", SRC_POS));
00034 
00035 
00036 }
00037 #endif
00038 
Generated on Sun May 8 08:05:57 2011 for iLab Neuromorphic Vision Toolkit by  doxygen 1.6.3