summaryrefslogtreecommitdiffstats
path: root/global.h
blob: 6aa13e400c83ba188d4885ccca5f5ecd57b98833 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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