59#ifndef SwitchSubsumption_DEFINED
60#define SwitchSubsumption_DEFINED
64#ifdef WHITEBOARD_POSTER_STRING_CONVERSION
80#ifdef WHITEBOARD_POSTER_STRING_CONVERSION
88 std::ostringstream ss;
90 switch (theMotions(i))
103 { std::istringstream iss(str);
106 {
const int n = atoi(token.c_str());
130#ifdef WHITEBOARD_POSTER_STRING_CONVERSION
138 std::ostringstream ss;
139 switch (_motionCommand)
152 { std::istringstream iss(str);
154 for (
int i = 0; i < 1 && getline(iss, token,
',') ; i++)
155 {
const int n = atoi(token.c_str());
158 {
case 1 : _motionCommand=
TOTO_STOP;
break;
Subsumption SWITCH that select highest priority command.
std::string description() const
convert to a string
SwitchSubsumption(const std::string &motion_command)
string constructor
void from_string(const std::string &str)
convert from a string
TOTO motion of what is doing.
std::string description() const
convert to a string
void from_string(const std::string &str)
convert from a string
TotoDoingMotion(const std::string &motion_command)
string constructor
#define SUBSUMPTION_LEVELS
/file wb_switch_subsumption.h