-
Notifications
You must be signed in to change notification settings - Fork 2
/
Configuration.h
59 lines (42 loc) · 1.15 KB
/
Configuration.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
/*
* Point.h
*
* Created on: May 27, 2014
* Author: user
*/
#ifndef CONFIGURATION_H_
#define CONFIGURATION_H_
// ----------------------------------
// GENERAL
#define DEMO_MODE false
#define DEMO_RANDOM 100
#define DEMO_RANDOM_RATIO 100
// ----------------------------------
// Laser Configuration
#define LASER_RESOLUTION 0.36
#define LASER_MESURING_AREA 120
#define LASER_MAXIMUM_RANGE 2
#define LASER_ARRAY_SIZE 666
#define LASER_OBSTACLE_DISTANCE 1.0
#define LASER_MIN_ROTATION_DISTANCE 0.25
#define LASER_MIN_FORWARD_DISTANCE 0.75
#define LASER_MIN_FORWARD_START_INDEX 233
#define LASER_MIN_FORWARD_END_INDEX 413
// ----------------------------------
// Map
#define MAP_ROWS 10
#define MAP_COLUMNS 10
#define MAP_RESOLUTION 0.1
#define MAP_INTERMEDIATE_POINT_DISTANCE 0.5
// ----------------------------------
// Particle
#define PARTICLE_ERROR_RANGE 5
#define PARTICLE_MAGIC_NUMBER 2
#define INIT_PARTICLE_COUNT 10
#define PARTICLE_KILL_THRESHOLD 0.2
#define PARTICLE_BIRTH_THRESHOLD 0.6
#define PARTICLE_COUNT 50
#define PARTICLE_PROB_MOV_YAW 120
#define PARTICLE_PROB_MOV_DISTANCE 1
#define PARTICLE_SPREAD_MODULO 10
#endif /* POINT_H_ */