#include "ScitosBase.h"
Go to the source code of this file.
Defines | |
#define | BUMPER_CODE_LOCKED 0x02 |
#define | BUMPER_CODE_PUSHED 0x12 |
#define | CHARGER_PLUGGED 1 |
#define | MAKRO_GET_FEATURE(NAME) |
#define | MAKRO_SET_FEATURE(NAME) |
#define | VOLTAGE_ERROR_LEVEL 23 |
#define | VOLTAGE_FULL_LEVEL 28.8 |
#define | VOLTAGE_MID_LEVEL 26 |
#define | VOLTAGE_WARN_LEVEL 24 |
Functions | |
template<> | |
void | ScitosBase::setFeature< std::string > (std::string name, std::string value) |
#define BUMPER_CODE_LOCKED 0x02 |
#define BUMPER_CODE_PUSHED 0x12 |
#define CHARGER_PLUGGED 1 |
#define MAKRO_GET_FEATURE | ( | NAME | ) |
ROS_DEBUG("Current hardware feature %s is %s", #NAME, config.NAME?"True":"False"); \ config.NAME = getFeature<typeof(config.NAME)>(std::string(#NAME))
#define MAKRO_SET_FEATURE | ( | NAME | ) |
ROS_INFO("Setting feature %s to %s", #NAME, config.NAME?"True":"False"); \ setFeature(#NAME, config.NAME)
#define VOLTAGE_ERROR_LEVEL 23 |
#define VOLTAGE_FULL_LEVEL 28.8 |
#define VOLTAGE_MID_LEVEL 26 |
#define VOLTAGE_WARN_LEVEL 24 |
void ScitosBase::setFeature< std::string > | ( | std::string | name, |
std::string | value | ||
) |
Definition at line 22 of file ScitosBase.cpp.