-
Notifications
You must be signed in to change notification settings - Fork 0
/
config_file.h
executable file
·75 lines (56 loc) · 1.72 KB
/
config_file.h
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
/*!
* \author Nicolas Van der Noot
* \file config_file.h
* \brief This file is used to configure the project environment without parsing the 'config_file.txt' file
*
* To use it, you just have to uncomment 'HARDCODED_CONFIG'.
* This file is inspired from 'config_file.txt'. You can read the instructions there.
*/
#ifndef _CONFIG_FILE_H_
#define _CONFIG_FILE_H_
//#define HARDCODED_CONFIG ///< uncomment this field to use the hardcoded values instead of the ones of 'config_file.txt'
// ROBOT CONTROLLERS
#define BLUE_CTRL "JoystickCtrl"
#define RED_CTRL "RestingCtrl"
#define YELLLOW_CTRL "KeyboardCtrl"
#define WHITE_CTRL "KeyboardCtrl"
// ROBOT INITIAL POSITIONS
#define BLUE_T1 0.67
#define BLUE_T2 1.15
#define BLUE_R3 -90.0
#define RED_T1 0.82
#define RED_T2 1.4
#define RED_R3 -90.0
#define YELLOW_T1 0.67
#define YELLOW_T2 -1.15
#define YELLOW_R3 90.0
#define WHITE_T1 0.82
#define WHITE_T2 -1.4
#define WHITE_R3 90.0
// ROBOTS INITIAL UNCERTAINTY
#define T1_UNCERT 0.02
#define T2_UNCERT 0.02
#define R3_UNCERT 10.0
// MOTORS
#define ACTUATOR_NOISE 0.07
#define WHEEL_FRICTION 0.2
#define TOWER_FRICTION 0.02
// SENSORS NOISE
#define WHEEL_NOISE 0.007
#define TOWER_NOISE 0.015
// POSITION BEACONS
#define TEAM_A_BEACON_1_X 1.062
#define TEAM_A_BEACON_1_Y 1.562
#define TEAM_A_BEACON_2_X -1.062
#define TEAM_A_BEACON_2_Y 1.562
#define TEAM_A_BEACON_3_X 0.0
#define TEAM_A_BEACON_3_Y -1.562
#define TEAM_B_BEACON_1_X 1.062
#define TEAM_B_BEACON_1_Y -1.562
#define TEAM_B_BEACON_2_X -1.062
#define TEAM_B_BEACON_2_Y -1.562
#define TEAM_B_BEACON_3_X 0.0
#define TEAM_B_BEACON_3_Y 1.562
// NUMBER OF JOINTS ANIM
#define NB_JOINTS_ANIM 48
#endif