diff options
author | neoraider <devnull@localhost> | 2007-04-18 00:10:05 +0200 |
---|---|---|
committer | neoraider <devnull@localhost> | 2007-04-18 00:10:05 +0200 |
commit | e7e1634240c78c7abbdc7fc6e0af1beddaea1d45 (patch) | |
tree | e09406ef8e02fbd7923734acb2e36d5e93d8f6db /global.h | |
parent | d02fbc84105ff2da74f03fd658ace8919e3e9437 (diff) | |
download | rc2007-rescue-e7e1634240c78c7abbdc7fc6e0af1beddaea1d45.tar rc2007-rescue-e7e1634240c78c7abbdc7fc6e0af1beddaea1d45.zip |
Linienverfolgung implementiert
Diffstat (limited to 'global.h')
-rw-r--r-- | global.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/global.h b/global.h new file mode 100644 index 0000000..6aa13e4 --- /dev/null +++ b/global.h @@ -0,0 +1,19 @@ +#ifndef _ROBOCUP_GLOBAL_H_ +#define _ROBOCUP_GLOBAL_H_ + +#define F_CPU 16000000UL + +#define DEFAULT_SPEED 0.7 +#define CURVE_SPIN 0.3 +#define TURN_SPIN 0.5 +#define STRAFE_DIRECTION 30.0 + +#define CAL_MIN_DIFF 0.3 +#define CAL_MAX_WHITE_DIFF 0.1 + + +enum Status { + Ok, White, Debris +}; + +#endif |