Austin Schuh | 3e45c75 | 2019-02-02 12:19:11 -0800 | [diff] [blame] | 1 | package(default_visibility = ["//visibility:public"]) |
Brian Silverman | 100534c | 2015-09-07 15:51:23 -0400 | [diff] [blame] | 2 | |
| 3 | cc_library( |
Austin Schuh | 3e45c75 | 2019-02-02 12:19:11 -0800 | [diff] [blame] | 4 | name = "joystick_input", |
| 5 | srcs = [ |
| 6 | "joystick_input.cc", |
| 7 | ], |
| 8 | hdrs = [ |
| 9 | "joystick_input.h", |
| 10 | ], |
| 11 | deps = [ |
| 12 | "//aos/events:event-loop", |
| 13 | "//aos/input:driver_station_data", |
| 14 | "//aos/logging", |
| 15 | "//aos/logging:queue_logging", |
| 16 | "//aos/robot_state", |
| 17 | ], |
Brian Silverman | 100534c | 2015-09-07 15:51:23 -0400 | [diff] [blame] | 18 | ) |
Sabina Davis | 92d2efa | 2017-11-04 22:35:25 -0700 | [diff] [blame] | 19 | |
| 20 | cc_library( |
Austin Schuh | 3e45c75 | 2019-02-02 12:19:11 -0800 | [diff] [blame] | 21 | name = "drivetrain_input", |
| 22 | srcs = [ |
| 23 | "drivetrain_input.cc", |
| 24 | ], |
| 25 | hdrs = [ |
| 26 | "drivetrain_input.h", |
| 27 | ], |
| 28 | deps = [ |
| 29 | "//aos:math", |
| 30 | "//aos/input:driver_station_data", |
| 31 | "//aos/logging", |
| 32 | "//aos/logging:queue_logging", |
| 33 | "//aos/robot_state", |
| 34 | "//frc971/control_loops/drivetrain:drivetrain_config", |
| 35 | "//frc971/control_loops/drivetrain:drivetrain_queue", |
| 36 | ], |
Sabina Davis | 92d2efa | 2017-11-04 22:35:25 -0700 | [diff] [blame] | 37 | ) |
John Park | 33858a3 | 2018-09-28 23:05:48 -0700 | [diff] [blame] | 38 | |
| 39 | cc_library( |
Austin Schuh | 3e45c75 | 2019-02-02 12:19:11 -0800 | [diff] [blame] | 40 | name = "driver_station_data", |
| 41 | srcs = [ |
| 42 | "driver_station_data.cc", |
| 43 | ], |
| 44 | hdrs = [ |
| 45 | "driver_station_data.h", |
| 46 | ], |
| 47 | deps = [ |
| 48 | "//aos/robot_state", |
| 49 | ], |
John Park | 33858a3 | 2018-09-28 23:05:48 -0700 | [diff] [blame] | 50 | ) |
Sabina Davis | 91b2360 | 2019-01-21 00:06:01 -0800 | [diff] [blame^] | 51 | |
| 52 | cc_library( |
| 53 | name = "action_joystick_input", |
| 54 | srcs = ["action_joystick_input.cc"], |
| 55 | hdrs = ["action_joystick_input.h"], |
| 56 | deps = [ |
| 57 | "//aos:init", |
| 58 | "//aos/actions:action_lib", |
| 59 | "//aos/input:drivetrain_input", |
| 60 | "//aos/input:joystick_input", |
| 61 | "//aos/logging", |
| 62 | "//frc971/autonomous:auto_queue", |
| 63 | "//frc971/autonomous:base_autonomous_actor", |
| 64 | ], |
| 65 | ) |