#include "Servo.h"
#include "StateSpace.h"
Go to the source code of this file.
Data Structures | |
struct | Controller |
Defines | |
#define | LED_EXPLORATION 0x03 |
#define | LED_LEARN 0x02 |
#define | LED_POWER 0x00 |
#define | LED_WALK 0x01 |
#define | MAIN_MODE_EXPLORE_FEEDBACK 2 |
#define | MAIN_MODE_LEARN 4 |
#define | MAIN_MODE_READ_V24 3 |
#define | MAIN_MODE_STOP 0 |
#define | MAIN_MODE_WALK_POLICY 1 |
#define | SWITCH_ENABLE_EXPLORATION 4 |
#define | SWITCH_FULL_EXP_AT_START 5 |
#define | SWITCH_GAMMA 8 |
#define | SWITCH_INV_FB_0 3 |
#define | SWITCH_RAM 9 |
#define | SWITCH_RAM_VALUE 1 |
#define | SWITCH_RANDOM_STATE 2 |
#define | SWITCH_V24 6 |
#define | SWITCH_VDBE_EGREEDY 7 |
#define | SWITCH_WALK 1 |
#define LED_EXPLORATION 0x03 |
Definition at line 21 of file Controller.h.
Referenced by Controller::blinkLED(), ValueIteration::exploreAllFeedbacks(), ValueIteration::getGreedyAction(), Controller::getSwitchState(), Controller::initLEDs(), main(), ValueIteration::moveAndSaveFeedback(), and V24Control::processCommand().
#define LED_LEARN 0x02 |
Definition at line 20 of file Controller.h.
Referenced by Controller::blinkLED(), Controller::getSwitchState(), Controller::initLEDs(), main(), V24Control::processCommand(), and ValueIteration::valueIterateAllStates().
#define LED_POWER 0x00 |
Definition at line 18 of file Controller.h.
Referenced by Controller::blinkLED(), Controller::getSwitchState(), Controller::initLEDs(), ValueIteration::moveAndSaveFeedback(), and V24Control::receive().
#define LED_WALK 0x01 |
Definition at line 19 of file Controller.h.
Referenced by Controller::blinkLED(), Controller::getSwitchState(), Controller::initLEDs(), main(), ValueIteration::moveAndSaveFeedback(), and V24Control::processCommand().
#define MAIN_MODE_EXPLORE_FEEDBACK 2 |
#define MAIN_MODE_LEARN 4 |
#define MAIN_MODE_READ_V24 3 |
Definition at line 14 of file Controller.h.
#define MAIN_MODE_STOP 0 |
Definition at line 11 of file Controller.h.
Referenced by Controller::init(), main(), and V24Control::processCommand().
#define MAIN_MODE_WALK_POLICY 1 |
Definition at line 12 of file Controller.h.
Referenced by Controller::init(), main(), and V24Control::processCommand().
#define SWITCH_ENABLE_EXPLORATION 4 |
#define SWITCH_FULL_EXP_AT_START 5 |
#define SWITCH_GAMMA 8 |
Definition at line 30 of file Controller.h.
Referenced by Controller::getSwitchState(), and ValueIteration::init().
#define SWITCH_INV_FB_0 3 |
Definition at line 25 of file Controller.h.
Referenced by Controller::getSwitchState(), and ValueIteration::moveAndSaveFeedback().
#define SWITCH_RAM 9 |
Definition at line 33 of file Controller.h.
Referenced by Controller::getSwitchState(), and ValueIteration::moveAndSaveFeedback().
#define SWITCH_RAM_VALUE 1 |
#define SWITCH_RANDOM_STATE 2 |
Definition at line 24 of file Controller.h.
Referenced by Controller::getSwitchState(), and ValueIteration::moveAndSaveFeedback().
#define SWITCH_V24 6 |
Definition at line 28 of file Controller.h.
Referenced by Controller::disableV24Interrupt(), Controller::enableV24Interrupt(), V24Control::flushReceiveBuffer(), Controller::getSwitchState(), V24Control::init(), V24Control::newDataReceived(), V24Control::processCommand(), V24Control::processGetDebug(), V24Control::processGetExplorationConfig(), V24Control::processGetGamma(), V24Control::processGetGridsize(), V24Control::processGetState(), V24Control::processSetGamma(), V24Control::processSetGridsize(), V24Control::processSetState(), V24Control::receive(), V24Control::receiveCommand(), V24Control::transmit(), V24Control::transmitCommand(), and V24Control::transmitReceiveCommandProcessed().
#define SWITCH_VDBE_EGREEDY 7 |
Definition at line 29 of file Controller.h.
Referenced by Controller::getSwitchState(), and ValueIteration::init().
#define SWITCH_WALK 1 |