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
Definition:
command.hpp:31
kobuki::DigitalOutput::values
bool values[4]
Definition:
digital_output.hpp:46
kobuki::DigitalOutput::mask
bool mask[4]
Definition:
digital_output.hpp:47
kobuki::DigitalOutput::DigitalOutput
DigitalOutput()
Definition:
digital_output.hpp:40
kobuki_driver
Author(s): Daniel Stonier
, Younghun Ju
, Jorge Santos Simon
autogenerated on Wed Mar 2 2022 00:26:14