Niko Sohmers | 3860f8a | 2024-01-12 21:05:19 -0800 | [diff] [blame] | 1 | filegroup( |
| 2 | name = "image_streamer_start", |
| 3 | srcs = ["image_streamer_start.sh"], |
| 4 | visibility = ["//visibility:public"], |
| 5 | ) |
| 6 | |
| 7 | cc_binary( |
Maxwell Henderson | 123c817 | 2024-03-01 22:54:16 -0800 | [diff] [blame] | 8 | name = "target_mapping", |
| 9 | srcs = [ |
| 10 | "target_mapping.cc", |
| 11 | "vision_util.cc", |
| 12 | "vision_util.h", |
| 13 | ], |
| 14 | data = [ |
| 15 | "//y2024:aos_config", |
| 16 | "//y2024/constants:constants.json", |
| 17 | "//y2024/vision:maps", |
| 18 | ], |
| 19 | target_compatible_with = ["@platforms//os:linux"], |
| 20 | visibility = ["//y2023:__subpackages__"], |
| 21 | deps = [ |
| 22 | "//aos:init", |
| 23 | "//aos/events:simulated_event_loop", |
| 24 | "//aos/events/logging:log_reader", |
| 25 | "//aos/util:mcap_logger", |
| 26 | "//frc971/constants:constants_sender_lib", |
| 27 | "//frc971/control_loops:pose", |
| 28 | "//frc971/vision:calibration_fbs", |
| 29 | "//frc971/vision:charuco_lib", |
| 30 | "//frc971/vision:target_mapper", |
| 31 | "//frc971/vision:vision_util_lib", |
| 32 | "//frc971/vision:visualize_robot", |
| 33 | "//third_party:opencv", |
| 34 | "//y2024/constants:constants_fbs", |
| 35 | "//y2024/constants:simulated_constants_sender", |
| 36 | ], |
| 37 | ) |
| 38 | |
| 39 | cc_binary( |
Jim Ostrowski | cb8b408 | 2024-01-21 02:23:46 -0800 | [diff] [blame] | 40 | name = "apriltag_detector", |
| 41 | srcs = [ |
| 42 | "apriltag_detector.cc", |
| 43 | "vision_util.cc", |
| 44 | "vision_util.h", |
| 45 | ], |
| 46 | features = ["cuda"], |
| 47 | target_compatible_with = ["@platforms//cpu:arm64"], |
| 48 | visibility = ["//visibility:public"], |
| 49 | deps = [ |
| 50 | "//aos:configuration", |
| 51 | "//aos:init", |
| 52 | "//aos/events:shm_event_loop", |
| 53 | "//frc971/orin:gpu_apriltag_lib", |
| 54 | "//third_party:cudart", |
| 55 | "//third_party/apriltag", |
| 56 | "//y2024/constants:constants_fbs", |
Jim Ostrowski | cb8b408 | 2024-01-21 02:23:46 -0800 | [diff] [blame] | 57 | "@com_github_nvidia_cccl//:cccl", |
Austin Schuh | 99f7c6a | 2024-06-25 22:07:44 -0700 | [diff] [blame] | 58 | "@com_google_absl//absl/flags:flag", |
| 59 | "@com_google_absl//absl/log", |
| 60 | "@com_google_absl//absl/log:check", |
Jim Ostrowski | cb8b408 | 2024-01-21 02:23:46 -0800 | [diff] [blame] | 61 | ], |
| 62 | ) |
Jim Ostrowski | 9bf206a | 2024-01-26 23:31:58 -0800 | [diff] [blame] | 63 | |
| 64 | cc_binary( |
| 65 | name = "viewer", |
| 66 | srcs = [ |
| 67 | "viewer.cc", |
| 68 | "vision_util.cc", |
| 69 | "vision_util.h", |
| 70 | ], |
| 71 | target_compatible_with = ["@platforms//os:linux"], |
| 72 | visibility = [ |
| 73 | "//y2024:__subpackages__", |
| 74 | ], |
| 75 | deps = [ |
| 76 | "//aos:init", |
| 77 | "//aos:json_to_flatbuffer", |
| 78 | "//aos/events:shm_event_loop", |
| 79 | "//frc971/constants:constants_sender_lib", |
| 80 | "//frc971/vision:vision_fbs", |
| 81 | "//frc971/vision:vision_util_lib", |
| 82 | "//third_party:opencv", |
| 83 | "//y2024/constants:constants_fbs", |
| 84 | "@com_google_absl//absl/strings", |
| 85 | ], |
| 86 | ) |
| 87 | |
| 88 | cc_binary( |
| 89 | name = "calibrate_multi_cameras", |
| 90 | srcs = [ |
| 91 | "calibrate_multi_cameras.cc", |
| 92 | "vision_util.cc", |
| 93 | "vision_util.h", |
| 94 | ], |
| 95 | data = [ |
| 96 | "//y2024:aos_config", |
| 97 | "//y2024/constants:constants.json", |
| 98 | "//y2024/vision:maps", |
| 99 | ], |
| 100 | target_compatible_with = ["@platforms//os:linux"], |
| 101 | visibility = ["//y2024:__subpackages__"], |
| 102 | deps = [ |
| 103 | "//aos:init", |
| 104 | "//aos/events:simulated_event_loop", |
| 105 | "//aos/events/logging:log_reader", |
| 106 | "//aos/util:mcap_logger", |
| 107 | "//frc971/constants:constants_sender_lib", |
| 108 | "//frc971/control_loops:pose", |
| 109 | "//frc971/vision:calibration_fbs", |
| 110 | "//frc971/vision:charuco_lib", |
| 111 | "//frc971/vision:extrinsics_calibration", |
| 112 | "//frc971/vision:target_mapper", |
| 113 | "//frc971/vision:vision_util_lib", |
| 114 | "//third_party:opencv", |
| 115 | "//y2024/constants:constants_fbs", |
| 116 | "//y2024/constants:simulated_constants_sender", |
| 117 | "@org_tuxfamily_eigen//:eigen", |
| 118 | ], |
| 119 | ) |