Gyro.H
Go to the documentation of this file.00001
00002
00003
00004
00005
00006 #ifndef GYRO_H_DEFINED
00007 #define GYRO_H_DEFINED
00008
00009 #include<pthread.h>
00010 #include<unistd.h>
00011
00012
00013 class Gyro
00014 {
00015 public:
00016 Gyro();
00017 void go();
00018 void getAngle( int & , int & );
00019 void setAngle( int , int );
00020
00021 private:
00022 int xpos;
00023 int ypos;
00024 int xdpos;
00025 int ydpos;
00026 pthread_t runner;
00027 };
00028 #endif
00029
00030
00031
00032
00033
00034