Brian Silverman | 0a7f606 | 2015-01-24 17:41:33 -0500 | [diff] [blame] | 1 | { |
| 2 | 'targets': [ |
| 3 | { |
Ben Fredrickson | 6b5ba79 | 2015-01-25 17:14:40 -0800 | [diff] [blame] | 4 | 'target_name': 'claw_queue', |
Brian Silverman | 0a7f606 | 2015-01-24 17:41:33 -0500 | [diff] [blame] | 5 | 'type': 'static_library', |
| 6 | 'sources': ['claw.q'], |
| 7 | 'variables': { |
| 8 | 'header_path': 'frc971/control_loops/claw', |
| 9 | }, |
| 10 | 'dependencies': [ |
| 11 | '<(AOS)/common/controls/controls.gyp:control_loop_queues', |
| 12 | '<(DEPTH)/frc971/control_loops/control_loops.gyp:queues', |
| 13 | ], |
| 14 | 'export_dependent_settings': [ |
| 15 | '<(AOS)/common/controls/controls.gyp:control_loop_queues', |
| 16 | '<(DEPTH)/frc971/control_loops/control_loops.gyp:queues', |
| 17 | |
| 18 | ], |
| 19 | 'includes': ['../../../aos/build/queues.gypi'], |
| 20 | }, |
Ben Fredrickson | 6b5ba79 | 2015-01-25 17:14:40 -0800 | [diff] [blame] | 21 | { |
| 22 | 'target_name': 'claw_lib', |
| 23 | 'type': 'static_library', |
| 24 | 'sources': [ |
| 25 | 'claw.cc', |
| 26 | 'claw_motor_plant.cc', |
| 27 | ], |
| 28 | 'dependencies': [ |
| 29 | 'claw_queue', |
| 30 | '<(AOS)/common/controls/controls.gyp:control_loop', |
Daniel Petti | 9cf68c8 | 2015-02-14 14:57:17 -0800 | [diff] [blame^] | 31 | '<(AOS)/common/common.gyp:time', |
Ben Fredrickson | 6b5ba79 | 2015-01-25 17:14:40 -0800 | [diff] [blame] | 32 | '<(DEPTH)/frc971/frc971.gyp:constants', |
| 33 | '<(DEPTH)/frc971/control_loops/control_loops.gyp:state_feedback_loop', |
Daniel Petti | 9cf68c8 | 2015-02-14 14:57:17 -0800 | [diff] [blame^] | 34 | '<(DEPTH)/frc971/zeroing/zeroing.gyp:zeroing', |
Ben Fredrickson | 6b5ba79 | 2015-01-25 17:14:40 -0800 | [diff] [blame] | 35 | ], |
| 36 | 'export_dependent_settings': [ |
| 37 | 'claw_queue', |
| 38 | '<(AOS)/common/controls/controls.gyp:control_loop', |
Daniel Petti | 9cf68c8 | 2015-02-14 14:57:17 -0800 | [diff] [blame^] | 39 | '<(AOS)/common/common.gyp:time', |
Ben Fredrickson | 6b5ba79 | 2015-01-25 17:14:40 -0800 | [diff] [blame] | 40 | '<(DEPTH)/frc971/control_loops/control_loops.gyp:state_feedback_loop', |
Daniel Petti | 9cf68c8 | 2015-02-14 14:57:17 -0800 | [diff] [blame^] | 41 | '<(DEPTH)/frc971/zeroing/zeroing.gyp:zeroing', |
Ben Fredrickson | 6b5ba79 | 2015-01-25 17:14:40 -0800 | [diff] [blame] | 42 | ], |
| 43 | }, |
| 44 | { |
| 45 | 'target_name': 'claw_lib_test', |
| 46 | 'type': 'executable', |
| 47 | 'sources': [ |
| 48 | 'claw_lib_test.cc', |
| 49 | ], |
| 50 | 'dependencies': [ |
| 51 | '<(EXTERNALS):gtest', |
| 52 | 'claw_lib', |
Ben Fredrickson | 6b5ba79 | 2015-01-25 17:14:40 -0800 | [diff] [blame] | 53 | '<(DEPTH)/frc971/control_loops/control_loops.gyp:state_feedback_loop', |
Brian Silverman | e6f64ab | 2015-02-05 17:03:56 -0500 | [diff] [blame] | 54 | '<(AOS)/common/controls/controls.gyp:control_loop_test', |
Daniel Petti | ebfaf92 | 2015-02-08 23:11:04 +0000 | [diff] [blame] | 55 | '<(AOS)/common/common.gyp:time', |
Daniel Petti | 4d8bf1f | 2015-02-04 20:26:32 -0800 | [diff] [blame] | 56 | '<(DEPTH)/frc971/control_loops/control_loops.gyp:position_sensor_sim', |
Philipp Schrader | f75a8bf | 2015-02-02 05:30:16 +0000 | [diff] [blame] | 57 | '<(DEPTH)/frc971/control_loops/control_loops.gyp:team_number_test_environment', |
Ben Fredrickson | 6b5ba79 | 2015-01-25 17:14:40 -0800 | [diff] [blame] | 58 | ], |
| 59 | }, |
| 60 | { |
| 61 | 'target_name': 'claw', |
| 62 | 'type': 'executable', |
| 63 | 'sources': [ |
| 64 | 'claw_main.cc', |
| 65 | ], |
| 66 | 'dependencies': [ |
| 67 | '<(AOS)/linux_code/linux_code.gyp:init', |
| 68 | 'claw_lib', |
| 69 | ], |
| 70 | }, |
Brian Silverman | 0a7f606 | 2015-01-24 17:41:33 -0500 | [diff] [blame] | 71 | ], |
| 72 | } |