Austin Schuh | a40624b | 2013-03-03 14:02:40 -0800 | [diff] [blame] | 1 | { |
| 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 Schuh | a40624b | 2013-03-03 14:02:40 -0800 | [diff] [blame] | 11 | '<(AOS)/common/common.gyp:control_loop_queues', |
| 12 | '<(AOS)/common/common.gyp:queues', |
| 13 | ], |
| 14 | 'export_dependent_settings': [ |
Austin Schuh | a40624b | 2013-03-03 14:02:40 -0800 | [diff] [blame] | 15 | '<(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 Schuh | c1f6889 | 2013-03-16 17:06:27 -0700 | [diff] [blame] | 26 | 'unaugmented_wrist_motor_plant.cc', |
Austin Schuh | a40624b | 2013-03-03 14:02:40 -0800 | [diff] [blame] | 27 | ], |
| 28 | 'dependencies': [ |
Austin Schuh | a40624b | 2013-03-03 14:02:40 -0800 | [diff] [blame] | 29 | 'wrist_loop', |
| 30 | '<(AOS)/common/common.gyp:controls', |
Brian Silverman | 431500a | 2013-10-28 19:50:15 -0700 | [diff] [blame] | 31 | '<(DEPTH)/frc971/frc971.gyp:constants', |
Austin Schuh | a40624b | 2013-03-03 14:02:40 -0800 | [diff] [blame] | 32 | '<(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 Schuh | a40624b | 2013-03-03 14:02:40 -0800 | [diff] [blame] | 48 | '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 Silverman | 3022f2a | 2013-03-09 13:45:23 -0800 | [diff] [blame] | 61 | '<(AOS)/atom_code/atom_code.gyp:init', |
Austin Schuh | a40624b | 2013-03-03 14:02:40 -0800 | [diff] [blame] | 62 | 'wrist_lib', |
| 63 | 'wrist_loop', |
| 64 | ], |
| 65 | }, |
| 66 | ], |
| 67 | } |