Tyler Chatow | 6107aba | 2017-01-22 01:39:40 +0000 | [diff] [blame] | 1 | cc_library( |
| 2 | name = 'constants', |
| 3 | visibility = ['//visibility:public'], |
| 4 | srcs = [ |
| 5 | 'constants.cc', |
| 6 | ], |
| 7 | hdrs = [ |
| 8 | 'constants.h', |
| 9 | ], |
| 10 | deps = [ |
| 11 | '//aos/common/logging', |
| 12 | '//aos/common:once', |
| 13 | '//aos/common/network:team_number', |
| 14 | '//aos/common:mutex', |
| 15 | '//frc971:constants', |
Ed Jordan | 8683f43 | 2017-02-12 00:13:26 +0000 | [diff] [blame] | 16 | '//y2017/control_loops/drivetrain:polydrivetrain_plants', |
Tyler Chatow | 6107aba | 2017-01-22 01:39:40 +0000 | [diff] [blame] | 17 | ], |
| 18 | ) |
Brian Silverman | 06016bc | 2017-02-11 16:34:34 -0800 | [diff] [blame^] | 19 | |
| 20 | cc_binary( |
| 21 | name = 'wpilib_interface', |
| 22 | srcs = [ |
| 23 | 'wpilib_interface.cc', |
| 24 | ], |
| 25 | deps = [ |
| 26 | ':constants', |
| 27 | '//aos/common:stl_mutex', |
| 28 | '//aos/common/logging', |
| 29 | '//aos/common:math', |
| 30 | '//aos/common/controls:control_loop', |
| 31 | '//aos/common/util:log_interval', |
| 32 | '//aos/common:time', |
| 33 | '//aos/common/logging:queue_logging', |
| 34 | '//aos/common/messages:robot_state', |
| 35 | '//aos/common/util:phased_loop', |
| 36 | '//aos/common/util:wrapping_counter', |
| 37 | '//aos/linux_code:init', |
| 38 | '//third_party:wpilib', |
| 39 | '//frc971/control_loops/drivetrain:drivetrain_queue', |
| 40 | '//frc971/control_loops:queues', |
| 41 | '//frc971/wpilib:joystick_sender', |
| 42 | '//frc971/wpilib:loop_output_handler', |
| 43 | '//frc971/wpilib:buffered_pcm', |
| 44 | '//frc971/wpilib:gyro_sender', |
| 45 | '//frc971/wpilib:dma_edge_counting', |
| 46 | '//frc971/wpilib:interrupt_edge_counting', |
| 47 | '//frc971/wpilib:wpilib_robot_base', |
| 48 | '//frc971/wpilib:encoder_and_potentiometer', |
| 49 | '//frc971/wpilib:logging_queue', |
| 50 | '//frc971/wpilib:wpilib_interface', |
| 51 | '//frc971/wpilib:pdp_fetcher', |
| 52 | '//frc971/wpilib:ADIS16448', |
| 53 | '//frc971/wpilib:dma', |
| 54 | '//y2017/control_loops/drivetrain:polydrivetrain_plants', |
| 55 | '//y2017/control_loops/superstructure:superstructure_queue', |
| 56 | '//y2017/actors:autonomous_action_queue', |
| 57 | ], |
| 58 | ) |