This repository has been archived on 2025-03-02. You can view files and clone it, but cannot push or open issues or pull requests.
rc2007-rescue/global.h

28 lines
491 B
C
Raw Normal View History

2007-04-17 22:10:05 +00:00
#ifndef _ROBOCUP_GLOBAL_H_
#define _ROBOCUP_GLOBAL_H_
#define F_CPU 16000000UL
#define TIMER_PRESCALER 8
2007-04-17 22:10:05 +00:00
#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
#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
2007-04-17 22:10:05 +00:00
enum Status {
Ok, White, Debris, DebrisWhite, Turn, TurnWhite
2007-04-17 22:10:05 +00:00
};
#endif