libwallaby  v24
The wallaby standard library
gyro.hpp
Go to the documentation of this file.
1 /*
2  * gyro.hpp
3  *
4  * Created on: Nov 5, 2015
5  * Author: Joshua Southerland
6  */
7 
8 #ifndef INCLUDE_WALLABY_GYRO_HPP_
9 #define INCLUDE_WALLABY_GYRO_HPP_
10 
11 #include "sensor.hpp"
12 
13 class Gyro
14 {
15 public:
16  static short x();
17  static short y();
18  static short z();
19  static bool calibrate();
20 private:
21 };
22 
23 class GyroX : public Sensor<short>
24 {
25 public:
26  virtual short value() const;
27 };
28 
29 class GyroY : public Sensor<short>
30 {
31 public:
32  virtual short value() const;
33 };
34 
35 class GyroZ : public Sensor<short>
36 {
37 public:
38  virtual short value() const;
39 };
40 
41 
42 #endif /* INCLUDE_WALLABY_GYRO_HPP_ */
GyroZ::value
virtual short value() const
GyroX
Definition: gyro.hpp:23
Gyro::y
static short y()
GyroX::value
virtual short value() const
Gyro::z
static short z()
Gyro::calibrate
static bool calibrate()
Gyro::x
static short x()
Gyro
Definition: gyro.hpp:13
GyroZ
Definition: gyro.hpp:35
sensor.hpp
GyroY
Definition: gyro.hpp:29
GyroY::value
virtual short value() const
Sensor
Definition: sensor.hpp:17