blob: 00992659c9e1de1c008d16427203d80a6a85aa84 [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': [
Austin Schuha40624b2013-03-03 14:02:40 -080011 '<(AOS)/common/common.gyp:control_loop_queues',
12 '<(AOS)/common/common.gyp:queues',
13 ],
14 'export_dependent_settings': [
Austin Schuha40624b2013-03-03 14:02:40 -080015 '<(AOS)/common/common.gyp:control_loop_queues',
16 '<(AOS)/common/common.gyp:queues',
17 ],
18 'includes': ['../../../aos/build/queues.gypi'],
19 },
20 {
21 'target_name': 'wrist_lib',
22 'type': 'static_library',
23 'sources': [
24 'wrist.cc',
25 'wrist_motor_plant.cc',
Austin Schuhc1f68892013-03-16 17:06:27 -070026 'unaugmented_wrist_motor_plant.cc',
Austin Schuha40624b2013-03-03 14:02:40 -080027 ],
28 'dependencies': [
Austin Schuha40624b2013-03-03 14:02:40 -080029 'wrist_loop',
30 '<(AOS)/common/common.gyp:controls',
31 '<(DEPTH)/frc971/frc971.gyp:common',
32 '<(DEPTH)/frc971/control_loops/control_loops.gyp:state_feedback_loop',
Brian Silvermanc5277542013-03-22 13:33:07 -070033 '<(AOS)/atom_code/messages/messages.gyp:messages',
Austin Schuha40624b2013-03-03 14:02:40 -080034 ],
35 'export_dependent_settings': [
36 '<(DEPTH)/frc971/control_loops/control_loops.gyp:state_feedback_loop',
37 '<(AOS)/common/common.gyp:controls',
38 'wrist_loop',
39 ],
40 },
41 {
42 'target_name': 'wrist_lib_test',
43 'type': 'executable',
44 'sources': [
45 'wrist_lib_test.cc',
46 ],
47 'dependencies': [
48 '<(EXTERNALS):gtest',
Austin Schuha40624b2013-03-03 14:02:40 -080049 'wrist_loop',
50 'wrist_lib',
51 '<(AOS)/common/common.gyp:queue_testutils',
52 '<(DEPTH)/frc971/control_loops/control_loops.gyp:state_feedback_loop',
53 ],
54 },
55 {
56 'target_name': 'wrist',
57 'type': 'executable',
58 'sources': [
59 'wrist_main.cc',
60 ],
61 'dependencies': [
Brian Silverman3022f2a2013-03-09 13:45:23 -080062 '<(AOS)/atom_code/atom_code.gyp:init',
Austin Schuha40624b2013-03-03 14:02:40 -080063 'wrist_lib',
64 'wrist_loop',
65 ],
66 },
67 ],
68}