blob: 58a2d2e84e3e28f9ab6bdef1b8d9a3dedee73b1e [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': [
Brian Silverman7ff05bf2014-04-10 12:48:25 -070011 '<(AOS)/common/controls/controls.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': [
Brian Silverman7ff05bf2014-04-10 12:48:25 -070015 '<(AOS)/common/controls/controls.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 Silverman7ff05bf2014-04-10 12:48:25 -070029 '<(AOS)/common/controls/controls.gyp:control_loop',
Brian Silvermand4417aa2014-01-18 12:45:12 -080030 '<(DEPTH)/frc971/frc971.gyp:constants',
31 '<(DEPTH)/frc971/control_loops/control_loops.gyp:state_feedback_loop',
Briana6553ed2014-04-02 21:26:46 -070032 '<(AOS)/common/controls/controls.gyp:polytope',
James Kuszmaulf63b0ae2014-03-25 16:52:11 -070033 '<(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 Silverman6dd2c532014-03-29 23:34:39 -070035 '<(AOS)/common/logging/logging.gyp:matrix_logging',
Brian Silvermand4417aa2014-01-18 12:45:12 -080036 ],
37 'export_dependent_settings': [
Brian Silverman5b433df2014-02-17 11:57:37 -080038 'claw_loop',
Brian Silverman7ff05bf2014-04-10 12:48:25 -070039 '<(AOS)/common/controls/controls.gyp:control_loop',
Brian Silvermand4417aa2014-01-18 12:45:12 -080040 '<(DEPTH)/frc971/control_loops/control_loops.gyp:state_feedback_loop',
Briana6553ed2014-04-02 21:26:46 -070041 '<(AOS)/common/controls/controls.gyp:polytope',
James Kuszmaulf63b0ae2014-03-25 16:52:11 -070042 '<(DEPTH)/frc971/control_loops/control_loops.gyp:coerce_goal',
Brian Silvermand4417aa2014-01-18 12:45:12 -080043 ],
44 },
45 {
Austin Schuh3bb9a442014-02-02 16:01:45 -080046 'target_name': 'claw_lib_test',
Brian Silvermand4417aa2014-01-18 12:45:12 -080047 'type': 'executable',
48 'sources': [
Austin Schuh3bb9a442014-02-02 16:01:45 -080049 'claw_lib_test.cc',
Brian Silvermand4417aa2014-01-18 12:45:12 -080050 ],
51 'dependencies': [
52 '<(EXTERNALS):gtest',
Brian Silverman5b433df2014-02-17 11:57:37 -080053 'claw_loop',
Austin Schuh3bb9a442014-02-02 16:01:45 -080054 'claw_lib',
Brian Silvermand4417aa2014-01-18 12:45:12 -080055 '<(DEPTH)/frc971/control_loops/control_loops.gyp:state_feedback_loop',
Brian Silverman65e49702014-04-30 17:36:40 -070056 '<(AOS)/common/controls/controls.gyp:control_loop_test',
Brian Silvermand4417aa2014-01-18 12:45:12 -080057 ],
58 },
59 {
Austin Schuhd36c3692014-02-18 21:00:57 -080060 'target_name': 'claw_calibration',
61 'type': 'executable',
62 'sources': [
63 'claw_calibration.cc',
64 ],
65 'dependencies': [
66 '<(AOS)/linux_code/linux_code.gyp:init',
67 'claw_loop',
Brian Silverman7ff05bf2014-04-10 12:48:25 -070068 '<(AOS)/common/controls/controls.gyp:control_loop',
Austin Schuhd36c3692014-02-18 21:00:57 -080069 '<(DEPTH)/frc971/frc971.gyp:constants',
70 ],
71 },
72 {
Austin Schuh3bb9a442014-02-02 16:01:45 -080073 'target_name': 'claw',
Brian Silvermand4417aa2014-01-18 12:45:12 -080074 'type': 'executable',
75 'sources': [
Austin Schuh3bb9a442014-02-02 16:01:45 -080076 'claw_main.cc',
Brian Silvermand4417aa2014-01-18 12:45:12 -080077 ],
78 'dependencies': [
79 '<(AOS)/linux_code/linux_code.gyp:init',
Austin Schuh3bb9a442014-02-02 16:01:45 -080080 'claw_lib',
Brian Silvermand4417aa2014-01-18 12:45:12 -080081 ],
82 },
83 ],
84}