blob: bdce2291784ae6e930f8f77f359a36dc63b6c5b8 [file] [log] [blame]
Brian Silvermand4417aa2014-01-18 12:45:12 -08001{
2 'targets': [
3 {
Brian Silverman5b433df2014-02-17 11:57:37 -08004 'target_name': 'claw_loop',
Brian Silvermand4417aa2014-01-18 12:45:12 -08005 'type': 'static_library',
Austin Schuh3bb9a442014-02-02 16:01:45 -08006 'sources': ['claw.q'],
Brian Silvermand4417aa2014-01-18 12:45:12 -08007 'variables': {
Austin Schuh3bb9a442014-02-02 16:01:45 -08008 'header_path': 'frc971/control_loops/claw',
Brian Silvermand4417aa2014-01-18 12:45:12 -08009 },
10 'dependencies': [
11 '<(AOS)/common/common.gyp:control_loop_queues',
Brian Silvermane0a95462014-02-17 00:41:09 -080012 '<(DEPTH)/frc971/control_loops/control_loops.gyp:queues',
Brian Silvermand4417aa2014-01-18 12:45:12 -080013 ],
14 'export_dependent_settings': [
15 '<(AOS)/common/common.gyp:control_loop_queues',
Brian Silvermane0a95462014-02-17 00:41:09 -080016 '<(DEPTH)/frc971/control_loops/control_loops.gyp:queues',
Brian Silvermand4417aa2014-01-18 12:45:12 -080017 ],
18 'includes': ['../../../aos/build/queues.gypi'],
19 },
20 {
Austin Schuh3bb9a442014-02-02 16:01:45 -080021 'target_name': 'claw_lib',
Brian Silvermand4417aa2014-01-18 12:45:12 -080022 'type': 'static_library',
23 'sources': [
Austin Schuh3bb9a442014-02-02 16:01:45 -080024 'claw.cc',
Austin Schuhcda86af2014-02-16 16:16:39 -080025 'claw_motor_plant.cc',
Brian Silvermand4417aa2014-01-18 12:45:12 -080026 ],
27 'dependencies': [
Brian Silverman5b433df2014-02-17 11:57:37 -080028 'claw_loop',
Brian Silvermand4417aa2014-01-18 12:45:12 -080029 '<(AOS)/common/common.gyp:controls',
30 '<(DEPTH)/frc971/frc971.gyp:constants',
31 '<(DEPTH)/frc971/control_loops/control_loops.gyp:state_feedback_loop',
James Kuszmaulf63b0ae2014-03-25 16:52:11 -070032 '<(DEPTH)/aos/build/externals.gyp:libcdd',
33 '<(DEPTH)/frc971/control_loops/control_loops.gyp:coerce_goal',
Brian Silvermanf48fab32014-03-09 14:32:24 -070034 '<(AOS)/common/logging/logging.gyp:queue_logging',
Brian Silvermand4417aa2014-01-18 12:45:12 -080035 ],
36 'export_dependent_settings': [
Brian Silverman5b433df2014-02-17 11:57:37 -080037 'claw_loop',
Brian Silvermand4417aa2014-01-18 12:45:12 -080038 '<(AOS)/common/common.gyp:controls',
39 '<(DEPTH)/frc971/control_loops/control_loops.gyp:state_feedback_loop',
James Kuszmaulf63b0ae2014-03-25 16:52:11 -070040 '<(DEPTH)/aos/build/externals.gyp:libcdd',
41 '<(DEPTH)/frc971/control_loops/control_loops.gyp:coerce_goal',
Brian Silvermand4417aa2014-01-18 12:45:12 -080042 ],
43 },
44 {
Austin Schuh3bb9a442014-02-02 16:01:45 -080045 'target_name': 'claw_lib_test',
Brian Silvermand4417aa2014-01-18 12:45:12 -080046 'type': 'executable',
47 'sources': [
Austin Schuh3bb9a442014-02-02 16:01:45 -080048 'claw_lib_test.cc',
Brian Silvermand4417aa2014-01-18 12:45:12 -080049 ],
50 'dependencies': [
51 '<(EXTERNALS):gtest',
Brian Silverman5b433df2014-02-17 11:57:37 -080052 'claw_loop',
Austin Schuh3bb9a442014-02-02 16:01:45 -080053 'claw_lib',
Brian Silvermand4417aa2014-01-18 12:45:12 -080054 '<(AOS)/common/common.gyp:queue_testutils',
55 '<(DEPTH)/frc971/control_loops/control_loops.gyp:state_feedback_loop',
56 ],
57 },
58 {
Austin Schuhd36c3692014-02-18 21:00:57 -080059 'target_name': 'claw_calibration',
60 'type': 'executable',
61 'sources': [
62 'claw_calibration.cc',
63 ],
64 'dependencies': [
65 '<(AOS)/linux_code/linux_code.gyp:init',
66 'claw_loop',
67 '<(AOS)/common/common.gyp:controls',
68 '<(DEPTH)/frc971/frc971.gyp:constants',
69 ],
70 },
71 {
Austin Schuh3bb9a442014-02-02 16:01:45 -080072 'target_name': 'claw',
Brian Silvermand4417aa2014-01-18 12:45:12 -080073 'type': 'executable',
74 'sources': [
Austin Schuh3bb9a442014-02-02 16:01:45 -080075 'claw_main.cc',
Brian Silvermand4417aa2014-01-18 12:45:12 -080076 ],
77 'dependencies': [
78 '<(AOS)/linux_code/linux_code.gyp:init',
Austin Schuh3bb9a442014-02-02 16:01:45 -080079 'claw_lib',
Brian Silvermand4417aa2014-01-18 12:45:12 -080080 ],
81 },
82 ],
83}