Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
include
kobuki_driver
modules
digital_output.hpp
Go to the documentation of this file.
1
9
/*****************************************************************************
10
** Ifdefs
11
*****************************************************************************/
12
13
#ifndef KOBUKI_DIGITAL_OUTPUT_HPP_
14
#define KOBUKI_DIGITAL_OUTPUT_HPP_
15
16
/*****************************************************************************
17
** Namespaces
18
*****************************************************************************/
19
20
namespace
kobuki
21
{
22
23
/*****************************************************************************
24
** Structures
25
*****************************************************************************/
29
struct
DigitalOutput
{
30
DigitalOutput
() {
31
for
(
unsigned
int
i = 0; i < 4; ++i ) {
32
values
[i] =
false
;
33
mask
[i] =
false
;
34
}
35
}
36
bool
values
[4];
37
bool
mask
[4];
38
};
39
40
41
}
// namespace kobuki
42
43
#endif
/* KOBUKI_DIGITAL_OUTPUT_HPP_ */
kobuki::DigitalOutput
Definition:
digital_output.hpp:29
kobuki::DigitalOutput::mask
bool mask[4]
Definition:
digital_output.hpp:37
kobuki
Definition:
command.hpp:31
kobuki::DigitalOutput::values
bool values[4]
Definition:
digital_output.hpp:36
kobuki::DigitalOutput::DigitalOutput
DigitalOutput()
Definition:
digital_output.hpp:30
kobuki_driver
Author(s): Daniel Stonier
, Younghun Ju
, Jorge Santos Simon
autogenerated on Mon Mar 27 2017 01:02:59