Maxwell Henderson | 5e7696f | 2023-01-29 12:14:27 -0800 | [diff] [blame] | 1 | load("//frc971:halide.bzl", "halide_library") |
| 2 | load("//tools/build_rules:select.bzl", "cpu_select") |
Maxwell Henderson | bf1bcec | 2023-03-05 18:00:20 -0800 | [diff] [blame] | 3 | load("@com_github_google_flatbuffers//:typescript.bzl", "flatbuffer_ts_library") |
James Kuszmaul | f01da39 | 2023-12-14 11:22:14 -0800 | [diff] [blame] | 4 | load("//aos/flatbuffers:generate.bzl", "static_flatbuffer") |
Filip Kujawa | 3004f20 | 2023-02-12 16:41:40 -0800 | [diff] [blame] | 5 | |
Austin Schuh | db2ed9d | 2022-12-26 14:02:26 -0800 | [diff] [blame] | 6 | cc_binary( |
| 7 | name = "camera_reader", |
| 8 | srcs = [ |
| 9 | "camera_reader.cc", |
Ravago Jones | e870007 | 2023-01-14 19:41:56 -0800 | [diff] [blame] | 10 | "rkisp1-config.h", |
Austin Schuh | db2ed9d | 2022-12-26 14:02:26 -0800 | [diff] [blame] | 11 | ], |
Ravago Jones | e870007 | 2023-01-14 19:41:56 -0800 | [diff] [blame] | 12 | target_compatible_with = [ |
| 13 | "@platforms//os:linux", |
| 14 | "//tools/platforms/hardware:raspberry_pi", |
| 15 | ], |
Austin Schuh | db2ed9d | 2022-12-26 14:02:26 -0800 | [diff] [blame] | 16 | visibility = ["//y2023:__subpackages__"], |
| 17 | deps = [ |
| 18 | "//aos:init", |
| 19 | "//aos/events:shm_event_loop", |
| 20 | "//frc971/vision:media_device", |
| 21 | "//frc971/vision:v4l2_reader", |
| 22 | ], |
| 23 | ) |
| 24 | |
| 25 | cc_binary( |
Austin Schuh | e3e3254 | 2024-01-01 12:24:11 -0800 | [diff] [blame] | 26 | name = "ccm", |
| 27 | srcs = [ |
| 28 | "ccm.cc", |
| 29 | ], |
| 30 | target_compatible_with = [ |
| 31 | "@platforms//os:linux", |
| 32 | "@platforms//cpu:arm64", |
| 33 | ], |
| 34 | visibility = ["//y2023:__subpackages__"], |
| 35 | deps = [ |
| 36 | "//aos:init", |
| 37 | "//aos:json_to_flatbuffer", |
| 38 | "//aos/events:shm_event_loop", |
| 39 | "//frc971/constants:constants_sender_lib", |
| 40 | "//frc971/vision:vision_fbs", |
| 41 | "//third_party:opencv", |
| 42 | "//y2023/vision:vision_util", |
| 43 | "@com_google_absl//absl/strings", |
| 44 | ], |
| 45 | ) |
| 46 | |
| 47 | cc_binary( |
Austin Schuh | db2ed9d | 2022-12-26 14:02:26 -0800 | [diff] [blame] | 48 | name = "viewer", |
| 49 | srcs = [ |
| 50 | "viewer.cc", |
| 51 | ], |
| 52 | target_compatible_with = ["@platforms//os:linux"], |
Jim Ostrowski | 8a1480f | 2024-01-20 00:31:51 -0800 | [diff] [blame] | 53 | visibility = [ |
| 54 | "//y2023:__subpackages__", |
| 55 | "//y2024:__subpackages__", |
| 56 | ], |
Austin Schuh | db2ed9d | 2022-12-26 14:02:26 -0800 | [diff] [blame] | 57 | deps = [ |
| 58 | "//aos:init", |
Ravago Jones | 17e13a2 | 2023-01-28 17:12:11 -0800 | [diff] [blame] | 59 | "//aos:json_to_flatbuffer", |
Austin Schuh | db2ed9d | 2022-12-26 14:02:26 -0800 | [diff] [blame] | 60 | "//aos/events:shm_event_loop", |
milind-u | c3cf975 | 2023-02-20 23:07:30 -0800 | [diff] [blame] | 61 | "//frc971/constants:constants_sender_lib", |
Austin Schuh | db2ed9d | 2022-12-26 14:02:26 -0800 | [diff] [blame] | 62 | "//frc971/vision:vision_fbs", |
| 63 | "//third_party:opencv", |
milind-u | c3cf975 | 2023-02-20 23:07:30 -0800 | [diff] [blame] | 64 | "//y2023/vision:vision_util", |
Ravago Jones | 17e13a2 | 2023-01-28 17:12:11 -0800 | [diff] [blame] | 65 | "@com_google_absl//absl/strings", |
Austin Schuh | db2ed9d | 2022-12-26 14:02:26 -0800 | [diff] [blame] | 66 | ], |
| 67 | ) |
milind-u | 16e3a08 | 2023-01-21 13:53:43 -0800 | [diff] [blame] | 68 | |
| 69 | cc_binary( |
milind-u | d4051fe | 2023-02-25 18:00:05 -0800 | [diff] [blame] | 70 | name = "localization_verifier", |
| 71 | srcs = [ |
| 72 | "localization_verifier.cc", |
| 73 | ], |
| 74 | target_compatible_with = ["@platforms//os:linux"], |
| 75 | visibility = ["//y2023:__subpackages__"], |
| 76 | deps = [ |
| 77 | "//aos:init", |
| 78 | "//aos/events:shm_event_loop", |
| 79 | "//frc971/constants:constants_sender_lib", |
| 80 | "//frc971/control_loops/drivetrain/localization:localizer_output_fbs", |
| 81 | "//frc971/vision:vision_fbs", |
| 82 | "//y2023/localizer", |
milind-u | 607f323 | 2023-02-26 15:22:40 -0800 | [diff] [blame] | 83 | "//y2023/localizer:utils", |
milind-u | d4051fe | 2023-02-25 18:00:05 -0800 | [diff] [blame] | 84 | "//y2023/vision:vision_util", |
| 85 | "@com_google_absl//absl/strings", |
| 86 | ], |
| 87 | ) |
| 88 | |
| 89 | cc_binary( |
milind-u | 16e3a08 | 2023-01-21 13:53:43 -0800 | [diff] [blame] | 90 | name = "target_mapping", |
| 91 | srcs = [ |
| 92 | "target_mapping.cc", |
| 93 | ], |
| 94 | data = [ |
| 95 | "//y2023:aos_config", |
milind-u | c5a494f | 2023-02-24 15:39:22 -0800 | [diff] [blame] | 96 | "//y2023/constants:constants.json", |
| 97 | "//y2023/vision:maps", |
milind-u | 16e3a08 | 2023-01-21 13:53:43 -0800 | [diff] [blame] | 98 | ], |
| 99 | target_compatible_with = ["@platforms//os:linux"], |
| 100 | visibility = ["//y2023:__subpackages__"], |
| 101 | deps = [ |
milind-u | 09fb125 | 2023-01-28 19:21:41 -0800 | [diff] [blame] | 102 | ":aprilrobotics_lib", |
milind-u | 16e3a08 | 2023-01-21 13:53:43 -0800 | [diff] [blame] | 103 | "//aos:init", |
| 104 | "//aos/events:simulated_event_loop", |
| 105 | "//aos/events/logging:log_reader", |
Jim Ostrowski | 68965cd | 2023-03-01 20:32:51 -0800 | [diff] [blame] | 106 | "//aos/util:mcap_logger", |
James Kuszmaul | d67f6d2 | 2023-02-05 17:37:25 -0800 | [diff] [blame] | 107 | "//frc971/constants:constants_sender_lib", |
milind-u | 16e3a08 | 2023-01-21 13:53:43 -0800 | [diff] [blame] | 108 | "//frc971/control_loops:pose", |
| 109 | "//frc971/vision:calibration_fbs", |
| 110 | "//frc971/vision:charuco_lib", |
| 111 | "//frc971/vision:target_mapper", |
Jim Ostrowski | 2f2685f | 2023-03-25 11:57:54 -0700 | [diff] [blame] | 112 | "//frc971/vision:visualize_robot", |
milind-u | 16e3a08 | 2023-01-21 13:53:43 -0800 | [diff] [blame] | 113 | "//third_party:opencv", |
James Kuszmaul | d67f6d2 | 2023-02-05 17:37:25 -0800 | [diff] [blame] | 114 | "//y2023/constants:constants_fbs", |
milind-u | c5a494f | 2023-02-24 15:39:22 -0800 | [diff] [blame] | 115 | "//y2023/constants:simulated_constants_sender", |
James Kuszmaul | d67f6d2 | 2023-02-05 17:37:25 -0800 | [diff] [blame] | 116 | ], |
| 117 | ) |
| 118 | |
| 119 | cc_library( |
| 120 | name = "vision_util", |
| 121 | srcs = ["vision_util.cc"], |
| 122 | hdrs = ["vision_util.h"], |
| 123 | deps = [ |
milind-u | f2a4e32 | 2023-02-01 19:33:10 -0800 | [diff] [blame] | 124 | "//third_party:opencv", |
James Kuszmaul | d67f6d2 | 2023-02-05 17:37:25 -0800 | [diff] [blame] | 125 | "//y2023/constants:constants_fbs", |
| 126 | "@com_github_google_glog//:glog", |
milind-u | 16e3a08 | 2023-01-21 13:53:43 -0800 | [diff] [blame] | 127 | ], |
| 128 | ) |
Maxwell Henderson | febee25 | 2023-01-28 16:53:52 -0800 | [diff] [blame] | 129 | |
Maxwell Henderson | 5e7696f | 2023-01-29 12:14:27 -0800 | [diff] [blame] | 130 | halide_library( |
| 131 | name = "ToGreyscaleAndDecimateHalide", |
| 132 | src = "april_generator.cc", |
| 133 | args = "rows=720 cols=1280", |
| 134 | function = "decimate_generator", |
| 135 | visibility = ["//visibility:public"], |
| 136 | ) |
| 137 | |
| 138 | halide_library( |
| 139 | name = "ThresholdHalide", |
| 140 | src = "april_generator.cc", |
| 141 | args = "rows=360 cols=640", |
| 142 | function = "threshold_generator", |
| 143 | visibility = ["//visibility:public"], |
| 144 | ) |
| 145 | |
Ravago Jones | b84f206 | 2023-01-29 13:46:59 -0800 | [diff] [blame] | 146 | cc_library( |
| 147 | name = "aprilrobotics_lib", |
Maxwell Henderson | febee25 | 2023-01-28 16:53:52 -0800 | [diff] [blame] | 148 | srcs = [ |
| 149 | "aprilrobotics.cc", |
| 150 | "aprilrobotics.h", |
| 151 | ], |
| 152 | target_compatible_with = ["@platforms//os:linux"], |
| 153 | visibility = ["//y2023:__subpackages__"], |
| 154 | deps = [ |
James Kuszmaul | d67f6d2 | 2023-02-05 17:37:25 -0800 | [diff] [blame] | 155 | ":vision_util", |
Maxwell Henderson | febee25 | 2023-01-28 16:53:52 -0800 | [diff] [blame] | 156 | "//aos:init", |
| 157 | "//aos/events:shm_event_loop", |
James Kuszmaul | d67f6d2 | 2023-02-05 17:37:25 -0800 | [diff] [blame] | 158 | "//frc971/constants:constants_sender_lib", |
Maxwell Henderson | febee25 | 2023-01-28 16:53:52 -0800 | [diff] [blame] | 159 | "//frc971/vision:calibration_fbs", |
| 160 | "//frc971/vision:charuco_lib", |
| 161 | "//frc971/vision:target_map_fbs", |
| 162 | "//frc971/vision:target_mapper", |
| 163 | "//frc971/vision:vision_fbs", |
Jim Ostrowski | 49be823 | 2023-03-23 01:00:14 -0700 | [diff] [blame] | 164 | "//frc971/vision:visualize_robot", |
Maxwell Henderson | febee25 | 2023-01-28 16:53:52 -0800 | [diff] [blame] | 165 | "//third_party:opencv", |
| 166 | "//third_party/apriltag", |
James Kuszmaul | d67f6d2 | 2023-02-05 17:37:25 -0800 | [diff] [blame] | 167 | "//y2023/constants:constants_fbs", |
Philipp Schrader | 790cb54 | 2023-07-05 21:06:52 -0700 | [diff] [blame] | 168 | "@org_tuxfamily_eigen//:eigen", |
Maxwell Henderson | febee25 | 2023-01-28 16:53:52 -0800 | [diff] [blame] | 169 | ], |
| 170 | ) |
Ravago Jones | b84f206 | 2023-01-29 13:46:59 -0800 | [diff] [blame] | 171 | |
| 172 | cc_binary( |
| 173 | name = "aprilrobotics", |
| 174 | srcs = [ |
| 175 | "aprilrobotics_main.cc", |
| 176 | ], |
| 177 | target_compatible_with = ["@platforms//os:linux"], |
| 178 | visibility = ["//y2023:__subpackages__"], |
| 179 | deps = [ |
| 180 | ":aprilrobotics_lib", |
| 181 | "//aos:init", |
| 182 | "//aos/events:shm_event_loop", |
| 183 | ], |
| 184 | ) |
James Kuszmaul | 77d536c | 2023-02-11 17:30:59 -0800 | [diff] [blame] | 185 | |
Yash Chainani | 10b7b02 | 2023-02-22 14:34:04 -0800 | [diff] [blame] | 186 | cc_test( |
| 187 | name = "april_detection_test", |
| 188 | srcs = [ |
| 189 | "april_detection_test.cc", |
| 190 | ], |
| 191 | data = [ |
| 192 | "//y2023:aos_config", |
| 193 | "//y2023/constants:constants.json", |
| 194 | "@apriltag_test_bfbs_images", |
| 195 | ], |
| 196 | deps = [ |
| 197 | ":aprilrobotics_lib", |
| 198 | "//aos:flatbuffer_merge", |
| 199 | "//aos:json_to_flatbuffer", |
| 200 | "//aos/events:simulated_event_loop", |
| 201 | "//aos/testing:googletest", |
| 202 | "//aos/testing:path", |
| 203 | "//aos/testing:test_logging", |
| 204 | "//frc971/constants:constants_sender_lib", |
| 205 | "//frc971/vision:target_mapper", |
| 206 | "//frc971/vision:vision_fbs", |
| 207 | "//y2023/constants:constants_fbs", |
| 208 | "//y2023/constants:constants_list_fbs", |
| 209 | ], |
| 210 | ) |
| 211 | |
milind-u | 8e98cb9 | 2023-02-05 16:07:10 -0800 | [diff] [blame] | 212 | filegroup( |
| 213 | name = "image_streamer_start", |
| 214 | srcs = ["image_streamer_start.sh"], |
| 215 | visibility = ["//visibility:public"], |
| 216 | ) |
| 217 | |
James Kuszmaul | 77d536c | 2023-02-11 17:30:59 -0800 | [diff] [blame] | 218 | cc_binary( |
| 219 | name = "foxglove_image_converter", |
| 220 | srcs = ["foxglove_image_converter.cc"], |
| 221 | visibility = ["//y2023:__subpackages__"], |
| 222 | deps = [ |
| 223 | "//aos:init", |
| 224 | "//aos/events:shm_event_loop", |
| 225 | "//frc971/vision:foxglove_image_converter_lib", |
| 226 | ], |
| 227 | ) |
James Kuszmaul | d6199be | 2023-02-11 19:56:28 -0800 | [diff] [blame] | 228 | |
| 229 | cc_binary( |
| 230 | name = "calibrate_extrinsics", |
| 231 | srcs = [ |
| 232 | "calibrate_extrinsics.cc", |
| 233 | ], |
| 234 | target_compatible_with = ["@platforms//os:linux"], |
| 235 | deps = [ |
| 236 | "//aos:init", |
| 237 | "//aos/events/logging:log_reader", |
| 238 | "//frc971/constants:constants_sender_lib", |
| 239 | "//frc971/control_loops:profiled_subsystem_fbs", |
| 240 | "//frc971/vision:extrinsics_calibration", |
| 241 | "//third_party:opencv", |
| 242 | "//y2023/constants:constants_fbs", |
| 243 | "//y2023/vision:vision_util", |
| 244 | ], |
| 245 | ) |
Filip Kujawa | 3004f20 | 2023-02-12 16:41:40 -0800 | [diff] [blame] | 246 | |
| 247 | cc_binary( |
Jim Ostrowski | 2f2685f | 2023-03-25 11:57:54 -0700 | [diff] [blame] | 248 | name = "calibrate_multi_cameras", |
| 249 | srcs = [ |
| 250 | "calibrate_multi_cameras.cc", |
| 251 | ], |
| 252 | data = [ |
| 253 | "//y2023:aos_config", |
| 254 | "//y2023/constants:constants.json", |
| 255 | "//y2023/vision:maps", |
| 256 | ], |
| 257 | target_compatible_with = ["@platforms//os:linux"], |
| 258 | visibility = ["//y2023:__subpackages__"], |
| 259 | deps = [ |
| 260 | ":aprilrobotics_lib", |
| 261 | "//aos:init", |
| 262 | "//aos/events:simulated_event_loop", |
| 263 | "//aos/events/logging:log_reader", |
| 264 | "//aos/util:mcap_logger", |
| 265 | "//frc971/constants:constants_sender_lib", |
| 266 | "//frc971/control_loops:pose", |
| 267 | "//frc971/vision:calibration_fbs", |
| 268 | "//frc971/vision:charuco_lib", |
Jim Ostrowski | 68c321d | 2023-11-14 21:36:28 -0800 | [diff] [blame] | 269 | "//frc971/vision:extrinsics_calibration", |
Jim Ostrowski | 2f2685f | 2023-03-25 11:57:54 -0700 | [diff] [blame] | 270 | "//frc971/vision:target_mapper", |
| 271 | "//third_party:opencv", |
| 272 | "//y2023/constants:constants_fbs", |
| 273 | "//y2023/constants:simulated_constants_sender", |
| 274 | "@org_tuxfamily_eigen//:eigen", |
| 275 | ], |
| 276 | ) |
| 277 | |
Jim Ostrowski | 68c321d | 2023-11-14 21:36:28 -0800 | [diff] [blame] | 278 | py_test( |
| 279 | name = "calibrate_multi_cameras_test", |
| 280 | srcs = ["calibrate_multi_cameras_test.py"], |
| 281 | args = [ |
| 282 | "--calibrate_binary", |
| 283 | "$(location :calibrate_multi_cameras)", |
| 284 | "--logfile", |
| 285 | "external/calibrate_multi_cameras_data/fbs_log-268", |
| 286 | ], |
| 287 | data = [ |
| 288 | ":calibrate_multi_cameras", |
| 289 | "//y2023/vision/calib_files", |
| 290 | "@calibrate_multi_cameras_data", |
| 291 | ], |
| 292 | target_compatible_with = ["@platforms//cpu:x86_64"], |
| 293 | ) |
| 294 | |
Jim Ostrowski | 2f2685f | 2023-03-25 11:57:54 -0700 | [diff] [blame] | 295 | cc_binary( |
Filip Kujawa | 3004f20 | 2023-02-12 16:41:40 -0800 | [diff] [blame] | 296 | name = "game_pieces_detector", |
| 297 | srcs = [ |
| 298 | "game_pieces_main.cc", |
| 299 | ], |
| 300 | target_compatible_with = ["@platforms//os:linux"], |
| 301 | visibility = ["//y2023:__subpackages__"], |
| 302 | deps = [ |
| 303 | ":game_pieces_lib", |
| 304 | "//aos:init", |
| 305 | "//aos/events:shm_event_loop", |
| 306 | ], |
| 307 | ) |
| 308 | |
| 309 | cc_library( |
| 310 | name = "game_pieces_lib", |
| 311 | srcs = [ |
| 312 | "game_pieces.cc", |
| 313 | ], |
| 314 | hdrs = [ |
| 315 | "game_pieces.h", |
| 316 | ], |
| 317 | data = [ |
| 318 | "//y2023:aos_config", |
Filip Kujawa | 8c76e5d | 2023-04-08 16:20:27 -0700 | [diff] [blame] | 319 | "@game_pieces_edgetpu_model//file", |
Filip Kujawa | 3004f20 | 2023-02-12 16:41:40 -0800 | [diff] [blame] | 320 | ], |
| 321 | target_compatible_with = ["@platforms//os:linux"], |
| 322 | visibility = ["//y2023:__subpackages__"], |
| 323 | deps = [ |
| 324 | ":game_pieces_fbs", |
Filip Kujawa | 8c76e5d | 2023-04-08 16:20:27 -0700 | [diff] [blame] | 325 | ":yolov5_lib", |
Filip Kujawa | 3004f20 | 2023-02-12 16:41:40 -0800 | [diff] [blame] | 326 | "//aos/events:event_loop", |
| 327 | "//aos/events:shm_event_loop", |
| 328 | "//frc971/vision:vision_fbs", |
| 329 | ], |
| 330 | ) |
| 331 | |
James Kuszmaul | f01da39 | 2023-12-14 11:22:14 -0800 | [diff] [blame] | 332 | static_flatbuffer( |
Filip Kujawa | 3004f20 | 2023-02-12 16:41:40 -0800 | [diff] [blame] | 333 | name = "game_pieces_fbs", |
| 334 | srcs = ["game_pieces.fbs"], |
Filip Kujawa | 3004f20 | 2023-02-12 16:41:40 -0800 | [diff] [blame] | 335 | target_compatible_with = ["@platforms//os:linux"], |
| 336 | visibility = ["//visibility:public"], |
| 337 | ) |
Maxwell Henderson | bf1bcec | 2023-03-05 18:00:20 -0800 | [diff] [blame] | 338 | |
| 339 | flatbuffer_ts_library( |
| 340 | name = "game_pieces_ts_fbs", |
| 341 | srcs = ["game_pieces.fbs"], |
| 342 | target_compatible_with = ["@platforms//os:linux"], |
| 343 | visibility = ["//visibility:public"], |
| 344 | ) |
milind-u | a96c518 | 2023-03-10 23:31:11 -0800 | [diff] [blame] | 345 | |
| 346 | cc_binary( |
| 347 | name = "image_logger", |
| 348 | srcs = [ |
| 349 | "image_logger.cc", |
| 350 | ], |
| 351 | target_compatible_with = ["@platforms//os:linux"], |
| 352 | visibility = ["//visibility:public"], |
| 353 | deps = [ |
| 354 | "//aos:configuration", |
| 355 | "//aos:init", |
| 356 | "//aos/events:shm_event_loop", |
| 357 | "//aos/events/logging:log_writer", |
| 358 | "//aos/logging:log_namer", |
| 359 | "//frc971/input:joystick_state_fbs", |
| 360 | "@com_github_gflags_gflags//:gflags", |
| 361 | "@com_github_google_glog//:glog", |
| 362 | ], |
| 363 | ) |
Filip Kujawa | dc7d47c | 2023-04-08 16:16:51 -0700 | [diff] [blame] | 364 | |
| 365 | cc_library( |
| 366 | name = "yolov5_lib", |
| 367 | srcs = ["yolov5.cc"], |
| 368 | hdrs = ["yolov5.h"], |
| 369 | deps = [ |
| 370 | "//third_party:opencv", |
| 371 | "@com_github_gflags_gflags//:gflags", |
| 372 | "@com_github_google_glog//:glog", |
Filip Kujawa | f3b8adb | 2023-04-07 21:00:49 -0700 | [diff] [blame] | 373 | "@com_google_absl//absl/types:span", |
Filip Kujawa | dc7d47c | 2023-04-08 16:16:51 -0700 | [diff] [blame] | 374 | ] + cpu_select({ |
| 375 | "amd64": [ |
| 376 | "@libtensorflowlite//:tensorflow-k8", |
| 377 | "@libedgetpu//:libedgetpu-k8", |
| 378 | ], |
| 379 | "arm": [ |
| 380 | "@libtensorflowlite//:tensorflow-arm", |
| 381 | "@libedgetpu//:libedgetpu-arm", |
| 382 | ], |
| 383 | }), |
| 384 | ) |
Filip Kujawa | ec433e1 | 2023-04-09 19:58:59 -0700 | [diff] [blame] | 385 | |
| 386 | filegroup( |
| 387 | name = "game_pieces_detector_starter", |
| 388 | srcs = ["game_pieces_detector_starter.sh"], |
| 389 | visibility = ["//visibility:public"], |
| 390 | ) |
James Kuszmaul | 910fbe4 | 2023-04-09 16:18:40 -0700 | [diff] [blame] | 391 | |
| 392 | cc_library( |
| 393 | name = "camera_monitor_lib", |
| 394 | srcs = ["camera_monitor_lib.cc"], |
| 395 | hdrs = ["camera_monitor_lib.h"], |
| 396 | deps = [ |
| 397 | "//aos/events:event_loop", |
| 398 | "//aos/starter:starter_rpc_lib", |
| 399 | "//frc971/vision:vision_fbs", |
| 400 | ], |
| 401 | ) |
| 402 | |
| 403 | cc_binary( |
| 404 | name = "camera_monitor", |
| 405 | srcs = ["camera_monitor.cc"], |
| 406 | visibility = ["//visibility:public"], |
| 407 | deps = [ |
| 408 | ":camera_monitor_lib", |
| 409 | "//aos:init", |
| 410 | "//aos/events:shm_event_loop", |
| 411 | ], |
| 412 | ) |