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
kipr::gyro::GyroX
Definition:
gyro.hpp:22
kipr::gyro::GyroX::value
virtual short value() const
kipr::gyro::GyroY
Definition:
gyro.hpp:28
kipr::gyro::GyroY::value
virtual short value() const
kipr::gyro::GyroZ
Definition:
gyro.hpp:34
kipr::gyro::GyroZ::value
virtual short value() const
kipr::gyro::Gyro
Definition:
gyro.hpp:11
kipr::gyro::Gyro::calibrate
static bool calibrate()
kipr::gyro::Gyro::x
static short x()
kipr::gyro::Gyro::y
static short y()
kipr::gyro::Gyro::z
static short z()
kipr::sensor::Sensor
Definition:
sensor.hpp:23
kipr
Definition:
accel.hpp:7
sensor.hpp
module
gyro
public
kipr
gyro
gyro.hpp
Generated by
1.9.1