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