diff options
author | neoraider <devnull@localhost> | 2007-04-19 01:00:05 +0200 |
---|---|---|
committer | neoraider <devnull@localhost> | 2007-04-19 01:00:05 +0200 |
commit | e7eeeb0d4e825a175c67cd1c0256c91362517ebb (patch) | |
tree | 32cd6997837c9decb909dc36824ea7abc896c88e /global.h | |
parent | 847645b3cc8dd32b51f9c0a42d0b4308fa40e4a5 (diff) | |
download | rc2007-rescue-e7eeeb0d4e825a175c67cd1c0256c91362517ebb.tar rc2007-rescue-e7eeeb0d4e825a175c67cd1c0256c91362517ebb.zip |
Entfernungssensoren in Ordnung gebracht, Hindernisumfahrung implementiert.
Diffstat (limited to 'global.h')
-rw-r--r-- | global.h | 10 |
1 files changed, 9 insertions, 1 deletions
@@ -2,6 +2,7 @@ #define _ROBOCUP_GLOBAL_H_ #define F_CPU 16000000UL +#define TIMER_PRESCALER 8 #define DEFAULT_SPEED 0.7 #define CURVE_SPIN 0.3 @@ -11,9 +12,16 @@ #define CAL_MIN_DIFF 0.3 #define CAL_MAX_WHITE_DIFF 0.1 +#define DISTANCE_GAIN 9 +#define DISTANCE_RECOG 4 +#define DISTANCE_MAX 6 +#define DISTANCE_MIN 5 +#define DISTANCE_SPIN 0.3 +#define DISTANCE_ANGLE 30.0 + enum Status { - Ok, White, Debris + Ok, White, Debris, DebrisWhite, Turn, TurnWhite }; #endif |