Program Listing for File digital_output.hpp
↰ Return to documentation for file (/tmp/ws/src/kobuki_core/include/kobuki_core/modules/digital_output.hpp
)
/*****************************************************************************
** Ifdefs
*****************************************************************************/
#ifndef KOBUKI_CORE_DIGITAL_OUTPUT_HPP_
#define KOBUKI_CORE_DIGITAL_OUTPUT_HPP_
/*****************************************************************************
** Namespaces
*****************************************************************************/
namespace kobuki
{
/*****************************************************************************
** Structures
*****************************************************************************/
struct DigitalOutput {
DigitalOutput() {
for ( unsigned int i = 0; i < 4; ++i ) {
values[i] = false;
mask[i] = false;
}
}
bool values[4];
bool mask[4];
};
} // namespace kobuki
#endif /* KOBUKI_CORE_DIGITAL_OUTPUT_HPP_ */