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 = [ |
Alex Perry | cb7da4b | 2019-08-28 19:35:56 -0700 | [diff] [blame] | 12 | "//aos/events:event_loop", |
Austin Schuh | 3e45c75 | 2019-02-02 12:19:11 -0800 | [diff] [blame] | 13 | "//aos/input:driver_station_data", |
| 14 | "//aos/logging", |
Alex Perry | cb7da4b | 2019-08-28 19:35:56 -0700 | [diff] [blame] | 15 | "//aos/robot_state:robot_state_fbs", |
Austin Schuh | 3e45c75 | 2019-02-02 12:19:11 -0800 | [diff] [blame] | 16 | ], |
Brian Silverman | 100534c | 2015-09-07 15:51:23 -0400 | [diff] [blame] | 17 | ) |
Sabina Davis | 92d2efa | 2017-11-04 22:35:25 -0700 | [diff] [blame] | 18 | |
| 19 | cc_library( |
Austin Schuh | 3e45c75 | 2019-02-02 12:19:11 -0800 | [diff] [blame] | 20 | name = "drivetrain_input", |
| 21 | srcs = [ |
| 22 | "drivetrain_input.cc", |
| 23 | ], |
| 24 | hdrs = [ |
| 25 | "drivetrain_input.h", |
| 26 | ], |
| 27 | deps = [ |
| 28 | "//aos:math", |
| 29 | "//aos/input:driver_station_data", |
| 30 | "//aos/logging", |
Alex Perry | cb7da4b | 2019-08-28 19:35:56 -0700 | [diff] [blame] | 31 | "//aos/robot_state:robot_state_fbs", |
| 32 | "//frc971/control_loops:control_loops_fbs", |
Austin Schuh | 3e45c75 | 2019-02-02 12:19:11 -0800 | [diff] [blame] | 33 | "//frc971/control_loops/drivetrain:drivetrain_config", |
Alex Perry | cb7da4b | 2019-08-28 19:35:56 -0700 | [diff] [blame] | 34 | "//frc971/control_loops/drivetrain:drivetrain_goal_fbs", |
| 35 | "//frc971/control_loops/drivetrain:drivetrain_status_fbs", |
Austin Schuh | 3e45c75 | 2019-02-02 12:19:11 -0800 | [diff] [blame] | 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 = [ |
Alex Perry | cb7da4b | 2019-08-28 19:35:56 -0700 | [diff] [blame] | 48 | "//aos/robot_state:joystick_state_fbs", |
| 49 | "@com_github_google_glog//:glog", |
Austin Schuh | 3e45c75 | 2019-02-02 12:19:11 -0800 | [diff] [blame] | 50 | ], |
John Park | 33858a3 | 2018-09-28 23:05:48 -0700 | [diff] [blame] | 51 | ) |
Sabina Davis | 91b2360 | 2019-01-21 00:06:01 -0800 | [diff] [blame] | 52 | |
| 53 | cc_library( |
| 54 | name = "action_joystick_input", |
| 55 | srcs = ["action_joystick_input.cc"], |
| 56 | hdrs = ["action_joystick_input.h"], |
| 57 | deps = [ |
Alex Perry | cb7da4b | 2019-08-28 19:35:56 -0700 | [diff] [blame] | 58 | ":drivetrain_input", |
Sabina Davis | 91b2360 | 2019-01-21 00:06:01 -0800 | [diff] [blame] | 59 | "//aos:init", |
| 60 | "//aos/actions:action_lib", |
Sabina Davis | 91b2360 | 2019-01-21 00:06:01 -0800 | [diff] [blame] | 61 | "//aos/input:joystick_input", |
| 62 | "//aos/logging", |
Alex Perry | cb7da4b | 2019-08-28 19:35:56 -0700 | [diff] [blame] | 63 | "//frc971/autonomous:auto_fbs", |
Austin Schuh | ed5b26d | 2019-12-05 20:51:59 -0800 | [diff] [blame] | 64 | "//frc971/autonomous:auto_mode_fbs", |
Sabina Davis | 91b2360 | 2019-01-21 00:06:01 -0800 | [diff] [blame] | 65 | "//frc971/autonomous:base_autonomous_actor", |
| 66 | ], |
| 67 | ) |