| filegroup( |
| name = "image_streamer_start", |
| srcs = ["image_streamer_start.sh"], |
| visibility = ["//visibility:public"], |
| ) |
| |
| cc_binary( |
| name = "apriltag_detector", |
| srcs = [ |
| "apriltag_detector.cc", |
| "vision_util.cc", |
| "vision_util.h", |
| ], |
| features = ["cuda"], |
| target_compatible_with = ["@platforms//cpu:arm64"], |
| visibility = ["//visibility:public"], |
| deps = [ |
| "//aos:configuration", |
| "//aos:init", |
| "//aos/events:shm_event_loop", |
| "//frc971/orin:gpu_apriltag_lib", |
| "//third_party:cudart", |
| "//third_party/apriltag", |
| "//y2024_bot3/constants:constants_fbs", |
| "@com_github_nvidia_cccl//:cccl", |
| "@com_google_absl//absl/flags:flag", |
| "@com_google_absl//absl/log", |
| "@com_google_absl//absl/log:check", |
| ], |
| ) |
| |
| cc_binary( |
| name = "viewer", |
| srcs = [ |
| "viewer.cc", |
| "vision_util.cc", |
| "vision_util.h", |
| ], |
| target_compatible_with = ["@platforms//os:linux"], |
| visibility = [ |
| "//y2024_bot3:__subpackages__", |
| ], |
| deps = [ |
| "//aos:init", |
| "//aos:json_to_flatbuffer", |
| "//aos/events:shm_event_loop", |
| "//frc971/constants:constants_sender_lib", |
| "//frc971/vision:vision_fbs", |
| "//frc971/vision:vision_util_lib", |
| "//third_party:opencv", |
| "//y2024_bot3/constants:constants_fbs", |
| "@com_google_absl//absl/strings", |
| ], |
| ) |