| { |
| 'targets': [ |
| { |
| 'target_name': 'action_client', |
| 'type': 'static_library', |
| 'sources': [ |
| #'<(DEPTH)/frc971/actions/action_client.h', |
| ], |
| 'dependencies': [ |
| '<(AOS)/build/aos.gyp:logging', |
| '<(AOS)/common/common.gyp:queues', |
| ], |
| 'export_dependent_settings': [ |
| '<(AOS)/build/aos.gyp:logging', |
| '<(AOS)/common/common.gyp:queues', |
| ], |
| }, |
| { |
| 'target_name': 'action_queue', |
| 'type': 'static_library', |
| 'sources': [ |
| '<(DEPTH)/frc971/actions/action.q', |
| ], |
| 'variables': { |
| 'header_path': 'frc971/actions', |
| }, |
| 'includes': ['../../aos/build/queues.gypi'], |
| }, |
| { |
| 'target_name': 'drivetrain_action_queue', |
| 'type': 'static_library', |
| 'sources': [ |
| '<(DEPTH)/frc971/actions/drivetrain_action.q', |
| ], |
| 'variables': { |
| 'header_path': 'frc971/actions', |
| }, |
| 'dependencies': [ |
| 'action_queue', |
| ], |
| 'export_dependent_settings': [ |
| 'action_queue', |
| ], |
| 'includes': ['../../aos/build/queues.gypi'], |
| }, |
| { |
| 'target_name': 'drivetrain_action_lib', |
| 'type': 'static_library', |
| 'sources': [ |
| 'drivetrain_action.cc', |
| ], |
| 'dependencies': [ |
| 'drivetrain_action_queue', |
| '<(AOS)/common/common.gyp:time', |
| '<(AOS)/common/util/util.gyp:phased_loop', |
| '<(AOS)/build/aos.gyp:logging', |
| 'action_client', |
| 'action', |
| '<(EXTERNALS):eigen', |
| '<(DEPTH)/bot3/control_loops/drivetrain/drivetrain.gyp:drivetrain_loop', |
| '<(DEPTH)/bot3/control_loops/drivetrain/drivetrain.gyp:polydrivetrain_plants', |
| '<(AOS)/common/util/util.gyp:trapezoid_profile', |
| ], |
| 'export_dependent_settings': [ |
| 'action', |
| 'drivetrain_action_queue', |
| 'action_client', |
| ], |
| }, |
| { |
| 'target_name': 'action', |
| 'type': 'static_library', |
| 'sources': [ |
| #'action.h', |
| ], |
| 'dependencies': [ |
| '<(AOS)/build/aos.gyp:logging', |
| '<(AOS)/common/common.gyp:time', |
| '<(AOS)/common/logging/logging.gyp:queue_logging', |
| ], |
| 'export_dependent_settings': [ |
| '<(AOS)/build/aos.gyp:logging', |
| '<(AOS)/common/common.gyp:time', |
| '<(AOS)/common/logging/logging.gyp:queue_logging', |
| ], |
| }, |
| { |
| 'target_name': 'drivetrain_action', |
| 'type': 'executable', |
| 'sources': [ |
| 'drivetrain_action_main.cc', |
| ], |
| 'dependencies': [ |
| '<(AOS)/linux_code/linux_code.gyp:init', |
| 'drivetrain_action_queue', |
| 'drivetrain_action_lib', |
| 'action', |
| ], |
| }, |
| ], |
| } |