blob: ad05376c6d72879f64148703f6e48742bf9da95f [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',
Brian Silvermanbbc86782014-08-19 12:13:05 -040019 '<(AOS)/common/common.gyp:time',
Brian Silverman65e49702014-04-30 17:36:40 -070020 '<(AOS)/common/common.gyp:queue_testutils',
21 ],
22 },
23 {
Briana0407852014-04-06 17:10:33 -070024 'target_name': 'polytope',
25 'type': 'static_library',
26 'sources': [
27 #'polytope.h',
28 ],
29 'dependencies': [
30 '<(EXTERNALS):eigen',
31 '<(EXTERNALS):libcdd',
32 ],
33 'export_dependent_settings': [
34 '<(EXTERNALS):eigen',
35 '<(EXTERNALS):libcdd',
36 ],
37 },
Brian Silverman38111502014-04-10 12:36:26 -070038 {
39 'target_name': 'sensor_generation',
40 'type': 'static_library',
41 'sources': [
42 'sensor_generation.q',
43 ],
44 'variables': {
45 'header_path': 'aos/common/controls',
46 },
47 'includes': ['../../../aos/build/queues.gypi'],
48 },
49 {
50 'target_name': 'output_check',
51 'type': 'static_library',
52 'sources': [
53 'output_check.q',
54 ],
55 'variables': {
56 'header_path': 'aos/common/controls',
57 },
58 'includes': ['../../../aos/build/queues.gypi'],
59 },
Brian Silverman7ff05bf2014-04-10 12:48:25 -070060 {
61 'target_name': 'control_loop_queues',
62 'type': 'static_library',
63 'sources': [ '<(AOS)/common/controls/control_loops.q' ],
64 'variables': {
65 'header_path': 'aos/common/controls',
66 },
Brian Silverman7ff05bf2014-04-10 12:48:25 -070067 'includes': ['../../../aos/build/queues.gypi'],
68 },
69 {
70 'target_name': 'control_loop',
71 'type': 'static_library',
72 'sources': [
73 'control_loop.cc',
74 ],
75 'dependencies': [
76 '<(AOS)/common/messages/messages.gyp:robot_state',
77 '<(AOS)/build/aos.gyp:logging',
78 '<(AOS)/common/util/util.gyp:phased_loop',
79 '<(AOS)/common/common.gyp:time',
80 'control_loop_queues',
81 '<(AOS)/common/logging/logging.gyp:queue_logging',
82 '<(AOS)/common/util/util.gyp:log_interval',
83 'sensor_generation',
84 'output_check',
Brian Silverman01421c82014-04-11 14:50:56 -070085 '<(AOS)/common/common.gyp:queues',
Brian Silverman7ff05bf2014-04-10 12:48:25 -070086 ],
87 'export_dependent_settings': [
88 '<(AOS)/common/messages/messages.gyp:robot_state',
89 '<(AOS)/build/aos.gyp:logging',
90 '<(AOS)/common/util/util.gyp:phased_loop',
91 '<(AOS)/common/common.gyp:time',
92 'control_loop_queues',
93 '<(AOS)/common/logging/logging.gyp:queue_logging',
94 '<(AOS)/common/util/util.gyp:log_interval',
95 'sensor_generation',
96 'output_check',
Brian Silverman01421c82014-04-11 14:50:56 -070097 '<(AOS)/common/common.gyp:queues',
Brian Silverman7ff05bf2014-04-10 12:48:25 -070098 ],
99 },
Briana0407852014-04-06 17:10:33 -0700100 ],
101}