Austin Schuh | bcce26a | 2018-03-26 23:41:24 -0700 | [diff] [blame] | 1 | package(default_visibility = ["//visibility:public"]) |
Comran Morshed | 5323ecb | 2015-12-26 20:50:55 +0000 | [diff] [blame] | 2 | |
Alex Perry | cb7da4b | 2019-08-28 19:35:56 -0700 | [diff] [blame] | 3 | load("@com_github_google_flatbuffers//:build_defs.bzl", "flatbuffer_cc_library") |
| 4 | load("//aos:config.bzl", "aos_config") |
Austin Schuh | bcce26a | 2018-03-26 23:41:24 -0700 | [diff] [blame] | 5 | load("//tools:environments.bzl", "mcu_cpus") |
Alex Perry | cb7da4b | 2019-08-28 19:35:56 -0700 | [diff] [blame] | 6 | load("//tools/build_rules:select.bzl", "compiler_select", "cpu_select") |
Comran Morshed | 5323ecb | 2015-12-26 20:50:55 +0000 | [diff] [blame] | 7 | |
Alex Perry | cb7da4b | 2019-08-28 19:35:56 -0700 | [diff] [blame] | 8 | flatbuffer_cc_library( |
| 9 | name = "drivetrain_goal_fbs", |
| 10 | srcs = ["drivetrain_goal.fbs"], |
| 11 | compatible_with = mcu_cpus, |
| 12 | gen_reflections = 1, |
| 13 | includes = ["//frc971/control_loops:control_loops_fbs_includes"], |
Comran Morshed | 5323ecb | 2015-12-26 20:50:55 +0000 | [diff] [blame] | 14 | ) |
| 15 | |
Alex Perry | cb7da4b | 2019-08-28 19:35:56 -0700 | [diff] [blame] | 16 | flatbuffer_cc_library( |
| 17 | name = "drivetrain_output_fbs", |
| 18 | srcs = ["drivetrain_output.fbs"], |
| 19 | compatible_with = mcu_cpus, |
| 20 | gen_reflections = 1, |
| 21 | ) |
| 22 | |
| 23 | flatbuffer_cc_library( |
| 24 | name = "drivetrain_position_fbs", |
| 25 | srcs = ["drivetrain_position.fbs"], |
| 26 | compatible_with = mcu_cpus, |
| 27 | gen_reflections = 1, |
| 28 | ) |
| 29 | |
| 30 | flatbuffer_cc_library( |
| 31 | name = "drivetrain_status_fbs", |
| 32 | srcs = ["drivetrain_status.fbs"], |
| 33 | compatible_with = mcu_cpus, |
| 34 | gen_reflections = 1, |
| 35 | includes = ["//frc971/control_loops:control_loops_fbs_includes"], |
| 36 | ) |
| 37 | |
| 38 | genrule( |
| 39 | name = "drivetrain_goal_float_fbs_generated", |
| 40 | srcs = ["drivetrain_goal.fbs"], |
| 41 | outs = ["drivetrain_goal_float.fbs"], |
| 42 | cmd = "cat $(SRCS) | sed 's/double/float/g' > $(OUTS)", |
| 43 | compatible_with = mcu_cpus, |
| 44 | ) |
| 45 | |
| 46 | genrule( |
| 47 | name = "drivetrain_position_float_fbs_generated", |
| 48 | srcs = ["drivetrain_position.fbs"], |
| 49 | outs = ["drivetrain_position_float.fbs"], |
| 50 | cmd = "cat $(SRCS) | sed 's/double/float/g' > $(OUTS)", |
| 51 | compatible_with = mcu_cpus, |
| 52 | ) |
| 53 | |
| 54 | genrule( |
| 55 | name = "drivetrain_output_float_fbs_generated", |
| 56 | srcs = ["drivetrain_output.fbs"], |
| 57 | outs = ["drivetrain_output_float.fbs"], |
| 58 | cmd = "cat $(SRCS) | sed 's/double/float/g' > $(OUTS)", |
| 59 | compatible_with = mcu_cpus, |
| 60 | ) |
| 61 | |
| 62 | genrule( |
| 63 | name = "drivetrain_status_float_fbs_generated", |
| 64 | srcs = ["drivetrain_status.fbs"], |
| 65 | outs = ["drivetrain_status_float.fbs"], |
| 66 | cmd = "cat $(SRCS) | sed 's/double/float/g' > $(OUTS)", |
| 67 | compatible_with = mcu_cpus, |
| 68 | ) |
| 69 | |
| 70 | flatbuffer_cc_library( |
| 71 | name = "drivetrain_goal_float_fbs", |
| 72 | srcs = ["drivetrain_goal_float.fbs"], |
| 73 | compatible_with = mcu_cpus, |
| 74 | gen_reflections = 1, |
| 75 | includes = ["//frc971/control_loops:control_loops_fbs_includes"], |
| 76 | ) |
| 77 | |
| 78 | flatbuffer_cc_library( |
| 79 | name = "drivetrain_output_float_fbs", |
| 80 | srcs = ["drivetrain_output_float.fbs"], |
| 81 | compatible_with = mcu_cpus, |
| 82 | gen_reflections = 1, |
| 83 | ) |
| 84 | |
| 85 | flatbuffer_cc_library( |
| 86 | name = "drivetrain_position_float_fbs", |
| 87 | srcs = ["drivetrain_position_float.fbs"], |
| 88 | compatible_with = mcu_cpus, |
| 89 | gen_reflections = 1, |
| 90 | ) |
| 91 | |
| 92 | flatbuffer_cc_library( |
| 93 | name = "drivetrain_status_float_fbs", |
| 94 | srcs = ["drivetrain_status_float.fbs"], |
| 95 | compatible_with = mcu_cpus, |
| 96 | gen_reflections = 1, |
| 97 | includes = ["//frc971/control_loops:control_loops_fbs_includes"], |
| 98 | ) |
| 99 | |
| 100 | aos_config( |
James Kuszmaul | 74d8f97 | 2020-02-11 17:13:17 -0800 | [diff] [blame] | 101 | name = "simulation_channels", |
| 102 | src = "drivetrain_simulation_channels.json", |
| 103 | flatbuffers = [ |
| 104 | ":drivetrain_status_fbs", |
| 105 | ], |
| 106 | visibility = ["//visibility:public"], |
| 107 | ) |
| 108 | |
| 109 | aos_config( |
| 110 | name = "simulation_config", |
| 111 | src = "drivetrain_simulation_config.json", |
| 112 | visibility = ["//visibility:public"], |
| 113 | deps = [ |
| 114 | ":config", |
| 115 | ":simulation_channels", |
| 116 | ], |
| 117 | ) |
| 118 | |
| 119 | aos_config( |
Alex Perry | cb7da4b | 2019-08-28 19:35:56 -0700 | [diff] [blame] | 120 | name = "config", |
| 121 | src = "drivetrain_config.json", |
| 122 | flatbuffers = [ |
| 123 | ":drivetrain_goal_fbs", |
| 124 | ":drivetrain_output_fbs", |
| 125 | ":drivetrain_status_fbs", |
| 126 | ":drivetrain_position_fbs", |
| 127 | ":localizer_fbs", |
Tyler Chatow | 24b5db1 | 2020-01-06 21:16:56 -0800 | [diff] [blame] | 128 | "//frc971/queues:gyro_fbs", |
| 129 | "//frc971/queues:gyro_uid_fbs", |
Alex Perry | cb7da4b | 2019-08-28 19:35:56 -0700 | [diff] [blame] | 130 | "//frc971/wpilib:imu_fbs", |
Austin Schuh | bcce26a | 2018-03-26 23:41:24 -0700 | [diff] [blame] | 131 | ], |
Alex Perry | cb7da4b | 2019-08-28 19:35:56 -0700 | [diff] [blame] | 132 | visibility = ["//visibility:public"], |
Austin Schuh | bcce26a | 2018-03-26 23:41:24 -0700 | [diff] [blame] | 133 | deps = [ |
Alex Perry | cb7da4b | 2019-08-28 19:35:56 -0700 | [diff] [blame] | 134 | "//aos/robot_state:config", |
Austin Schuh | bcce26a | 2018-03-26 23:41:24 -0700 | [diff] [blame] | 135 | ], |
Comran Morshed | 5323ecb | 2015-12-26 20:50:55 +0000 | [diff] [blame] | 136 | ) |
| 137 | |
| 138 | cc_library( |
Austin Schuh | bcce26a | 2018-03-26 23:41:24 -0700 | [diff] [blame] | 139 | name = "drivetrain_config", |
| 140 | hdrs = [ |
| 141 | "drivetrain_config.h", |
| 142 | ], |
| 143 | deps = [ |
| 144 | "//frc971:shifter_hall_effect", |
Austin Schuh | a062edb | 2019-01-03 13:17:13 -0800 | [diff] [blame] | 145 | "//frc971/control_loops:hybrid_state_feedback_loop", |
Austin Schuh | bcce26a | 2018-03-26 23:41:24 -0700 | [diff] [blame] | 146 | "//frc971/control_loops:state_feedback_loop", |
| 147 | ], |
Comran Morshed | 5323ecb | 2015-12-26 20:50:55 +0000 | [diff] [blame] | 148 | ) |
| 149 | |
| 150 | cc_library( |
James Kuszmaul | 2ed7b3c | 2019-02-09 18:26:19 -0800 | [diff] [blame] | 151 | name = "hybrid_ekf", |
| 152 | hdrs = ["hybrid_ekf.h"], |
| 153 | deps = [ |
| 154 | ":drivetrain_config", |
James Kuszmaul | 3c5b4d3 | 2020-02-11 17:22:14 -0800 | [diff] [blame] | 155 | "//aos:math", |
James Kuszmaul | 2ed7b3c | 2019-02-09 18:26:19 -0800 | [diff] [blame] | 156 | "//aos/containers:priority_queue", |
James Kuszmaul | fedc461 | 2019-03-10 11:24:51 -0700 | [diff] [blame] | 157 | "//aos/util:math", |
James Kuszmaul | 2ed7b3c | 2019-02-09 18:26:19 -0800 | [diff] [blame] | 158 | "//frc971/control_loops:c2d", |
| 159 | "//frc971/control_loops:runge_kutta", |
Alex Perry | cb7da4b | 2019-08-28 19:35:56 -0700 | [diff] [blame] | 160 | "@org_tuxfamily_eigen//:eigen", |
James Kuszmaul | 2ed7b3c | 2019-02-09 18:26:19 -0800 | [diff] [blame] | 161 | ], |
| 162 | ) |
| 163 | |
| 164 | cc_test( |
| 165 | name = "hybrid_ekf_test", |
| 166 | srcs = ["hybrid_ekf_test.cc"], |
| 167 | deps = [ |
| 168 | ":drivetrain_test_lib", |
| 169 | ":hybrid_ekf", |
| 170 | ":trajectory", |
| 171 | "//aos/testing:googletest", |
| 172 | "//aos/testing:random_seed", |
| 173 | "//aos/testing:test_shm", |
| 174 | ], |
| 175 | ) |
| 176 | |
Alex Perry | cb7da4b | 2019-08-28 19:35:56 -0700 | [diff] [blame] | 177 | flatbuffer_cc_library( |
| 178 | name = "localizer_fbs", |
| 179 | srcs = ["localizer.fbs"], |
| 180 | gen_reflections = 1, |
James Kuszmaul | ef428a0 | 2019-03-02 22:19:41 -0800 | [diff] [blame] | 181 | ) |
| 182 | |
James Kuszmaul | 2ed7b3c | 2019-02-09 18:26:19 -0800 | [diff] [blame] | 183 | cc_library( |
James Kuszmaul | 3431d62 | 2019-02-17 17:07:44 -0800 | [diff] [blame] | 184 | name = "localizer", |
| 185 | hdrs = ["localizer.h"], |
| 186 | deps = [ |
| 187 | ":drivetrain_config", |
James Kuszmaul | 3c5b4d3 | 2020-02-11 17:22:14 -0800 | [diff] [blame] | 188 | ":drivetrain_status_fbs", |
James Kuszmaul | 3431d62 | 2019-02-17 17:07:44 -0800 | [diff] [blame] | 189 | ":hybrid_ekf", |
James Kuszmaul | 5398fae | 2020-02-17 16:44:03 -0800 | [diff] [blame] | 190 | "//frc971/control_loops:control_loops_fbs", |
James Kuszmaul | 5bc6fc9 | 2019-03-01 21:50:06 -0800 | [diff] [blame] | 191 | "//frc971/control_loops:pose", |
James Kuszmaul | 3431d62 | 2019-02-17 17:07:44 -0800 | [diff] [blame] | 192 | ], |
| 193 | ) |
| 194 | |
| 195 | cc_library( |
Austin Schuh | bcce26a | 2018-03-26 23:41:24 -0700 | [diff] [blame] | 196 | name = "gear", |
| 197 | hdrs = [ |
| 198 | "gear.h", |
| 199 | ], |
| 200 | compatible_with = mcu_cpus, |
Austin Schuh | 093535c | 2016-03-05 23:21:00 -0800 | [diff] [blame] | 201 | ) |
| 202 | |
| 203 | cc_library( |
Alex Perry | 731b460 | 2019-02-02 22:13:01 -0800 | [diff] [blame] | 204 | name = "splinedrivetrain", |
| 205 | srcs = [ |
| 206 | "splinedrivetrain.cc", |
| 207 | ], |
| 208 | hdrs = [ |
| 209 | "splinedrivetrain.h", |
| 210 | ], |
| 211 | deps = [ |
James Kuszmaul | 2ed7b3c | 2019-02-09 18:26:19 -0800 | [diff] [blame] | 212 | ":distance_spline", |
Alex Perry | 731b460 | 2019-02-02 22:13:01 -0800 | [diff] [blame] | 213 | ":drivetrain_config", |
Alex Perry | cb7da4b | 2019-08-28 19:35:56 -0700 | [diff] [blame] | 214 | ":drivetrain_goal_fbs", |
| 215 | ":drivetrain_output_fbs", |
| 216 | ":drivetrain_status_fbs", |
Alex Perry | 731b460 | 2019-02-02 22:13:01 -0800 | [diff] [blame] | 217 | ":spline", |
Alex Perry | 731b460 | 2019-02-02 22:13:01 -0800 | [diff] [blame] | 218 | ":trajectory", |
Alex Perry | 1ec3452 | 2019-02-17 22:44:10 -0800 | [diff] [blame] | 219 | "//aos:init", |
James Kuszmaul | c73bb22 | 2019-04-07 12:15:35 -0700 | [diff] [blame] | 220 | "//aos/util:math", |
Alex Perry | cb7da4b | 2019-08-28 19:35:56 -0700 | [diff] [blame] | 221 | "//frc971/control_loops:control_loops_fbs", |
James Kuszmaul | 2ed7b3c | 2019-02-09 18:26:19 -0800 | [diff] [blame] | 222 | ], |
Alex Perry | 731b460 | 2019-02-02 22:13:01 -0800 | [diff] [blame] | 223 | ) |
| 224 | |
| 225 | cc_library( |
James Kuszmaul | e39cbcf | 2019-02-27 20:48:34 -0800 | [diff] [blame] | 226 | name = "line_follow_drivetrain", |
| 227 | srcs = [ |
| 228 | "line_follow_drivetrain.cc", |
| 229 | ], |
| 230 | hdrs = [ |
| 231 | "line_follow_drivetrain.h", |
| 232 | ], |
| 233 | deps = [ |
| 234 | ":drivetrain_config", |
Alex Perry | cb7da4b | 2019-08-28 19:35:56 -0700 | [diff] [blame] | 235 | ":drivetrain_goal_fbs", |
| 236 | ":drivetrain_output_fbs", |
| 237 | ":drivetrain_status_fbs", |
James Kuszmaul | 5bc6fc9 | 2019-03-01 21:50:06 -0800 | [diff] [blame] | 238 | ":localizer", |
James Kuszmaul | e39cbcf | 2019-02-27 20:48:34 -0800 | [diff] [blame] | 239 | "//aos:math", |
| 240 | "//aos/util:math", |
| 241 | "//frc971/control_loops:c2d", |
Alex Perry | cb7da4b | 2019-08-28 19:35:56 -0700 | [diff] [blame] | 242 | "//frc971/control_loops:control_loops_fbs", |
James Kuszmaul | e39cbcf | 2019-02-27 20:48:34 -0800 | [diff] [blame] | 243 | "//frc971/control_loops:dlqr", |
| 244 | "//frc971/control_loops:pose", |
Alex Perry | cb7da4b | 2019-08-28 19:35:56 -0700 | [diff] [blame] | 245 | "//frc971/control_loops:profiled_subsystem_fbs", |
| 246 | "//y2019/control_loops/superstructure:superstructure_goal_fbs", |
| 247 | "@org_tuxfamily_eigen//:eigen", |
James Kuszmaul | e39cbcf | 2019-02-27 20:48:34 -0800 | [diff] [blame] | 248 | ], |
| 249 | ) |
| 250 | |
| 251 | cc_test( |
| 252 | name = "line_follow_drivetrain_test", |
| 253 | srcs = ["line_follow_drivetrain_test.cc"], |
| 254 | linkstatic = True, |
| 255 | restricted_to = ["//tools:k8"], |
| 256 | deps = [ |
| 257 | ":drivetrain_config", |
| 258 | ":drivetrain_test_lib", |
| 259 | ":line_follow_drivetrain", |
| 260 | ":trajectory", |
| 261 | "//aos/testing:googletest", |
| 262 | "//aos/testing:test_shm", |
| 263 | "//third_party/matplotlib-cpp", |
| 264 | "@com_github_gflags_gflags//:gflags", |
| 265 | ], |
| 266 | ) |
| 267 | |
| 268 | cc_library( |
Austin Schuh | bcce26a | 2018-03-26 23:41:24 -0700 | [diff] [blame] | 269 | name = "ssdrivetrain", |
| 270 | srcs = [ |
| 271 | "ssdrivetrain.cc", |
| 272 | ], |
| 273 | hdrs = [ |
| 274 | "ssdrivetrain.h", |
| 275 | ], |
| 276 | deps = [ |
| 277 | ":drivetrain_config", |
Alex Perry | cb7da4b | 2019-08-28 19:35:56 -0700 | [diff] [blame] | 278 | ":drivetrain_goal_fbs", |
| 279 | ":drivetrain_output_fbs", |
| 280 | ":drivetrain_status_fbs", |
Austin Schuh | bcce26a | 2018-03-26 23:41:24 -0700 | [diff] [blame] | 281 | ":gear", |
James Kuszmaul | 3431d62 | 2019-02-17 17:07:44 -0800 | [diff] [blame] | 282 | ":localizer", |
John Park | 33858a3 | 2018-09-28 23:05:48 -0700 | [diff] [blame] | 283 | "//aos:math", |
| 284 | "//aos/controls:control_loop", |
| 285 | "//aos/controls:polytope", |
Alex Perry | cb7da4b | 2019-08-28 19:35:56 -0700 | [diff] [blame] | 286 | "//aos/robot_state:robot_state_fbs", |
John Park | 33858a3 | 2018-09-28 23:05:48 -0700 | [diff] [blame] | 287 | "//aos/util:log_interval", |
| 288 | "//aos/util:trapezoid_profile", |
Austin Schuh | bcce26a | 2018-03-26 23:41:24 -0700 | [diff] [blame] | 289 | "//frc971:shifter_hall_effect", |
| 290 | "//frc971/control_loops:coerce_goal", |
Alex Perry | cb7da4b | 2019-08-28 19:35:56 -0700 | [diff] [blame] | 291 | "//frc971/control_loops:control_loops_fbs", |
Austin Schuh | bcce26a | 2018-03-26 23:41:24 -0700 | [diff] [blame] | 292 | "//frc971/control_loops:state_feedback_loop", |
| 293 | ], |
Comran Morshed | 5323ecb | 2015-12-26 20:50:55 +0000 | [diff] [blame] | 294 | ) |
| 295 | |
| 296 | cc_library( |
Austin Schuh | bcce26a | 2018-03-26 23:41:24 -0700 | [diff] [blame] | 297 | name = "polydrivetrain", |
| 298 | srcs = [ |
| 299 | "polydrivetrain.cc", |
| 300 | ], |
| 301 | hdrs = [ |
| 302 | "polydrivetrain.h", |
| 303 | ], |
| 304 | deps = [ |
| 305 | ":drivetrain_config", |
Alex Perry | cb7da4b | 2019-08-28 19:35:56 -0700 | [diff] [blame] | 306 | ":drivetrain_goal_fbs", |
| 307 | ":drivetrain_output_fbs", |
| 308 | ":drivetrain_position_fbs", |
| 309 | ":drivetrain_status_fbs", |
Austin Schuh | bcce26a | 2018-03-26 23:41:24 -0700 | [diff] [blame] | 310 | ":gear", |
John Park | 33858a3 | 2018-09-28 23:05:48 -0700 | [diff] [blame] | 311 | "//aos:math", |
| 312 | "//aos/controls:polytope", |
Alex Perry | cb7da4b | 2019-08-28 19:35:56 -0700 | [diff] [blame] | 313 | "//aos/robot_state:robot_state_fbs", |
John Park | 33858a3 | 2018-09-28 23:05:48 -0700 | [diff] [blame] | 314 | "//aos/util:log_interval", |
Austin Schuh | bcce26a | 2018-03-26 23:41:24 -0700 | [diff] [blame] | 315 | "//frc971/control_loops:coerce_goal", |
Alex Perry | cb7da4b | 2019-08-28 19:35:56 -0700 | [diff] [blame] | 316 | "//frc971/control_loops:control_loops_fbs", |
Austin Schuh | bcce26a | 2018-03-26 23:41:24 -0700 | [diff] [blame] | 317 | "//frc971/control_loops:state_feedback_loop", |
| 318 | ], |
| 319 | ) |
| 320 | |
| 321 | cc_library( |
| 322 | name = "drivetrain_config_uc", |
| 323 | hdrs = [ |
| 324 | "drivetrain_config.h", |
| 325 | ], |
| 326 | restricted_to = mcu_cpus, |
| 327 | deps = [ |
| 328 | "//frc971:shifter_hall_effect", |
| 329 | "//frc971/control_loops:state_feedback_loop_uc", |
| 330 | ], |
| 331 | ) |
| 332 | |
| 333 | cc_library( |
| 334 | name = "polydrivetrain_uc", |
| 335 | srcs = [ |
Austin Schuh | bcce26a | 2018-03-26 23:41:24 -0700 | [diff] [blame] | 336 | "polydrivetrain.cc", |
| 337 | ], |
| 338 | hdrs = [ |
Austin Schuh | bcce26a | 2018-03-26 23:41:24 -0700 | [diff] [blame] | 339 | "polydrivetrain.h", |
| 340 | ], |
Alex Perry | cb7da4b | 2019-08-28 19:35:56 -0700 | [diff] [blame] | 341 | copts = ["-Wno-type-limits"], |
Austin Schuh | bcce26a | 2018-03-26 23:41:24 -0700 | [diff] [blame] | 342 | restricted_to = mcu_cpus, |
| 343 | deps = [ |
| 344 | ":drivetrain_config_uc", |
Alex Perry | cb7da4b | 2019-08-28 19:35:56 -0700 | [diff] [blame] | 345 | ":drivetrain_goal_float_fbs", |
| 346 | ":drivetrain_output_float_fbs", |
| 347 | ":drivetrain_position_float_fbs", |
| 348 | ":drivetrain_status_float_fbs", |
Austin Schuh | bcce26a | 2018-03-26 23:41:24 -0700 | [diff] [blame] | 349 | ":gear", |
John Park | 33858a3 | 2018-09-28 23:05:48 -0700 | [diff] [blame] | 350 | "//aos:math", |
| 351 | "//aos/controls:polytope_uc", |
Austin Schuh | bcce26a | 2018-03-26 23:41:24 -0700 | [diff] [blame] | 352 | "//frc971/control_loops:coerce_goal_uc", |
Alex Perry | cb7da4b | 2019-08-28 19:35:56 -0700 | [diff] [blame] | 353 | "//frc971/control_loops:control_loops_fbs", |
Austin Schuh | bcce26a | 2018-03-26 23:41:24 -0700 | [diff] [blame] | 354 | "//frc971/control_loops:state_feedback_loop_uc", |
| 355 | ], |
Comran Morshed | 5323ecb | 2015-12-26 20:50:55 +0000 | [diff] [blame] | 356 | ) |
| 357 | |
Austin Schuh | 05c5a61 | 2016-04-02 15:10:25 -0700 | [diff] [blame] | 358 | genrule( |
Austin Schuh | bcce26a | 2018-03-26 23:41:24 -0700 | [diff] [blame] | 359 | name = "genrule_down_estimator", |
| 360 | outs = [ |
| 361 | "down_estimator.h", |
| 362 | "down_estimator.cc", |
| 363 | ], |
| 364 | cmd = "$(location //frc971/control_loops/python:down_estimator) $(OUTS)", |
| 365 | tools = [ |
| 366 | "//frc971/control_loops/python:down_estimator", |
| 367 | ], |
| 368 | visibility = ["//visibility:private"], |
Austin Schuh | 05c5a61 | 2016-04-02 15:10:25 -0700 | [diff] [blame] | 369 | ) |
| 370 | |
| 371 | cc_library( |
Austin Schuh | bcce26a | 2018-03-26 23:41:24 -0700 | [diff] [blame] | 372 | name = "down_estimator", |
| 373 | srcs = [ |
| 374 | "down_estimator.cc", |
| 375 | ], |
| 376 | hdrs = [ |
| 377 | "down_estimator.h", |
| 378 | ], |
| 379 | deps = [ |
| 380 | "//frc971/control_loops:state_feedback_loop", |
| 381 | ], |
Austin Schuh | 05c5a61 | 2016-04-02 15:10:25 -0700 | [diff] [blame] | 382 | ) |
| 383 | |
Comran Morshed | 5323ecb | 2015-12-26 20:50:55 +0000 | [diff] [blame] | 384 | cc_library( |
Austin Schuh | bcce26a | 2018-03-26 23:41:24 -0700 | [diff] [blame] | 385 | name = "drivetrain_lib", |
| 386 | srcs = [ |
| 387 | "drivetrain.cc", |
| 388 | ], |
| 389 | hdrs = [ |
| 390 | "drivetrain.h", |
| 391 | ], |
| 392 | deps = [ |
| 393 | ":down_estimator", |
Alex Perry | cb7da4b | 2019-08-28 19:35:56 -0700 | [diff] [blame] | 394 | ":drivetrain_goal_fbs", |
| 395 | ":drivetrain_output_fbs", |
| 396 | ":drivetrain_position_fbs", |
| 397 | ":drivetrain_status_fbs", |
Austin Schuh | bcce26a | 2018-03-26 23:41:24 -0700 | [diff] [blame] | 398 | ":gear", |
James Kuszmaul | 3e1bb27 | 2020-01-17 18:38:19 -0800 | [diff] [blame] | 399 | ":improved_down_estimator", |
James Kuszmaul | e39cbcf | 2019-02-27 20:48:34 -0800 | [diff] [blame] | 400 | ":line_follow_drivetrain", |
James Kuszmaul | 3431d62 | 2019-02-17 17:07:44 -0800 | [diff] [blame] | 401 | ":localizer", |
Alex Perry | cb7da4b | 2019-08-28 19:35:56 -0700 | [diff] [blame] | 402 | ":localizer_fbs", |
Austin Schuh | bcce26a | 2018-03-26 23:41:24 -0700 | [diff] [blame] | 403 | ":polydrivetrain", |
Alex Perry | 731b460 | 2019-02-02 22:13:01 -0800 | [diff] [blame] | 404 | ":splinedrivetrain", |
James Kuszmaul | 2ed7b3c | 2019-02-09 18:26:19 -0800 | [diff] [blame] | 405 | ":ssdrivetrain", |
John Park | 33858a3 | 2018-09-28 23:05:48 -0700 | [diff] [blame] | 406 | "//aos/controls:control_loop", |
John Park | 33858a3 | 2018-09-28 23:05:48 -0700 | [diff] [blame] | 407 | "//aos/util:log_interval", |
Austin Schuh | 3a37846 | 2019-01-04 21:48:04 -0800 | [diff] [blame] | 408 | "//frc971/control_loops:runge_kutta", |
Tyler Chatow | 24b5db1 | 2020-01-06 21:16:56 -0800 | [diff] [blame] | 409 | "//frc971/queues:gyro_fbs", |
Alex Perry | cb7da4b | 2019-08-28 19:35:56 -0700 | [diff] [blame] | 410 | "//frc971/wpilib:imu_fbs", |
James Kuszmaul | 3e1bb27 | 2020-01-17 18:38:19 -0800 | [diff] [blame] | 411 | "//frc971/zeroing:imu_zeroer", |
Austin Schuh | bcce26a | 2018-03-26 23:41:24 -0700 | [diff] [blame] | 412 | ], |
Comran Morshed | 5323ecb | 2015-12-26 20:50:55 +0000 | [diff] [blame] | 413 | ) |
| 414 | |
James Kuszmaul | 109ed8d | 2019-02-17 21:41:04 -0800 | [diff] [blame] | 415 | cc_library( |
| 416 | name = "drivetrain_test_lib", |
| 417 | testonly = True, |
| 418 | srcs = ["drivetrain_test_lib.cc"], |
| 419 | hdrs = ["drivetrain_test_lib.h"], |
James Kuszmaul | 74d8f97 | 2020-02-11 17:13:17 -0800 | [diff] [blame] | 420 | defines = |
| 421 | cpu_select({ |
| 422 | "amd64": [ |
| 423 | "SUPPORT_PLOT=1", |
| 424 | ], |
| 425 | "arm": [], |
| 426 | }), |
James Kuszmaul | 109ed8d | 2019-02-17 21:41:04 -0800 | [diff] [blame] | 427 | deps = [ |
| 428 | ":drivetrain_config", |
Alex Perry | cb7da4b | 2019-08-28 19:35:56 -0700 | [diff] [blame] | 429 | ":drivetrain_goal_fbs", |
| 430 | ":drivetrain_output_fbs", |
| 431 | ":drivetrain_position_fbs", |
| 432 | ":drivetrain_status_fbs", |
James Kuszmaul | 109ed8d | 2019-02-17 21:41:04 -0800 | [diff] [blame] | 433 | ":trajectory", |
Alex Perry | cb7da4b | 2019-08-28 19:35:56 -0700 | [diff] [blame] | 434 | "//aos/events:event_loop", |
James Kuszmaul | 109ed8d | 2019-02-17 21:41:04 -0800 | [diff] [blame] | 435 | "//aos/testing:googletest", |
Alex Perry | cb7da4b | 2019-08-28 19:35:56 -0700 | [diff] [blame] | 436 | "//frc971/control_loops:control_loops_fbs", |
James Kuszmaul | 109ed8d | 2019-02-17 21:41:04 -0800 | [diff] [blame] | 437 | "//frc971/control_loops:state_feedback_loop", |
Tyler Chatow | 24b5db1 | 2020-01-06 21:16:56 -0800 | [diff] [blame] | 438 | "//frc971/queues:gyro_fbs", |
James Kuszmaul | 3e1bb27 | 2020-01-17 18:38:19 -0800 | [diff] [blame] | 439 | "//frc971/wpilib:imu_fbs", |
James Kuszmaul | 109ed8d | 2019-02-17 21:41:04 -0800 | [diff] [blame] | 440 | "//y2016:constants", |
| 441 | "//y2016/control_loops/drivetrain:polydrivetrain_plants", |
James Kuszmaul | 74d8f97 | 2020-02-11 17:13:17 -0800 | [diff] [blame] | 442 | ] + cpu_select({ |
| 443 | "amd64": [ |
| 444 | "//third_party/matplotlib-cpp", |
| 445 | ], |
| 446 | "arm": [], |
| 447 | }), |
James Kuszmaul | 109ed8d | 2019-02-17 21:41:04 -0800 | [diff] [blame] | 448 | ) |
| 449 | |
Comran Morshed | 5323ecb | 2015-12-26 20:50:55 +0000 | [diff] [blame] | 450 | cc_test( |
Austin Schuh | bcce26a | 2018-03-26 23:41:24 -0700 | [diff] [blame] | 451 | name = "drivetrain_lib_test", |
| 452 | srcs = [ |
| 453 | "drivetrain_lib_test.cc", |
| 454 | ], |
James Kuszmaul | 74d8f97 | 2020-02-11 17:13:17 -0800 | [diff] [blame] | 455 | data = ["simulation_config.json"], |
Alex Perry | 04300d6 | 2019-02-17 14:37:04 -0800 | [diff] [blame] | 456 | defines = |
| 457 | cpu_select({ |
| 458 | "amd64": [ |
| 459 | "SUPPORT_PLOT=1", |
| 460 | ], |
| 461 | "arm": [], |
| 462 | }), |
| 463 | linkstatic = True, |
Austin Schuh | bcce26a | 2018-03-26 23:41:24 -0700 | [diff] [blame] | 464 | deps = [ |
| 465 | ":drivetrain_config", |
| 466 | ":drivetrain_lib", |
Alex Perry | cb7da4b | 2019-08-28 19:35:56 -0700 | [diff] [blame] | 467 | ":localizer_fbs", |
| 468 | ":drivetrain_goal_fbs", |
| 469 | ":drivetrain_status_fbs", |
| 470 | ":drivetrain_position_fbs", |
| 471 | ":drivetrain_output_fbs", |
James Kuszmaul | 109ed8d | 2019-02-17 21:41:04 -0800 | [diff] [blame] | 472 | ":drivetrain_test_lib", |
John Park | 33858a3 | 2018-09-28 23:05:48 -0700 | [diff] [blame] | 473 | "//aos/controls:control_loop_test", |
James Kuszmaul | 74d8f97 | 2020-02-11 17:13:17 -0800 | [diff] [blame] | 474 | "//aos/events/logging:logger", |
Austin Schuh | bcce26a | 2018-03-26 23:41:24 -0700 | [diff] [blame] | 475 | "//aos/testing:googletest", |
Tyler Chatow | 24b5db1 | 2020-01-06 21:16:56 -0800 | [diff] [blame] | 476 | "//frc971/queues:gyro_fbs", |
James Kuszmaul | 3e1bb27 | 2020-01-17 18:38:19 -0800 | [diff] [blame] | 477 | "//frc971/wpilib:imu_fbs", |
Alex Perry | 04300d6 | 2019-02-17 14:37:04 -0800 | [diff] [blame] | 478 | ] + cpu_select({ |
| 479 | "amd64": [ |
| 480 | "//third_party/matplotlib-cpp", |
| 481 | ], |
| 482 | "arm": [], |
| 483 | }), |
Comran Morshed | 5323ecb | 2015-12-26 20:50:55 +0000 | [diff] [blame] | 484 | ) |
Brian Silverman | 6260c09 | 2018-01-14 15:21:36 -0800 | [diff] [blame] | 485 | |
| 486 | genrule( |
Austin Schuh | bcce26a | 2018-03-26 23:41:24 -0700 | [diff] [blame] | 487 | name = "genrule_haptic_wheel", |
| 488 | outs = [ |
| 489 | "haptic_wheel.h", |
| 490 | "haptic_wheel.cc", |
| 491 | "integral_haptic_wheel.h", |
| 492 | "integral_haptic_wheel.cc", |
| 493 | "haptic_trigger.h", |
| 494 | "haptic_trigger.cc", |
| 495 | "integral_haptic_trigger.h", |
| 496 | "integral_haptic_trigger.cc", |
| 497 | ], |
| 498 | cmd = "$(location //frc971/control_loops/python:haptic_wheel) $(OUTS)", |
| 499 | compatible_with = mcu_cpus, |
| 500 | tools = [ |
| 501 | "//frc971/control_loops/python:haptic_wheel", |
| 502 | ], |
| 503 | visibility = ["//visibility:private"], |
Brian Silverman | 6260c09 | 2018-01-14 15:21:36 -0800 | [diff] [blame] | 504 | ) |
| 505 | |
| 506 | cc_library( |
Austin Schuh | bcce26a | 2018-03-26 23:41:24 -0700 | [diff] [blame] | 507 | name = "haptic_input_uc", |
| 508 | srcs = [ |
| 509 | "haptic_trigger.cc", |
| 510 | "haptic_wheel.cc", |
| 511 | "integral_haptic_trigger.cc", |
| 512 | "integral_haptic_wheel.cc", |
| 513 | ], |
| 514 | hdrs = [ |
| 515 | "haptic_trigger.h", |
| 516 | "haptic_wheel.h", |
| 517 | "integral_haptic_trigger.h", |
| 518 | "integral_haptic_wheel.h", |
| 519 | ], |
| 520 | restricted_to = mcu_cpus, |
| 521 | deps = [ |
| 522 | "//frc971/control_loops:state_feedback_loop_uc", |
| 523 | ], |
Brian Silverman | 6260c09 | 2018-01-14 15:21:36 -0800 | [diff] [blame] | 524 | ) |
| 525 | |
| 526 | cc_library( |
Austin Schuh | bcce26a | 2018-03-26 23:41:24 -0700 | [diff] [blame] | 527 | name = "haptic_wheel", |
| 528 | srcs = [ |
| 529 | "haptic_trigger.cc", |
| 530 | "haptic_wheel.cc", |
| 531 | "integral_haptic_trigger.cc", |
| 532 | "integral_haptic_wheel.cc", |
| 533 | ], |
| 534 | hdrs = [ |
| 535 | "haptic_trigger.h", |
| 536 | "haptic_wheel.h", |
| 537 | "integral_haptic_trigger.h", |
| 538 | "integral_haptic_wheel.h", |
| 539 | ], |
| 540 | deps = [ |
| 541 | "//frc971/control_loops:state_feedback_loop", |
| 542 | ], |
Brian Silverman | 6260c09 | 2018-01-14 15:21:36 -0800 | [diff] [blame] | 543 | ) |
Austin Schuh | c2b0877 | 2018-12-19 18:05:06 +1100 | [diff] [blame] | 544 | |
| 545 | cc_library( |
| 546 | name = "spline", |
| 547 | srcs = ["spline.cc"], |
| 548 | hdrs = ["spline.h"], |
| 549 | deps = [ |
Austin Schuh | f49b4e3 | 2019-01-13 17:26:58 -0800 | [diff] [blame] | 550 | "//frc971/control_loops:binomial", |
Alex Perry | cb7da4b | 2019-08-28 19:35:56 -0700 | [diff] [blame] | 551 | "@org_tuxfamily_eigen//:eigen", |
Austin Schuh | c2b0877 | 2018-12-19 18:05:06 +1100 | [diff] [blame] | 552 | ], |
| 553 | ) |
| 554 | |
Alex Perry | a60da44 | 2019-01-21 19:00:27 -0500 | [diff] [blame] | 555 | cc_binary( |
| 556 | name = "spline.so", |
| 557 | srcs = ["libspline.cc"], |
James Kuszmaul | 2ed7b3c | 2019-02-09 18:26:19 -0800 | [diff] [blame] | 558 | linkshared = True, |
Alex Perry | a60da44 | 2019-01-21 19:00:27 -0500 | [diff] [blame] | 559 | deps = [ |
| 560 | ":distance_spline", |
| 561 | ":spline", |
Alex Perry | 0603b54 | 2019-01-25 20:29:51 -0800 | [diff] [blame] | 562 | ":trajectory", |
| 563 | "//aos/logging:implementations", |
| 564 | "//aos/network:team_number", |
Alex Perry | 0603b54 | 2019-01-25 20:29:51 -0800 | [diff] [blame] | 565 | "//y2019/control_loops/drivetrain:drivetrain_base", |
Alex Perry | cb7da4b | 2019-08-28 19:35:56 -0700 | [diff] [blame] | 566 | "@org_tuxfamily_eigen//:eigen", |
Alex Perry | a60da44 | 2019-01-21 19:00:27 -0500 | [diff] [blame] | 567 | ], |
Alex Perry | a60da44 | 2019-01-21 19:00:27 -0500 | [diff] [blame] | 568 | ) |
| 569 | |
Austin Schuh | c2b0877 | 2018-12-19 18:05:06 +1100 | [diff] [blame] | 570 | cc_test( |
| 571 | name = "spline_test", |
| 572 | srcs = [ |
| 573 | "spline_test.cc", |
| 574 | ], |
| 575 | restricted_to = ["//tools:k8"], |
| 576 | deps = [ |
| 577 | ":spline", |
| 578 | "//aos/testing:googletest", |
| 579 | "//third_party/matplotlib-cpp", |
| 580 | "@com_github_gflags_gflags//:gflags", |
| 581 | ], |
| 582 | ) |
Austin Schuh | 941b46d | 2018-12-19 18:06:05 +1100 | [diff] [blame] | 583 | |
| 584 | cc_library( |
| 585 | name = "distance_spline", |
| 586 | srcs = ["distance_spline.cc"], |
| 587 | hdrs = ["distance_spline.h"], |
| 588 | deps = [ |
| 589 | ":spline", |
Austin Schuh | a6e7b21 | 2019-01-20 13:53:01 -0800 | [diff] [blame] | 590 | "//aos/logging", |
Austin Schuh | 941b46d | 2018-12-19 18:06:05 +1100 | [diff] [blame] | 591 | "//frc971/control_loops:fixed_quadrature", |
Alex Perry | cb7da4b | 2019-08-28 19:35:56 -0700 | [diff] [blame] | 592 | "@org_tuxfamily_eigen//:eigen", |
Austin Schuh | 941b46d | 2018-12-19 18:06:05 +1100 | [diff] [blame] | 593 | ], |
| 594 | ) |
| 595 | |
| 596 | cc_test( |
| 597 | name = "distance_spline_test", |
| 598 | srcs = [ |
| 599 | "distance_spline_test.cc", |
| 600 | ], |
Austin Schuh | 9b0b643 | 2019-01-13 21:15:17 -0800 | [diff] [blame] | 601 | defines = |
| 602 | cpu_select({ |
| 603 | "amd64": [ |
| 604 | "SUPPORT_PLOT=1", |
| 605 | ], |
| 606 | "arm": [], |
| 607 | }), |
| 608 | linkstatic = True, |
Austin Schuh | 941b46d | 2018-12-19 18:06:05 +1100 | [diff] [blame] | 609 | deps = [ |
| 610 | ":distance_spline", |
| 611 | "//aos/testing:googletest", |
Austin Schuh | a6e7b21 | 2019-01-20 13:53:01 -0800 | [diff] [blame] | 612 | "//aos/testing:test_shm", |
Austin Schuh | 941b46d | 2018-12-19 18:06:05 +1100 | [diff] [blame] | 613 | "@com_github_gflags_gflags//:gflags", |
Austin Schuh | 9b0b643 | 2019-01-13 21:15:17 -0800 | [diff] [blame] | 614 | ] + cpu_select({ |
| 615 | "amd64": [ |
| 616 | "//third_party/matplotlib-cpp", |
| 617 | ], |
| 618 | "arm": [], |
| 619 | }), |
Austin Schuh | 941b46d | 2018-12-19 18:06:05 +1100 | [diff] [blame] | 620 | ) |
Austin Schuh | ec7f06d | 2019-01-04 07:47:15 +1100 | [diff] [blame] | 621 | |
| 622 | cc_library( |
| 623 | name = "trajectory", |
| 624 | srcs = ["trajectory.cc"], |
| 625 | hdrs = ["trajectory.h"], |
| 626 | deps = [ |
| 627 | ":distance_spline", |
| 628 | ":drivetrain_config", |
Austin Schuh | ec7f06d | 2019-01-04 07:47:15 +1100 | [diff] [blame] | 629 | "//frc971/control_loops:c2d", |
| 630 | "//frc971/control_loops:dlqr", |
| 631 | "//frc971/control_loops:hybrid_state_feedback_loop", |
| 632 | "//frc971/control_loops:runge_kutta", |
| 633 | "//frc971/control_loops:state_feedback_loop", |
Alex Perry | cb7da4b | 2019-08-28 19:35:56 -0700 | [diff] [blame] | 634 | "@org_tuxfamily_eigen//:eigen", |
Austin Schuh | ec7f06d | 2019-01-04 07:47:15 +1100 | [diff] [blame] | 635 | ], |
| 636 | ) |
| 637 | |
| 638 | cc_binary( |
| 639 | name = "trajectory_plot", |
| 640 | srcs = [ |
| 641 | "trajectory_plot.cc", |
| 642 | ], |
| 643 | restricted_to = ["//tools:k8"], |
| 644 | deps = [ |
| 645 | ":distance_spline", |
| 646 | ":trajectory", |
| 647 | "//aos/logging:implementations", |
Austin Schuh | ec7f06d | 2019-01-04 07:47:15 +1100 | [diff] [blame] | 648 | "//aos/network:team_number", |
Austin Schuh | ec7f06d | 2019-01-04 07:47:15 +1100 | [diff] [blame] | 649 | "//third_party/matplotlib-cpp", |
Austin Schuh | 1104318 | 2019-03-23 22:29:12 -0700 | [diff] [blame] | 650 | "//y2019/control_loops/drivetrain:drivetrain_base", |
Austin Schuh | ec7f06d | 2019-01-04 07:47:15 +1100 | [diff] [blame] | 651 | "@com_github_gflags_gflags//:gflags", |
Alex Perry | cb7da4b | 2019-08-28 19:35:56 -0700 | [diff] [blame] | 652 | "@org_tuxfamily_eigen//:eigen", |
Austin Schuh | ec7f06d | 2019-01-04 07:47:15 +1100 | [diff] [blame] | 653 | ], |
| 654 | ) |
| 655 | |
| 656 | cc_test( |
| 657 | name = "trajectory_test", |
| 658 | srcs = [ |
| 659 | "trajectory_test.cc", |
| 660 | ], |
Austin Schuh | 719a33e | 2019-01-07 15:13:34 -0800 | [diff] [blame] | 661 | defines = |
| 662 | cpu_select({ |
| 663 | "amd64": [ |
| 664 | "SUPPORT_PLOT=1", |
| 665 | ], |
| 666 | "arm": [], |
| 667 | }), |
| 668 | linkstatic = True, |
Austin Schuh | ec7f06d | 2019-01-04 07:47:15 +1100 | [diff] [blame] | 669 | deps = [ |
| 670 | ":trajectory", |
James Kuszmaul | ea314d9 | 2019-02-18 19:45:06 -0800 | [diff] [blame] | 671 | ":drivetrain_test_lib", |
Austin Schuh | ec7f06d | 2019-01-04 07:47:15 +1100 | [diff] [blame] | 672 | "//aos/testing:googletest", |
| 673 | "//aos/testing:test_shm", |
| 674 | "//y2016:constants", |
| 675 | "//y2016/control_loops/drivetrain:polydrivetrain_plants", |
James Kuszmaul | ea314d9 | 2019-02-18 19:45:06 -0800 | [diff] [blame] | 676 | "//y2019/control_loops/drivetrain:drivetrain_base", |
Austin Schuh | 719a33e | 2019-01-07 15:13:34 -0800 | [diff] [blame] | 677 | ] + cpu_select({ |
| 678 | "amd64": [ |
| 679 | "//third_party/matplotlib-cpp", |
| 680 | ], |
| 681 | "arm": [], |
| 682 | }), |
Austin Schuh | ec7f06d | 2019-01-04 07:47:15 +1100 | [diff] [blame] | 683 | ) |
Austin Schuh | ca08081 | 2017-05-10 19:31:55 -0700 | [diff] [blame] | 684 | |
| 685 | cc_library( |
| 686 | name = "improved_down_estimator", |
| 687 | srcs = [ |
| 688 | "improved_down_estimator.cc", |
| 689 | ], |
| 690 | hdrs = [ |
| 691 | "improved_down_estimator.h", |
| 692 | ], |
| 693 | deps = [ |
James Kuszmaul | 3e1bb27 | 2020-01-17 18:38:19 -0800 | [diff] [blame] | 694 | ":drivetrain_status_fbs", |
| 695 | "//aos/events:event_loop", |
| 696 | "//frc971/control_loops:control_loops_fbs", |
Austin Schuh | ca08081 | 2017-05-10 19:31:55 -0700 | [diff] [blame] | 697 | "//frc971/control_loops:runge_kutta", |
James Kuszmaul | 3e1bb27 | 2020-01-17 18:38:19 -0800 | [diff] [blame] | 698 | "@//aos/time", |
Austin Schuh | ca08081 | 2017-05-10 19:31:55 -0700 | [diff] [blame] | 699 | "@com_github_google_glog//:glog", |
| 700 | "@org_tuxfamily_eigen//:eigen", |
| 701 | ], |
| 702 | ) |
| 703 | |
| 704 | cc_test( |
| 705 | name = "improved_down_estimator_test", |
| 706 | srcs = [ |
| 707 | "improved_down_estimator_test.cc", |
| 708 | ], |
| 709 | deps = [ |
| 710 | "//aos/testing:googletest", |
| 711 | "//aos/testing:random_seed", |
| 712 | "//frc971/control_loops/drivetrain:improved_down_estimator", |
| 713 | "@org_tuxfamily_eigen//:eigen", |
| 714 | ], |
| 715 | ) |
James Kuszmaul | f4ede20 | 2020-02-14 08:47:40 -0800 | [diff] [blame] | 716 | |
| 717 | cc_library( |
| 718 | name = "camera", |
| 719 | srcs = ["camera.h"], |
| 720 | visibility = ["//visibility:public"], |
| 721 | deps = [ |
| 722 | "//aos/containers:sized_array", |
| 723 | "//frc971/control_loops:pose", |
| 724 | ], |
| 725 | ) |
| 726 | |
| 727 | cc_test( |
| 728 | name = "camera_test", |
| 729 | srcs = ["camera_test.cc"], |
| 730 | deps = [ |
| 731 | ":camera", |
| 732 | "//aos/testing:googletest", |
| 733 | ], |
| 734 | ) |