Lee Mracek | 6821fe0 | 2018-11-01 17:27:30 -0400 | [diff] [blame] | 1 | load("//frc971:downloader.bzl", "robot_downloader") |
Comran Morshed | 41ed7c2 | 2015-11-04 21:03:37 +0000 | [diff] [blame] | 2 | |
| 3 | cc_binary( |
Brian Silverman | 6470f44 | 2018-08-05 12:08:16 -0700 | [diff] [blame] | 4 | name = "joystick_reader", |
| 5 | srcs = [ |
| 6 | "joystick_reader.cc", |
| 7 | ], |
| 8 | deps = [ |
John Park | 398c74a | 2018-10-20 21:17:39 -0700 | [diff] [blame] | 9 | "//aos:init", |
Austin Schuh | 0b56015 | 2019-01-04 17:02:27 -0800 | [diff] [blame^] | 10 | "//aos/actions:action_lib", |
| 11 | "//aos/input:drivetrain_input", |
| 12 | "//aos/input:joystick_input", |
| 13 | "//aos/logging", |
| 14 | "//aos/time", |
| 15 | "//aos/util:log_interval", |
| 16 | "//frc971/autonomous:auto_queue", |
| 17 | "//frc971/autonomous:base_autonomous_actor", |
Brian Silverman | 6470f44 | 2018-08-05 12:08:16 -0700 | [diff] [blame] | 18 | "//frc971/control_loops/drivetrain:drivetrain_queue", |
| 19 | "//frc971/queues:gyro", |
Austin Schuh | 0b56015 | 2019-01-04 17:02:27 -0800 | [diff] [blame^] | 20 | "//y2014_bot3/control_loops/drivetrain:drivetrain_base", |
Brian Silverman | 6470f44 | 2018-08-05 12:08:16 -0700 | [diff] [blame] | 21 | "//y2014_bot3/control_loops/rollers:rollers_queue", |
| 22 | ], |
Comran Morshed | 41ed7c2 | 2015-11-04 21:03:37 +0000 | [diff] [blame] | 23 | ) |
Brian Silverman | 8154ed1 | 2015-11-28 23:03:17 +0000 | [diff] [blame] | 24 | |
Lee Mracek | 6821fe0 | 2018-11-01 17:27:30 -0400 | [diff] [blame] | 25 | robot_downloader( |
| 26 | start_binaries = [ |
| 27 | ":joystick_reader", |
| 28 | ":wpilib_interface", |
Austin Schuh | 0b56015 | 2019-01-04 17:02:27 -0800 | [diff] [blame^] | 29 | "//y2014_bot3/actors:autonomous_action", |
Lee Mracek | 6821fe0 | 2018-11-01 17:27:30 -0400 | [diff] [blame] | 30 | "//y2014_bot3/control_loops/drivetrain:drivetrain", |
| 31 | "//y2014_bot3/control_loops/rollers:rollers", |
Brian Silverman | 6470f44 | 2018-08-05 12:08:16 -0700 | [diff] [blame] | 32 | ], |
Brian Silverman | 8154ed1 | 2015-11-28 23:03:17 +0000 | [diff] [blame] | 33 | ) |
Brian Silverman | 06016bc | 2017-02-11 16:34:34 -0800 | [diff] [blame] | 34 | |
| 35 | cc_binary( |
Brian Silverman | 6470f44 | 2018-08-05 12:08:16 -0700 | [diff] [blame] | 36 | name = "wpilib_interface", |
| 37 | srcs = [ |
| 38 | "wpilib_interface.cc", |
| 39 | ], |
| 40 | restricted_to = ["//tools:roborio"], |
| 41 | deps = [ |
Austin Schuh | 0b56015 | 2019-01-04 17:02:27 -0800 | [diff] [blame^] | 42 | "//aos:init", |
John Park | 33858a3 | 2018-09-28 23:05:48 -0700 | [diff] [blame] | 43 | "//aos/controls:control_loop", |
| 44 | "//aos/logging", |
| 45 | "//aos/logging:queue_logging", |
Austin Schuh | 0b56015 | 2019-01-04 17:02:27 -0800 | [diff] [blame^] | 46 | "//aos/robot_state", |
| 47 | "//aos/stl_mutex", |
| 48 | "//aos/time", |
John Park | 33858a3 | 2018-09-28 23:05:48 -0700 | [diff] [blame] | 49 | "//aos/util:log_interval", |
| 50 | "//aos/util:phased_loop", |
| 51 | "//aos/util:wrapping_counter", |
Brian Silverman | 6470f44 | 2018-08-05 12:08:16 -0700 | [diff] [blame] | 52 | "//frc971/control_loops:queues", |
| 53 | "//frc971/control_loops/drivetrain:drivetrain_queue", |
| 54 | "//frc971/wpilib:buffered_pcm", |
| 55 | "//frc971/wpilib:dma", |
| 56 | "//frc971/wpilib:gyro_sender", |
| 57 | "//frc971/wpilib:joystick_sender", |
| 58 | "//frc971/wpilib:logging_queue", |
| 59 | "//frc971/wpilib:loop_output_handler", |
| 60 | "//frc971/wpilib:pdp_fetcher", |
| 61 | "//frc971/wpilib:wpilib_interface", |
| 62 | "//frc971/wpilib:wpilib_robot_base", |
| 63 | "//third_party:wpilib", |
Brian Silverman | 6470f44 | 2018-08-05 12:08:16 -0700 | [diff] [blame] | 64 | "//y2014_bot3/control_loops/drivetrain:drivetrain_base", |
| 65 | "//y2014_bot3/control_loops/rollers:rollers_lib", |
| 66 | ], |
| 67 | ) |
| 68 | |
| 69 | py_library( |
| 70 | name = "python_init", |
| 71 | srcs = ["__init__.py"], |
| 72 | visibility = ["//visibility:public"], |
Brian Silverman | 06016bc | 2017-02-11 16:34:34 -0800 | [diff] [blame] | 73 | ) |