#include "ScitosBase.h"
Go to the source code of this file.
Defines | |
#define | BUMPER_CODE_FLAG_BUMPER_PRESSED (1<<4) |
#define | BUMPER_CODE_FLAG_BUS_ERROR (1<<5) |
#define | BUMPER_CODE_FLAG_EMERGENCY_BUTTON_PRESSED (1<<3) |
#define | BUMPER_CODE_FLAG_FREE_RUN_ACTIVE (1<<2) |
#define | BUMPER_CODE_FLAG_INTERNAL_ERROR (1<<7) |
#define | BUMPER_CODE_FLAG_MOTOR_STOPPED (1<<1) |
#define | BUMPER_CODE_FLAG_NORMAL (1<<0) |
#define | BUMPER_CODE_FLAG_STALL_MODE_DETECTED (1<<6) |
#define | BUMPER_CODE_FLAGS_EMPTY 0x00 |
#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_FLAG_BUMPER_PRESSED (1<<4) |
#define BUMPER_CODE_FLAG_BUS_ERROR (1<<5) |
#define BUMPER_CODE_FLAG_EMERGENCY_BUTTON_PRESSED (1<<3) |
#define BUMPER_CODE_FLAG_FREE_RUN_ACTIVE (1<<2) |
#define BUMPER_CODE_FLAG_INTERNAL_ERROR (1<<7) |
#define BUMPER_CODE_FLAG_MOTOR_STOPPED (1<<1) |
#define BUMPER_CODE_FLAG_NORMAL (1<<0) |
#define BUMPER_CODE_FLAG_STALL_MODE_DETECTED (1<<6) |
#define BUMPER_CODE_FLAGS_EMPTY 0x00 |
#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.