libwallaby
v24
The wallaby standard library
accel.hpp
Go to the documentation of this file.
1
/*
2
* accel.hpp
3
*
4
* Created on: Nov 5, 2015
5
* Author: Joshua Southerland
6
*/
7
8
#ifndef INCLUDE_WALLABY_ACCEL_HPP_
9
#define INCLUDE_WALLABY_ACCEL_HPP_
10
11
#include "
sensor.hpp
"
12
13
class
Acceleration
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
AccelX
:
public
Sensor
<short>
24
{
25
public
:
26
virtual
short
value()
const
;
27
};
28
29
class
AccelY
:
public
Sensor
<short>
30
{
31
public
:
32
virtual
short
value()
const
;
33
};
34
35
class
AccelZ
:
public
Sensor
<short>
36
{
37
public
:
38
virtual
short
value()
const
;
39
};
40
41
#endif
/* INCLUDE_WALLABY_ACCEL_HPP_ */
Acceleration::x
static short x()
Sensor
Definition:
sensor.hpp:17
Acceleration::y
static short y()
Acceleration::calibrate
static bool calibrate()
AccelX
Definition:
accel.hpp:23
sensor.hpp
Acceleration::z
static short z()
Acceleration
Definition:
accel.hpp:13
AccelY
Definition:
accel.hpp:29
AccelZ
Definition:
accel.hpp:35
include
wallaby
accel.hpp
Generated on Tue Feb 21 2017 12:20:31 for libwallaby by
1.8.11