test-gyro.C

Go to the documentation of this file.
00001 /*!@file AppDevices/test-gyro.C [put description here] */
00002 
00003 // $HeadURL: svn://isvn.usc.edu/software/invt/trunk/saliency/src/AppDevices/test-gyro.C $
00004 // $Id: test-gyro.C 6182 2006-01-31 18:41:41Z rjpeters $
00005 
00006 #include "Devices/Gyro.H"
00007 #include <iostream>
00008 #include <unistd.h>
00009 
00010 int main()
00011 {
00012   Gyro gyr;
00013   int x,y;
00014   while(1)
00015     {
00016       gyr.getAngle(x,y);
00017       std::cout<<x<<" "<<y<<std::endl;
00018       usleep(30000);
00019     }
00020 
00021 }
00022 
00023 // ######################################################################
00024 /* So things look consistent in everyone's emacs... */
00025 /* Local Variables: */
00026 /* indent-tabs-mode: nil */
00027 /* End: */
Generated on Sun May 8 08:04:10 2011 for iLab Neuromorphic Vision Toolkit by  doxygen 1.6.3