summaryrefslogtreecommitdiff
path: root/Venus_Skeleton/calibration_wall-e.h
blob: 2c88c387b4936080d2d46852db0b4c2ec3028883 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
// WALLY configuration file

#define calObstacleTurretMaxDist 50
#define calObstacleTurretMinDist 10
#define CAL_IR_LEFT_THRESHOLD 700
#define CAL_IR_RIGHT_THRESHOLD 600
#define CAL_SAMPLE_GRIPPER_THRESHOLD 1
#define CAL_SAMPLE_TURRET_THRESHOLD 1

// Distance to drive during initial sequence. (to (x, y) (0, 0))
#define CAL_INITIAL_DISTANCE1 60.0
// Distance to drive during initial sequence (to starting position - one robot further then the other, to prevent collissions)
#define CAL_INITIAL_DISTANCE2 20.0

#define CAL_TURRET_DEGREE 10

// Left wheel calibration factor   WALL-E: 1.4 EVE: 1.0
#define CAL_SERVO_LEFT 1.4
// Right wheel calibration factor  WALL-E: 1.0 EVE: 1.1
#define CAL_SERVO_RIGHT 1.0

// Movement calibration
// Turn calibration (ms per degree)
#define CAL_MOVE_TURN 6.05
// Straight calibration ((1/ms) per cm)
#define CAL_MOVE_TURN 0.0154