James Kuszmaul | f254c1a | 2013-03-10 16:31:26 -0700 | [diff] [blame] | 1 | { |
| 2 | 'targets': [ |
| 3 | { |
Brian Silverman | d057569 | 2015-02-21 16:24:02 -0500 | [diff] [blame] | 4 | 'target_name': 'replay_drivetrain', |
| 5 | 'type': 'executable', |
| 6 | 'variables': { |
| 7 | 'no_rsync': 1, |
| 8 | }, |
| 9 | 'sources': [ |
| 10 | 'replay_drivetrain.cc', |
| 11 | ], |
| 12 | 'dependencies': [ |
| 13 | 'drivetrain_queue', |
| 14 | '<(AOS)/common/controls/controls.gyp:replay_control_loop', |
| 15 | '<(AOS)/linux_code/linux_code.gyp:init', |
| 16 | ], |
| 17 | }, |
| 18 | { |
Brian Silverman | ada5f2c | 2015-02-01 02:41:14 -0500 | [diff] [blame] | 19 | 'target_name': 'drivetrain_queue', |
James Kuszmaul | f254c1a | 2013-03-10 16:31:26 -0700 | [diff] [blame] | 20 | 'type': 'static_library', |
| 21 | 'sources': ['drivetrain.q'], |
| 22 | 'variables': { |
Brian Silverman | b691f5e | 2015-08-02 11:37:55 -0700 | [diff] [blame] | 23 | 'header_path': 'y2015/control_loops/drivetrain', |
James Kuszmaul | f254c1a | 2013-03-10 16:31:26 -0700 | [diff] [blame] | 24 | }, |
| 25 | 'dependencies': [ |
Brian Silverman | 7ff05bf | 2014-04-10 12:48:25 -0700 | [diff] [blame] | 26 | '<(AOS)/common/controls/controls.gyp:control_loop_queues', |
James Kuszmaul | f254c1a | 2013-03-10 16:31:26 -0700 | [diff] [blame] | 27 | ], |
| 28 | 'export_dependent_settings': [ |
Brian Silverman | 7ff05bf | 2014-04-10 12:48:25 -0700 | [diff] [blame] | 29 | '<(AOS)/common/controls/controls.gyp:control_loop_queues', |
James Kuszmaul | f254c1a | 2013-03-10 16:31:26 -0700 | [diff] [blame] | 30 | ], |
| 31 | 'includes': ['../../../aos/build/queues.gypi'], |
| 32 | }, |
| 33 | { |
Brian Silverman | 2c590c3 | 2013-11-04 18:08:54 -0800 | [diff] [blame] | 34 | 'target_name': 'polydrivetrain_plants', |
| 35 | 'type': 'static_library', |
| 36 | 'sources': [ |
| 37 | 'polydrivetrain_dog_motor_plant.cc', |
Brian Silverman | 2c590c3 | 2013-11-04 18:08:54 -0800 | [diff] [blame] | 38 | 'drivetrain_dog_motor_plant.cc', |
Brian Silverman | 2c590c3 | 2013-11-04 18:08:54 -0800 | [diff] [blame] | 39 | ], |
| 40 | 'dependencies': [ |
| 41 | '<(DEPTH)/frc971/control_loops/control_loops.gyp:state_feedback_loop', |
| 42 | ], |
| 43 | 'export_dependent_settings': [ |
| 44 | '<(DEPTH)/frc971/control_loops/control_loops.gyp:state_feedback_loop', |
| 45 | ], |
| 46 | }, |
| 47 | { |
James Kuszmaul | f254c1a | 2013-03-10 16:31:26 -0700 | [diff] [blame] | 48 | 'target_name': 'drivetrain_lib', |
| 49 | 'type': 'static_library', |
| 50 | 'sources': [ |
| 51 | 'drivetrain.cc', |
Austin Schuh | 427b370 | 2013-11-02 13:44:09 -0700 | [diff] [blame] | 52 | 'polydrivetrain_cim_plant.cc', |
James Kuszmaul | f254c1a | 2013-03-10 16:31:26 -0700 | [diff] [blame] | 53 | ], |
| 54 | 'dependencies': [ |
Brian Silverman | ada5f2c | 2015-02-01 02:41:14 -0500 | [diff] [blame] | 55 | 'drivetrain_queue', |
Brian Silverman | 7ff05bf | 2014-04-10 12:48:25 -0700 | [diff] [blame] | 56 | '<(AOS)/common/controls/controls.gyp:control_loop', |
Brian Silverman | b691f5e | 2015-08-02 11:37:55 -0700 | [diff] [blame] | 57 | '<(DEPTH)/y2015/y2015.gyp:constants', |
Brian | a6553ed | 2014-04-02 21:26:46 -0700 | [diff] [blame] | 58 | '<(AOS)/common/controls/controls.gyp:polytope', |
James Kuszmaul | f254c1a | 2013-03-10 16:31:26 -0700 | [diff] [blame] | 59 | '<(DEPTH)/frc971/control_loops/control_loops.gyp:state_feedback_loop', |
James Kuszmaul | fb0e0ae | 2014-03-25 07:04:47 -0700 | [diff] [blame] | 60 | '<(DEPTH)/frc971/control_loops/control_loops.gyp:coerce_goal', |
Brian Silverman | 07ec88e | 2014-12-28 00:13:08 -0800 | [diff] [blame] | 61 | '<(DEPTH)/frc971/queues/queues.gyp:gyro', |
Brian Silverman | 50a9d03 | 2014-02-16 17:20:57 -0800 | [diff] [blame] | 62 | '<(AOS)/common/util/util.gyp:log_interval', |
Brian Silverman | 61e41fd | 2014-02-16 19:08:50 -0800 | [diff] [blame] | 63 | '<(AOS)/common/logging/logging.gyp:queue_logging', |
Brian Silverman | fd5e2a3 | 2014-02-22 20:02:39 -0800 | [diff] [blame] | 64 | '<(AOS)/common/logging/logging.gyp:matrix_logging', |
James Kuszmaul | f254c1a | 2013-03-10 16:31:26 -0700 | [diff] [blame] | 65 | ], |
| 66 | 'export_dependent_settings': [ |
Brian | a6553ed | 2014-04-02 21:26:46 -0700 | [diff] [blame] | 67 | '<(AOS)/common/controls/controls.gyp:polytope', |
James Kuszmaul | f254c1a | 2013-03-10 16:31:26 -0700 | [diff] [blame] | 68 | '<(DEPTH)/frc971/control_loops/control_loops.gyp:state_feedback_loop', |
James Kuszmaul | fb0e0ae | 2014-03-25 07:04:47 -0700 | [diff] [blame] | 69 | '<(DEPTH)/frc971/control_loops/control_loops.gyp:coerce_goal', |
Brian Silverman | 7ff05bf | 2014-04-10 12:48:25 -0700 | [diff] [blame] | 70 | '<(AOS)/common/controls/controls.gyp:control_loop', |
Brian Silverman | ada5f2c | 2015-02-01 02:41:14 -0500 | [diff] [blame] | 71 | 'drivetrain_queue', |
James Kuszmaul | f254c1a | 2013-03-10 16:31:26 -0700 | [diff] [blame] | 72 | ], |
| 73 | }, |
| 74 | { |
| 75 | 'target_name': 'drivetrain_lib_test', |
| 76 | 'type': 'executable', |
| 77 | 'sources': [ |
| 78 | 'drivetrain_lib_test.cc', |
| 79 | ], |
| 80 | 'dependencies': [ |
| 81 | '<(EXTERNALS):gtest', |
Brian Silverman | ada5f2c | 2015-02-01 02:41:14 -0500 | [diff] [blame] | 82 | 'drivetrain_queue', |
James Kuszmaul | f254c1a | 2013-03-10 16:31:26 -0700 | [diff] [blame] | 83 | 'drivetrain_lib', |
Brian Silverman | faac3a2 | 2014-04-30 17:54:30 -0700 | [diff] [blame] | 84 | '<(AOS)/common/controls/controls.gyp:control_loop_test', |
James Kuszmaul | f254c1a | 2013-03-10 16:31:26 -0700 | [diff] [blame] | 85 | '<(DEPTH)/frc971/control_loops/control_loops.gyp:state_feedback_loop', |
Brian Silverman | 07ec88e | 2014-12-28 00:13:08 -0800 | [diff] [blame] | 86 | '<(DEPTH)/frc971/queues/queues.gyp:gyro', |
Brian Silverman | 01421c8 | 2014-04-11 14:50:56 -0700 | [diff] [blame] | 87 | '<(AOS)/common/common.gyp:queues', |
James Kuszmaul | f254c1a | 2013-03-10 16:31:26 -0700 | [diff] [blame] | 88 | ], |
| 89 | }, |
| 90 | { |
| 91 | 'target_name': 'drivetrain', |
| 92 | 'type': 'executable', |
| 93 | 'sources': [ |
| 94 | 'drivetrain_main.cc', |
| 95 | ], |
| 96 | 'dependencies': [ |
Brian Silverman | 14fd0fb | 2014-01-14 21:42:01 -0800 | [diff] [blame] | 97 | '<(AOS)/linux_code/linux_code.gyp:init', |
James Kuszmaul | f254c1a | 2013-03-10 16:31:26 -0700 | [diff] [blame] | 98 | 'drivetrain_lib', |
Brian Silverman | ada5f2c | 2015-02-01 02:41:14 -0500 | [diff] [blame] | 99 | 'drivetrain_queue', |
James Kuszmaul | f254c1a | 2013-03-10 16:31:26 -0700 | [diff] [blame] | 100 | ], |
| 101 | }, |
| 102 | ], |
| 103 | } |