test_params.c
901 Bytes
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
#include <parameters/param.h>
// WARNING:
// do not changes these unless
// you want to recompute the
// answers for all of the unit tests
/**
* @group Testing
*/
PARAM_DEFINE_FLOAT(TEST_MIN, -1.0f);
/**
* @group Testing
*/
PARAM_DEFINE_FLOAT(TEST_MAX, 1.0f);
/**
* @group Testing
*/
PARAM_DEFINE_FLOAT(TEST_TRIM, 0.5f);
/**
* @group Testing
*/
PARAM_DEFINE_FLOAT(TEST_HP, 10.0f);
/**
* @group Testing
*/
PARAM_DEFINE_FLOAT(TEST_LP, 10.0f);
/**
* @group Testing
*/
PARAM_DEFINE_FLOAT(TEST_P, 0.2f);
/**
* @group Testing
*/
PARAM_DEFINE_FLOAT(TEST_I, 0.1f);
/**
* @group Testing
*/
PARAM_DEFINE_FLOAT(TEST_I_MAX, 1.0f);
/**
* @group Testing
*/
PARAM_DEFINE_FLOAT(TEST_D, 0.01f);
/**
* @group Testing
*/
PARAM_DEFINE_FLOAT(TEST_D_LP, 10.0f);
/**
* @group Testing
*/
PARAM_DEFINE_FLOAT(TEST_MEAN, 1.0f);
/**
* @group Testing
*/
PARAM_DEFINE_FLOAT(TEST_DEV, 2.0f);