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 | ], |
Philipp Schrader | dada107 | 2020-11-24 11:34:46 -0800 | [diff] [blame] | 11 | target_compatible_with = ["@platforms//os:linux"], |
Austin Schuh | 3e45c75 | 2019-02-02 12:19:11 -0800 | [diff] [blame] | 12 | deps = [ |
Alex Perry | cb7da4b | 2019-08-28 19:35:56 -0700 | [diff] [blame] | 13 | "//aos/events:event_loop", |
Austin Schuh | 3e45c75 | 2019-02-02 12:19:11 -0800 | [diff] [blame] | 14 | "//aos/input:driver_station_data", |
| 15 | "//aos/logging", |
Alex Perry | cb7da4b | 2019-08-28 19:35:56 -0700 | [diff] [blame] | 16 | "//aos/robot_state:robot_state_fbs", |
Austin Schuh | 3e45c75 | 2019-02-02 12:19:11 -0800 | [diff] [blame] | 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 | ], |
Philipp Schrader | dada107 | 2020-11-24 11:34:46 -0800 | [diff] [blame] | 28 | target_compatible_with = ["@platforms//os:linux"], |
Austin Schuh | 3e45c75 | 2019-02-02 12:19:11 -0800 | [diff] [blame] | 29 | deps = [ |
| 30 | "//aos:math", |
| 31 | "//aos/input:driver_station_data", |
| 32 | "//aos/logging", |
Alex Perry | cb7da4b | 2019-08-28 19:35:56 -0700 | [diff] [blame] | 33 | "//aos/robot_state:robot_state_fbs", |
| 34 | "//frc971/control_loops:control_loops_fbs", |
Austin Schuh | 3e45c75 | 2019-02-02 12:19:11 -0800 | [diff] [blame] | 35 | "//frc971/control_loops/drivetrain:drivetrain_config", |
Alex Perry | cb7da4b | 2019-08-28 19:35:56 -0700 | [diff] [blame] | 36 | "//frc971/control_loops/drivetrain:drivetrain_goal_fbs", |
| 37 | "//frc971/control_loops/drivetrain:drivetrain_status_fbs", |
James Kuszmaul | 75a18c5 | 2021-03-10 22:02:07 -0800 | [diff] [blame^] | 38 | "//frc971/control_loops/drivetrain:spline_goal_fbs", |
Austin Schuh | 3e45c75 | 2019-02-02 12:19:11 -0800 | [diff] [blame] | 39 | ], |
Sabina Davis | 92d2efa | 2017-11-04 22:35:25 -0700 | [diff] [blame] | 40 | ) |
John Park | 33858a3 | 2018-09-28 23:05:48 -0700 | [diff] [blame] | 41 | |
| 42 | cc_library( |
Austin Schuh | 3e45c75 | 2019-02-02 12:19:11 -0800 | [diff] [blame] | 43 | name = "driver_station_data", |
| 44 | srcs = [ |
| 45 | "driver_station_data.cc", |
| 46 | ], |
| 47 | hdrs = [ |
| 48 | "driver_station_data.h", |
| 49 | ], |
Philipp Schrader | dada107 | 2020-11-24 11:34:46 -0800 | [diff] [blame] | 50 | target_compatible_with = ["@platforms//os:linux"], |
Austin Schuh | 3e45c75 | 2019-02-02 12:19:11 -0800 | [diff] [blame] | 51 | deps = [ |
Alex Perry | cb7da4b | 2019-08-28 19:35:56 -0700 | [diff] [blame] | 52 | "//aos/robot_state:joystick_state_fbs", |
| 53 | "@com_github_google_glog//:glog", |
Austin Schuh | 3e45c75 | 2019-02-02 12:19:11 -0800 | [diff] [blame] | 54 | ], |
John Park | 33858a3 | 2018-09-28 23:05:48 -0700 | [diff] [blame] | 55 | ) |
Sabina Davis | 91b2360 | 2019-01-21 00:06:01 -0800 | [diff] [blame] | 56 | |
| 57 | cc_library( |
| 58 | name = "action_joystick_input", |
| 59 | srcs = ["action_joystick_input.cc"], |
| 60 | hdrs = ["action_joystick_input.h"], |
Philipp Schrader | dada107 | 2020-11-24 11:34:46 -0800 | [diff] [blame] | 61 | target_compatible_with = ["@platforms//os:linux"], |
Sabina Davis | 91b2360 | 2019-01-21 00:06:01 -0800 | [diff] [blame] | 62 | deps = [ |
Alex Perry | cb7da4b | 2019-08-28 19:35:56 -0700 | [diff] [blame] | 63 | ":drivetrain_input", |
Sabina Davis | 91b2360 | 2019-01-21 00:06:01 -0800 | [diff] [blame] | 64 | "//aos:init", |
| 65 | "//aos/actions:action_lib", |
Sabina Davis | 91b2360 | 2019-01-21 00:06:01 -0800 | [diff] [blame] | 66 | "//aos/input:joystick_input", |
| 67 | "//aos/logging", |
Alex Perry | cb7da4b | 2019-08-28 19:35:56 -0700 | [diff] [blame] | 68 | "//frc971/autonomous:auto_fbs", |
Austin Schuh | ed5b26d | 2019-12-05 20:51:59 -0800 | [diff] [blame] | 69 | "//frc971/autonomous:auto_mode_fbs", |
Sabina Davis | 91b2360 | 2019-01-21 00:06:01 -0800 | [diff] [blame] | 70 | "//frc971/autonomous:base_autonomous_actor", |
| 71 | ], |
| 72 | ) |