blob: 18df79272eeb32243ede4db9b45298908241f78d [file] [log] [blame]
brians343bc112013-02-10 01:53:46 +00001{
2 'variables': {
3 'loop_files': [
4 'DriveTrain.q',
5 ]
6 },
7 'targets': [
8 {
Brian Silverman5275ade2013-03-03 12:58:25 -08009 'target_name': 'state_feedback_loop',
10 'type': 'static_library',
11 'sources': [
12 #'state_feedback_loop.h'
Austin Schuhf1881812013-03-03 13:08:33 -080013 #'StateFeedbackLoop.h'
Brian Silverman5275ade2013-03-03 12:58:25 -080014 ],
15 'dependencies': [
16 '<(EXTERNALS):eigen',
17 ],
18 'export_dependent_settings': [
19 '<(EXTERNALS):eigen',
20 ],
21 },
22 {
brians343bc112013-02-10 01:53:46 +000023 'target_name': 'control_loops',
24 'type': 'static_library',
25 'sources': ['<@(loop_files)'],
26 'variables': {
27 'header_path': 'frc971/control_loops',
28 },
29 'dependencies': [
brians343bc112013-02-10 01:53:46 +000030 '<(AOS)/common/common.gyp:control_loop_queues',
31 '<(AOS)/common/common.gyp:queues',
32 ],
33 'export_dependent_settings': [
brians343bc112013-02-10 01:53:46 +000034 '<(AOS)/common/common.gyp:control_loop_queues',
35 '<(AOS)/common/common.gyp:queues',
36 ],
37 'includes': ['../../aos/build/queues.gypi'],
38 },
39 {
40 'target_name': 'DriveTrain',
41 'type': 'executable',
42 'sources': [
43 'DriveTrain.cc',
44 ],
45 'dependencies': [
46 '<(AOS)/build/aos.gyp:logging',
47 '<(AOS)/common/common.gyp:controls',
brians343bc112013-02-10 01:53:46 +000048 'control_loops',
49 '<(DEPTH)/frc971/queues/queues.gyp:queues',
Brian Silvermanf665d692013-02-17 22:11:39 -080050 '<(AOS)/atom_code/atom_code.gyp:init',
Austin Schuhf1881812013-03-03 13:08:33 -080051 'state_feedback_loop',
brians343bc112013-02-10 01:53:46 +000052 ],
53 },
54 ],
55}