blob: 16001c3af89da30dab9a672fed1f8c74e001e0e9 [file] [log] [blame]
Brian Silverman0a7f6062015-01-24 17:41:33 -05001{
2 'targets': [
3 {
Ben Fredrickson6b5ba792015-01-25 17:14:40 -08004 'target_name': 'claw_queue',
Brian Silverman0a7f6062015-01-24 17:41:33 -05005 'type': 'static_library',
6 'sources': ['claw.q'],
7 'variables': {
8 'header_path': 'frc971/control_loops/claw',
9 },
10 'dependencies': [
11 '<(AOS)/common/controls/controls.gyp:control_loop_queues',
12 '<(DEPTH)/frc971/control_loops/control_loops.gyp:queues',
13 ],
14 'export_dependent_settings': [
15 '<(AOS)/common/controls/controls.gyp:control_loop_queues',
16 '<(DEPTH)/frc971/control_loops/control_loops.gyp:queues',
17
18 ],
19 'includes': ['../../../aos/build/queues.gypi'],
20 },
Ben Fredrickson6b5ba792015-01-25 17:14:40 -080021 {
22 'target_name': 'claw_lib',
23 'type': 'static_library',
24 'sources': [
25 'claw.cc',
26 'claw_motor_plant.cc',
27 ],
28 'dependencies': [
29 'claw_queue',
30 '<(AOS)/common/controls/controls.gyp:control_loop',
Daniel Petti9cf68c82015-02-14 14:57:17 -080031 '<(AOS)/common/common.gyp:time',
Ben Fredrickson6b5ba792015-01-25 17:14:40 -080032 '<(DEPTH)/frc971/frc971.gyp:constants',
33 '<(DEPTH)/frc971/control_loops/control_loops.gyp:state_feedback_loop',
Daniel Petti9cf68c82015-02-14 14:57:17 -080034 '<(DEPTH)/frc971/zeroing/zeroing.gyp:zeroing',
Ben Fredrickson6b5ba792015-01-25 17:14:40 -080035 ],
36 'export_dependent_settings': [
37 'claw_queue',
38 '<(AOS)/common/controls/controls.gyp:control_loop',
Daniel Petti9cf68c82015-02-14 14:57:17 -080039 '<(AOS)/common/common.gyp:time',
Ben Fredrickson6b5ba792015-01-25 17:14:40 -080040 '<(DEPTH)/frc971/control_loops/control_loops.gyp:state_feedback_loop',
Daniel Petti9cf68c82015-02-14 14:57:17 -080041 '<(DEPTH)/frc971/zeroing/zeroing.gyp:zeroing',
Ben Fredrickson6b5ba792015-01-25 17:14:40 -080042 ],
43 },
44 {
45 'target_name': 'claw_lib_test',
46 'type': 'executable',
47 'sources': [
48 'claw_lib_test.cc',
49 ],
50 'dependencies': [
51 '<(EXTERNALS):gtest',
52 'claw_lib',
Ben Fredrickson6b5ba792015-01-25 17:14:40 -080053 '<(DEPTH)/frc971/control_loops/control_loops.gyp:state_feedback_loop',
Brian Silvermane6f64ab2015-02-05 17:03:56 -050054 '<(AOS)/common/controls/controls.gyp:control_loop_test',
Daniel Pettiebfaf922015-02-08 23:11:04 +000055 '<(AOS)/common/common.gyp:time',
Daniel Petti4d8bf1f2015-02-04 20:26:32 -080056 '<(DEPTH)/frc971/control_loops/control_loops.gyp:position_sensor_sim',
Philipp Schraderf75a8bf2015-02-02 05:30:16 +000057 '<(DEPTH)/frc971/control_loops/control_loops.gyp:team_number_test_environment',
Ben Fredrickson6b5ba792015-01-25 17:14:40 -080058 ],
59 },
60 {
61 'target_name': 'claw',
62 'type': 'executable',
63 'sources': [
64 'claw_main.cc',
65 ],
66 'dependencies': [
67 '<(AOS)/linux_code/linux_code.gyp:init',
68 'claw_lib',
69 ],
70 },
Brian Silverman0a7f6062015-01-24 17:41:33 -050071 ],
72}