blob: d66bf6c47da4cfe19b4ca06b2a2937162efb1d6b [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',
Brian Silverman431500a2013-10-28 19:50:15 -070031 '<(DEPTH)/frc971/frc971.gyp:constants',
Austin Schuha40624b2013-03-03 14:02:40 -080032 '<(DEPTH)/frc971/control_loops/control_loops.gyp:state_feedback_loop',
33 ],
34 'export_dependent_settings': [
35 '<(DEPTH)/frc971/control_loops/control_loops.gyp:state_feedback_loop',
36 '<(AOS)/common/common.gyp:controls',
37 'wrist_loop',
38 ],
39 },
40 {
41 'target_name': 'wrist_lib_test',
42 'type': 'executable',
43 'sources': [
44 'wrist_lib_test.cc',
45 ],
46 'dependencies': [
47 '<(EXTERNALS):gtest',
Austin Schuha40624b2013-03-03 14:02:40 -080048 'wrist_loop',
49 'wrist_lib',
50 '<(AOS)/common/common.gyp:queue_testutils',
51 '<(DEPTH)/frc971/control_loops/control_loops.gyp:state_feedback_loop',
52 ],
53 },
54 {
55 'target_name': 'wrist',
56 'type': 'executable',
57 'sources': [
58 'wrist_main.cc',
59 ],
60 'dependencies': [
Brian Silverman3022f2a2013-03-09 13:45:23 -080061 '<(AOS)/atom_code/atom_code.gyp:init',
Austin Schuha40624b2013-03-03 14:02:40 -080062 'wrist_lib',
63 'wrist_loop',
64 ],
65 },
66 ],
67}