global.h File Reference

#include <avr/io.h>
#include <avr/interrupt.h>
#include <math.h>
#include <stdlib.h>
#include <avr/delay.h>

Include dependency graph for global.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  State

Defines

#define DELAY_TIME   800L
#define DOWN   0x01
#define EXPLORATION_EGREEDY   0
#define EXPLORATION_VALUE_BASED   1
#define F_CPU   11059200UL
#define LEFT   0x02
#define MAX_STATES   200
#define NONE   0x04
#define NUM_ACTIONS   0x04
#define RIGHT   0x03
#define STATESIZE   sizeof(State)
#define UP   0x00

Typedefs

typedef struct State STATE


Define Documentation

#define DELAY_TIME   800L

time that a servo needs for the movement from LEFT to RIGHT

Definition at line 31 of file global.h.

Referenced by ValueIteration::moveAndSaveFeedback().

#define DOWN   0x01

#define EXPLORATION_EGREEDY   0

Exploration Modes

Definition at line 63 of file global.h.

Referenced by ValueIteration::doExploration(), and ValueIteration::init().

#define EXPLORATION_VALUE_BASED   1

Definition at line 64 of file global.h.

Referenced by ValueIteration::doExploration(), and ValueIteration::init().

#define F_CPU   11059200UL

CPU clock

Definition at line 19 of file global.h.

#define LEFT   0x02

#define MAX_STATES   200

Maximum size of statespace (amount of states)

Definition at line 25 of file global.h.

Referenced by V24Control::processSetGridsize().

#define NONE   0x04

Definition at line 40 of file global.h.

#define NUM_ACTIONS   0x04

#define RIGHT   0x03

#define STATESIZE   sizeof(State)

determine the amount of memory-bytes which a state requires

Definition at line 57 of file global.h.

Referenced by StateSpace::getState(), V24Control::processGetState(), V24Control::processSetState(), and StateSpace::setState().

#define UP   0x00


Typedef Documentation

typedef struct State STATE


Generated on Wed Mar 25 12:58:40 2009 for Crawling Robot Microcontroller Software by  doxygen 1.5.5