CamVisionInterface.h

Go to the documentation of this file.
00001 /***************************************************************
00002  
00003  Mini Grand Challenge 2010
00004  Pennsylvania State University - Robotics Club
00005  Learn more at www.psurobotics.org
00006  Protected by the GNU General Public License
00007  
00008  This source file is developed and maintained by:
00009  + Jeremy Bridon jgbridon@gmail.com
00010  
00011  File: CamVisionInterface.cpp/h
00012  Desc: This component connects to physical hardware and will
00013  return the current camera image. The physical input will be
00014  a simple web-cam
00015  
00016 ***************************************************************/
00017 
00018 // Inclusion guard
00019 #ifndef __CAMVISIONINTERFACE_H_
00020 #define __CAMVISIONINTERFACE_H_
00021 
00022 // Standard includes
00023 #include "../Shared/Utilities.h"
00024 #include "../Shared/BaseComponent.h"
00025 
00027 class CamVisionInterface : public BaseComponent
00028 {
00029 public:
00030         
00032         CamVisionInterface();
00033         
00035         ~CamVisionInterface();
00036         
00038         int Update();
00039         
00040 private:
00041         // OpenCV image structures
00042         CvCapture* MyCamera;            
00043         IplImage* frame, *frame_copy;   
00044 };
00045 
00046 // End of inclusion guard
00047 #endif

Generated on Sun Feb 21 00:00:08 2010 for Penn State Robotics Club: Mini Grand Challenge 2010 by  doxygen 1.5.5