blob: a21903cd7b84e43a110ffe465756c84eb775c9d9 [file] [log] [blame]
Brian Silvermand4417aa2014-01-18 12:45:12 -08001{
2 'targets': [
3 {
4 'target_name': 'shooter_loop',
5 'type': 'static_library',
6 'sources': ['shooter.q'],
7 'variables': {
8 'header_path': 'frc971/control_loops/shooter',
9 },
10 'dependencies': [
Brian Silverman7ff05bf2014-04-10 12:48:25 -070011 '<(AOS)/common/controls/controls.gyp:control_loop_queues',
Brian Silvermanaae236a2014-02-17 01:49:39 -080012 '<(DEPTH)/frc971/control_loops/control_loops.gyp:queues',
Brian Silvermand4417aa2014-01-18 12:45:12 -080013 ],
14 'export_dependent_settings': [
Brian Silverman7ff05bf2014-04-10 12:48:25 -070015 '<(AOS)/common/controls/controls.gyp:control_loop_queues',
Brian Silvermanaae236a2014-02-17 01:49:39 -080016 '<(DEPTH)/frc971/control_loops/control_loops.gyp:queues',
Brian Silvermand4417aa2014-01-18 12:45:12 -080017 ],
18 'includes': ['../../../aos/build/queues.gypi'],
19 },
20 {
21 'target_name': 'shooter_lib',
22 'type': 'static_library',
23 'sources': [
24 'shooter.cc',
25 'shooter_motor_plant.cc',
joe93778a62014-02-15 13:22:14 -080026 'unaugmented_shooter_motor_plant.cc',
Brian Silvermand4417aa2014-01-18 12:45:12 -080027 ],
28 'dependencies': [
29 'shooter_loop',
Brian Silverman7ff05bf2014-04-10 12:48:25 -070030 '<(AOS)/common/controls/controls.gyp:control_loop',
Brian Silvermand4417aa2014-01-18 12:45:12 -080031 '<(DEPTH)/frc971/frc971.gyp:constants',
32 '<(DEPTH)/frc971/control_loops/control_loops.gyp:state_feedback_loop',
Brian Silvermanf48fab32014-03-09 14:32:24 -070033 '<(AOS)/common/logging/logging.gyp:queue_logging',
Brian Silvermand4417aa2014-01-18 12:45:12 -080034 ],
35 'export_dependent_settings': [
36 'shooter_loop',
Brian Silverman7ff05bf2014-04-10 12:48:25 -070037 '<(AOS)/common/controls/controls.gyp:control_loop',
Brian Silvermand4417aa2014-01-18 12:45:12 -080038 '<(DEPTH)/frc971/control_loops/control_loops.gyp:state_feedback_loop',
39 ],
40 },
41 {
42 'target_name': 'shooter_lib_test',
43 'type': 'executable',
44 'sources': [
45 'shooter_lib_test.cc',
46 ],
47 'dependencies': [
48 '<(EXTERNALS):gtest',
49 'shooter_loop',
50 'shooter_lib',
Brian Silverman0feb89b2014-04-30 18:01:45 -070051 '<(AOS)/common/controls/controls.gyp:control_loop_test',
Brian Silvermand4417aa2014-01-18 12:45:12 -080052 '<(DEPTH)/frc971/control_loops/control_loops.gyp:state_feedback_loop',
Brian Silvermand4417aa2014-01-18 12:45:12 -080053 ],
54 },
55 {
56 'target_name': 'shooter',
57 'type': 'executable',
58 'sources': [
59 'shooter_main.cc',
60 ],
61 'dependencies': [
62 '<(AOS)/linux_code/linux_code.gyp:init',
63 'shooter_lib',
64 ],
65 },
66 ],
67}