blob: 15be23c71665e0f75f07827b4a877c70d82fdb5f [file] [log] [blame]
Briana0407852014-04-06 17:10:33 -07001{
2 'targets': [
3 {
Brian Silverman65e49702014-04-30 17:36:40 -07004 'target_name': 'control_loop_test',
5 'type': 'static_library',
6 'sources': [
7 'control_loop_test.cc',
8 ],
9 'dependencies': [
10 '<(AOS)/common/common.gyp:time',
11 '<(AOS)/common/messages/messages.gyp:robot_state',
12 'sensor_generation',
13 'output_check',
14 '<(EXTERNALS):gtest',
15 '<(AOS)/common/common.gyp:queue_testutils',
16 ],
17 'export_dependent_settings': [
18 '<(EXTERNALS):gtest',
19 '<(AOS)/common/common.gyp:queue_testutils',
20 ],
21 },
22 {
Briana0407852014-04-06 17:10:33 -070023 'target_name': 'polytope',
24 'type': 'static_library',
25 'sources': [
26 #'polytope.h',
27 ],
28 'dependencies': [
29 '<(EXTERNALS):eigen',
30 '<(EXTERNALS):libcdd',
31 ],
32 'export_dependent_settings': [
33 '<(EXTERNALS):eigen',
34 '<(EXTERNALS):libcdd',
35 ],
36 },
Brian Silverman38111502014-04-10 12:36:26 -070037 {
38 'target_name': 'sensor_generation',
39 'type': 'static_library',
40 'sources': [
41 'sensor_generation.q',
42 ],
43 'variables': {
44 'header_path': 'aos/common/controls',
45 },
46 'includes': ['../../../aos/build/queues.gypi'],
47 },
48 {
49 'target_name': 'output_check',
50 'type': 'static_library',
51 'sources': [
52 'output_check.q',
53 ],
54 'variables': {
55 'header_path': 'aos/common/controls',
56 },
57 'includes': ['../../../aos/build/queues.gypi'],
58 },
Brian Silverman7ff05bf2014-04-10 12:48:25 -070059 {
60 'target_name': 'control_loop_queues',
61 'type': 'static_library',
62 'sources': [ '<(AOS)/common/controls/control_loops.q' ],
63 'variables': {
64 'header_path': 'aos/common/controls',
65 },
Brian Silverman7ff05bf2014-04-10 12:48:25 -070066 'includes': ['../../../aos/build/queues.gypi'],
67 },
68 {
69 'target_name': 'control_loop',
70 'type': 'static_library',
71 'sources': [
72 'control_loop.cc',
73 ],
74 'dependencies': [
75 '<(AOS)/common/messages/messages.gyp:robot_state',
76 '<(AOS)/build/aos.gyp:logging',
77 '<(AOS)/common/util/util.gyp:phased_loop',
78 '<(AOS)/common/common.gyp:time',
79 'control_loop_queues',
80 '<(AOS)/common/logging/logging.gyp:queue_logging',
81 '<(AOS)/common/util/util.gyp:log_interval',
82 'sensor_generation',
83 'output_check',
Brian Silverman01421c82014-04-11 14:50:56 -070084 '<(AOS)/common/common.gyp:queues',
Brian Silverman7ff05bf2014-04-10 12:48:25 -070085 ],
86 'export_dependent_settings': [
87 '<(AOS)/common/messages/messages.gyp:robot_state',
88 '<(AOS)/build/aos.gyp:logging',
89 '<(AOS)/common/util/util.gyp:phased_loop',
90 '<(AOS)/common/common.gyp:time',
91 'control_loop_queues',
92 '<(AOS)/common/logging/logging.gyp:queue_logging',
93 '<(AOS)/common/util/util.gyp:log_interval',
94 'sensor_generation',
95 'output_check',
Brian Silverman01421c82014-04-11 14:50:56 -070096 '<(AOS)/common/common.gyp:queues',
Brian Silverman7ff05bf2014-04-10 12:48:25 -070097 ],
98 },
Briana0407852014-04-06 17:10:33 -070099 ],
100}