#include "global.h"
Go to the source code of this file.
Data Structures | |
class | BoardController |
Defines | |
#define | BIOLOID_UBRR 1 |
#define | CTS PC2 |
#define | EN_AIR_V24 PC5 |
#define | EN_RXD_BIOLOID PC6 |
#define | EN_TXD_BIOLOID PC7 |
#define | LED_EXPLORATION 0x03 |
#define | LED_LEARN 0x02 |
#define | LED_POWER 0x00 |
#define | LED_WALK 0x01 |
#define | RTS PC3 |
#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 | V24_UBRR 103 |
#define BIOLOID_UBRR 1 |
Definition at line 46 of file BoardController.h.
Referenced by BoardController::enableSerialBioloidInterface().
#define CTS PC2 |
Definition at line 40 of file BoardController.h.
Referenced by BoardController::initPorts(), and V24Control::transmit().
#define EN_AIR_V24 PC5 |
Definition at line 43 of file BoardController.h.
Referenced by BoardController::disableSerialInterfaces(), BoardController::enableSerialBioloidInterface(), BoardController::enableSerialV24Interface(), BoardController::initPorts(), and BioloidServo::TxPacket().
#define EN_RXD_BIOLOID PC6 |
Definition at line 42 of file BoardController.h.
Referenced by BoardController::disableSerialInterfaces(), BoardController::enableSerialBioloidInterface(), BoardController::enableSerialV24Interface(), BoardController::initPorts(), BioloidServo::RxPacket(), and BioloidServo::TxPacket().
#define EN_TXD_BIOLOID PC7 |
Definition at line 41 of file BoardController.h.
Referenced by BoardController::disableSerialInterfaces(), BoardController::enableSerialBioloidInterface(), BoardController::enableSerialV24Interface(), BoardController::initPorts(), BioloidServo::RxPacket(), and BioloidServo::TxPacket().
#define LED_EXPLORATION 0x03 |
Definition at line 23 of file BoardController.h.
Referenced by BoardController::blinkLED(), BoardController::enableSerialV24Interface(), ValueIteration::exploreAllFeedbacks(), ValueIteration::getGreedyAction(), BoardController::getSwitchState(), BoardController::initPorts(), main(), ValueIteration::moveAndSaveFeedback(), BioloidServo::pingServo(), V24Control::processCommand(), and BioloidServo::RxPacket().
#define LED_LEARN 0x02 |
Definition at line 22 of file BoardController.h.
Referenced by BoardController::blinkLED(), BoardController::getSwitchState(), BoardController::initPorts(), main(), V24Control::processCommand(), BioloidServo::RxPacket(), and ValueIteration::valueIterateAllStates().
#define LED_POWER 0x00 |
Definition at line 20 of file BoardController.h.
Referenced by BoardController::blinkLED(), BoardController::getSwitchState(), BoardController::initPorts(), and V24Control::receive().
#define LED_WALK 0x01 |
Definition at line 21 of file BoardController.h.
Referenced by BoardController::blinkLED(), Environment::doAction(), BoardController::getSwitchState(), BoardController::initPorts(), main(), ValueIteration::moveAndSaveFeedback(), BioloidServo::pingServo(), V24Control::processCommand(), and BioloidServo::RxPacket().
#define RTS PC3 |
Definition at line 39 of file BoardController.h.
Referenced by BoardController::enableSerialBioloidInterface(), BoardController::enableSerialV24Interface(), BoardController::initPorts(), and main().
#define SWITCH_ENABLE_EXPLORATION 4 |
Definition at line 28 of file BoardController.h.
Referenced by ValueIteration::doNextAction(), and BoardController::getSwitchState().
#define SWITCH_FULL_EXP_AT_START 5 |
Definition at line 29 of file BoardController.h.
Referenced by BoardController::getSwitchState(), and main().
#define SWITCH_GAMMA 8 |
Definition at line 32 of file BoardController.h.
Referenced by BoardController::getSwitchState(), and ValueIteration::ValueIteration().
#define SWITCH_INV_FB_0 3 |
Definition at line 27 of file BoardController.h.
Referenced by FeedbackSensor::getFeedback(), and BoardController::getSwitchState().
#define SWITCH_RAM 9 |
Definition at line 35 of file BoardController.h.
Referenced by BoardController::getSwitchState(), and ValueIteration::moveAndSaveFeedback().
#define SWITCH_RAM_VALUE 1 |
Definition at line 36 of file BoardController.h.
Referenced by BoardController::getSwitchState().
#define SWITCH_RANDOM_STATE 2 |
Definition at line 26 of file BoardController.h.
Referenced by BoardController::getSwitchState(), and ValueIteration::moveAndSaveFeedback().
#define SWITCH_V24 6 |
Definition at line 30 of file BoardController.h.
Referenced by BoardController::disableSerialInterfaces(), BoardController::disableV24Interrupt(), BoardController::enableV24Interrupt(), V24Control::flushReceiveBuffer(), BoardController::getSwitchState(), V24Control::processCommand(), V24Control::processGetDebug(), V24Control::processGetExplorationConfig(), V24Control::processGetGamma(), V24Control::processGetGridsize(), V24Control::processGetState(), V24Control::processSetGamma(), V24Control::processSetGridsize(), V24Control::processSetState(), V24Control::receive(), V24Control::receiveCommand(), V24Control::transmitCommand(), and V24Control::transmitReceiveCommandProcessed().
#define SWITCH_VDBE_EGREEDY 7 |
Definition at line 31 of file BoardController.h.
Referenced by BoardController::getSwitchState(), and ValueIteration::ValueIteration().
#define SWITCH_WALK 1 |
Definition at line 25 of file BoardController.h.
Referenced by BoardController::getSwitchState(), and main().
#define V24_UBRR 103 |
Definition at line 47 of file BoardController.h.
Referenced by BoardController::enableSerialV24Interface().