diff options
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 |