imu.h
Go to the documentation of this file.
00001 #ifndef PHIDGETS_API_IMU_H
00002 #define PHIDGETS_API_IMU_H
00003 
00004 #include "phidgets_api/phidget.h"
00005 
00006 namespace phidgets {
00007 
00008 class Imu: public Phidget
00009 {
00010   public:
00011 
00012     Imu();
00013 
00014   protected:
00015  
00016     CPhidgetSpatialHandle imu_handle_;
00017     
00018     void zero();
00019     void setDataRate(int rate);
00020 
00021     virtual void dataHandler(CPhidgetSpatial_SpatialEventDataHandle *data, int count);
00022 
00023   private:
00024 
00025     static int SpatialDataHandler(CPhidgetSpatialHandle spatial, void *userptr, CPhidgetSpatial_SpatialEventDataHandle *data, int count);
00026 };
00027 
00028 } //namespace phidgets
00029 
00030 #endif // PHIDGETS_API_IMU_H


phidgets_api
Author(s): Tully Foote, Ivan Dryanovski
autogenerated on Wed Aug 16 2017 02:50:15