libkipr  1.0.0
gyro.hpp
Go to the documentation of this file.
1 #ifndef _KIPR_GYRO_GYRO_HPP_
2 #define _KIPR_GYRO_GYRO_HPP_
3 
4 #include "kipr/sensor/sensor.hpp"
5 
6 namespace kipr
7 {
8  namespace gyro
9  {
10  class Gyro
11  {
12  public:
13  static short x();
14  static short y();
15  static short z();
16  static bool calibrate();
17 
18  private:
19  };
20 
21  class GyroX : public sensor::Sensor<short>
22  {
23  public:
24  virtual short value() const;
25  };
26 
27  class GyroY : public sensor::Sensor<short>
28  {
29  public:
30  virtual short value() const;
31  };
32 
33  class GyroZ : public sensor::Sensor<short>
34  {
35  public:
36  virtual short value() const;
37  };
38  }
39 }
40 
41 #endif
Definition: gyro.hpp:22
virtual short value() const
Definition: gyro.hpp:28
virtual short value() const
Definition: gyro.hpp:34
virtual short value() const
Definition: gyro.hpp:11
static bool calibrate()
static short x()
static short y()
static short z()
Definition: sensor.hpp:23
Definition: accel.hpp:7