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