blob: 022dcfd0d30758b470b734420892f5ef4653585b [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',
28 ],
29 'dependencies': [
30 '<(AOS)/build/aos.gyp:libaos',
31 'wrist_loop',
32 '<(AOS)/common/common.gyp:controls',
33 '<(DEPTH)/frc971/frc971.gyp:common',
34 '<(DEPTH)/frc971/control_loops/control_loops.gyp:state_feedback_loop',
35 ],
36 'export_dependent_settings': [
37 '<(DEPTH)/frc971/control_loops/control_loops.gyp:state_feedback_loop',
38 '<(AOS)/common/common.gyp:controls',
39 'wrist_loop',
40 ],
41 },
42 {
43 'target_name': 'wrist_lib_test',
44 'type': 'executable',
45 'sources': [
46 'wrist_lib_test.cc',
47 ],
48 'dependencies': [
49 '<(EXTERNALS):gtest',
Austin Schuha40624b2013-03-03 14:02:40 -080050 'wrist_loop',
51 'wrist_lib',
52 '<(AOS)/common/common.gyp:queue_testutils',
53 '<(DEPTH)/frc971/control_loops/control_loops.gyp:state_feedback_loop',
54 ],
55 },
56 {
57 'target_name': 'wrist',
58 'type': 'executable',
59 'sources': [
60 'wrist_main.cc',
61 ],
62 'dependencies': [
Brian Silverman3022f2a2013-03-09 13:45:23 -080063 '<(AOS)/atom_code/atom_code.gyp:init',
Austin Schuha40624b2013-03-03 14:02:40 -080064 'wrist_lib',
65 'wrist_loop',
66 ],
67 },
68 ],
69}