00001 #ifndef PHJOYSTICKCONTROL_H 00002 #define PHJOYSTICKCONTROL_H 00003 00004 #include <phLinuxJoystick.h> 00005 #include <phPlayerPosition.h> 00006 #include <phPlayerSonar.h> 00007 #include <phPlayerPtz.h> 00008 #include <phThread.h> 00009 00010 /* ------------------------------------------------------------------------ */ 00011 class phJoystickControl : public phThread 00012 { 00013 private: 00014 phLinuxJoystick *m_joystick; 00015 phPlayerPosition *m_position; 00016 phPlayerSonar *m_sonar; 00017 phPlayerPtz *m_ptz; 00018 00019 protected: 00020 int run(); 00021 00022 public: 00023 phJoystickControl( phLinuxJoystick *joystick, 00024 phPlayerPosition *position, 00025 phPlayerSonar *sonar, 00026 phPlayerPtz *ptz ); 00027 00028 }; 00029 00030 #endif /* PHJOYSTICKCONTROL_H */
Copyright (C) 2002 - 2007 |
Philip D.S. Thoren ( pthoren@users.sourceforge.net ) University Of Massachusetts at Lowell Robotics Lab |