blob: bf3f90692ceab9b63ae913c0fe0c2fb686ad3a4e [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',
Brian Silvermanc5277542013-03-22 13:33:07 -070036 '<(AOS)/atom_code/messages/messages.gyp:messages',
Austin Schuha40624b2013-03-03 14:02:40 -080037 ],
38 'export_dependent_settings': [
39 '<(DEPTH)/frc971/control_loops/control_loops.gyp:state_feedback_loop',
40 '<(AOS)/common/common.gyp:controls',
41 'wrist_loop',
42 ],
43 },
44 {
45 'target_name': 'wrist_lib_test',
46 'type': 'executable',
47 'sources': [
48 'wrist_lib_test.cc',
49 ],
50 'dependencies': [
51 '<(EXTERNALS):gtest',
Austin Schuha40624b2013-03-03 14:02:40 -080052 'wrist_loop',
53 'wrist_lib',
54 '<(AOS)/common/common.gyp:queue_testutils',
55 '<(DEPTH)/frc971/control_loops/control_loops.gyp:state_feedback_loop',
56 ],
57 },
58 {
59 'target_name': 'wrist',
60 'type': 'executable',
61 'sources': [
62 'wrist_main.cc',
63 ],
64 'dependencies': [
Brian Silverman3022f2a2013-03-09 13:45:23 -080065 '<(AOS)/atom_code/atom_code.gyp:init',
Austin Schuha40624b2013-03-03 14:02:40 -080066 'wrist_lib',
67 'wrist_loop',
68 ],
69 },
70 ],
71}