blob: 6b50fad285a38fc45f8dfa433f6532deda7692ed [file] [log] [blame]
Austin Schuha40624b2013-03-03 14:02:40 -08001{
2 'targets': [
3 {
4 'target_name': 'wrist_loop',
5 'type': 'static_library',
6 'sources': ['wrist_motor.q'],
7 'variables': {
8 'header_path': 'frc971/control_loops/wrist',
9 },
10 'dependencies': [
11 '<(AOS)/build/aos.gyp:libaos',
12 '<(AOS)/common/common.gyp:control_loop_queues',
13 '<(AOS)/common/common.gyp:queues',
14 ],
15 'export_dependent_settings': [
16 '<(AOS)/build/aos.gyp:libaos',
17 '<(AOS)/common/common.gyp:control_loop_queues',
18 '<(AOS)/common/common.gyp:queues',
19 ],
20 'includes': ['../../../aos/build/queues.gypi'],
21 },
22 {
23 'target_name': 'wrist_lib',
24 'type': 'static_library',
25 'sources': [
26 'wrist.cc',
27 'wrist_motor_plant.cc',
Austin Schuhc1f68892013-03-16 17:06:27 -070028 'unaugmented_wrist_motor_plant.cc',
Austin Schuha40624b2013-03-03 14:02:40 -080029 ],
30 'dependencies': [
31 '<(AOS)/build/aos.gyp:libaos',
32 'wrist_loop',
33 '<(AOS)/common/common.gyp:controls',
34 '<(DEPTH)/frc971/frc971.gyp:common',
35 '<(DEPTH)/frc971/control_loops/control_loops.gyp:state_feedback_loop',
36 ],
37 'export_dependent_settings': [
38 '<(DEPTH)/frc971/control_loops/control_loops.gyp:state_feedback_loop',
39 '<(AOS)/common/common.gyp:controls',
40 'wrist_loop',
41 ],
42 },
43 {
44 'target_name': 'wrist_lib_test',
45 'type': 'executable',
46 'sources': [
47 'wrist_lib_test.cc',
48 ],
49 'dependencies': [
50 '<(EXTERNALS):gtest',
Austin Schuha40624b2013-03-03 14:02:40 -080051 'wrist_loop',
52 'wrist_lib',
53 '<(AOS)/common/common.gyp:queue_testutils',
54 '<(DEPTH)/frc971/control_loops/control_loops.gyp:state_feedback_loop',
55 ],
56 },
57 {
58 'target_name': 'wrist',
59 'type': 'executable',
60 'sources': [
61 'wrist_main.cc',
62 ],
63 'dependencies': [
Brian Silverman3022f2a2013-03-09 13:45:23 -080064 '<(AOS)/atom_code/atom_code.gyp:init',
Austin Schuha40624b2013-03-03 14:02:40 -080065 'wrist_lib',
66 'wrist_loop',
67 ],
68 },
69 ],
70}