blob: 40315fffba65b94e2824b1d4b3e2a6e6709c1579 [file] [log] [blame]
Brian Silverman17f503e2015-08-02 18:17:18 -07001{
2 'targets': [
3 {
4 'target_name': 'replay_claw',
5 'type': 'executable',
6 'variables': {
7 'no_rsync': 1,
8 },
9 'sources': [
10 'replay_claw.cc',
11 ],
12 'dependencies': [
13 'claw_queue',
14 '<(AOS)/common/controls/controls.gyp:replay_control_loop',
15 '<(AOS)/linux_code/linux_code.gyp:init',
16 ],
17 },
18 {
19 'target_name': 'claw_loop',
20 'type': 'static_library',
21 'sources': ['claw.q'],
22 'variables': {
23 'header_path': 'y2014/control_loops/claw',
24 },
25 'dependencies': [
26 '<(AOS)/common/controls/controls.gyp:control_loop_queues',
27 '<(DEPTH)/frc971/control_loops/control_loops.gyp:queues',
28 ],
29 'export_dependent_settings': [
30 '<(AOS)/common/controls/controls.gyp:control_loop_queues',
31 '<(DEPTH)/frc971/control_loops/control_loops.gyp:queues',
32 ],
33 'includes': ['../../../aos/build/queues.gypi'],
34 },
35 {
36 'target_name': 'claw_lib',
37 'type': 'static_library',
38 'sources': [
39 'claw.cc',
40 'claw_motor_plant.cc',
41 ],
42 'dependencies': [
43 'claw_loop',
44 '<(AOS)/common/controls/controls.gyp:control_loop',
45 '<(DEPTH)/y2014/y2014.gyp:constants',
46 '<(DEPTH)/frc971/control_loops/control_loops.gyp:state_feedback_loop',
47 '<(AOS)/common/controls/controls.gyp:polytope',
48 '<(DEPTH)/frc971/control_loops/control_loops.gyp:coerce_goal',
49 '<(AOS)/common/logging/logging.gyp:queue_logging',
50 '<(AOS)/common/logging/logging.gyp:matrix_logging',
51 ],
52 'export_dependent_settings': [
53 'claw_loop',
54 '<(AOS)/common/controls/controls.gyp:control_loop',
55 '<(DEPTH)/frc971/control_loops/control_loops.gyp:state_feedback_loop',
56 '<(AOS)/common/controls/controls.gyp:polytope',
57 '<(DEPTH)/frc971/control_loops/control_loops.gyp:coerce_goal',
58 ],
59 },
60 {
61 'target_name': 'claw_lib_test',
62 'type': 'executable',
63 'sources': [
64 'claw_lib_test.cc',
65 ],
66 'dependencies': [
67 '<(EXTERNALS):gtest',
68 'claw_loop',
69 'claw_lib',
70 '<(DEPTH)/frc971/control_loops/control_loops.gyp:state_feedback_loop',
71 '<(AOS)/common/controls/controls.gyp:control_loop_test',
72 ],
73 },
74 {
75 'target_name': 'claw_calibration',
76 'type': 'executable',
77 'sources': [
78 'claw_calibration.cc',
79 ],
80 'dependencies': [
81 '<(AOS)/linux_code/linux_code.gyp:init',
82 'claw_loop',
83 '<(AOS)/common/controls/controls.gyp:control_loop',
84 '<(DEPTH)/y2014/y2014.gyp:constants',
85 ],
86 },
87 {
88 'target_name': 'claw',
89 'type': 'executable',
90 'sources': [
91 'claw_main.cc',
92 ],
93 'dependencies': [
94 '<(AOS)/linux_code/linux_code.gyp:init',
95 'claw_lib',
96 ],
97 },
98 ],
99}