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( |
Jim Ostrowski | 855b744 | 2024-01-20 18:03:09 -0800 | [diff] [blame] | 8 | name = "foxglove_image_converter", |
| 9 | srcs = ["foxglove_image_converter.cc"], |
| 10 | visibility = ["//y2024:__subpackages__"], |
| 11 | deps = [ |
| 12 | "//aos:init", |
| 13 | "//aos/events:shm_event_loop", |
| 14 | "//frc971/vision:foxglove_image_converter_lib", |
| 15 | ], |
| 16 | ) |
| 17 | |
| 18 | cc_binary( |
Maxwell Henderson | 123c817 | 2024-03-01 22:54:16 -0800 | [diff] [blame] | 19 | name = "target_mapping", |
| 20 | srcs = [ |
| 21 | "target_mapping.cc", |
| 22 | "vision_util.cc", |
| 23 | "vision_util.h", |
| 24 | ], |
| 25 | data = [ |
| 26 | "//y2024:aos_config", |
| 27 | "//y2024/constants:constants.json", |
| 28 | "//y2024/vision:maps", |
| 29 | ], |
| 30 | target_compatible_with = ["@platforms//os:linux"], |
| 31 | visibility = ["//y2023:__subpackages__"], |
| 32 | deps = [ |
| 33 | "//aos:init", |
| 34 | "//aos/events:simulated_event_loop", |
| 35 | "//aos/events/logging:log_reader", |
| 36 | "//aos/util:mcap_logger", |
| 37 | "//frc971/constants:constants_sender_lib", |
| 38 | "//frc971/control_loops:pose", |
| 39 | "//frc971/vision:calibration_fbs", |
| 40 | "//frc971/vision:charuco_lib", |
| 41 | "//frc971/vision:target_mapper", |
| 42 | "//frc971/vision:vision_util_lib", |
| 43 | "//frc971/vision:visualize_robot", |
| 44 | "//third_party:opencv", |
| 45 | "//y2024/constants:constants_fbs", |
| 46 | "//y2024/constants:simulated_constants_sender", |
| 47 | ], |
| 48 | ) |
| 49 | |
| 50 | cc_binary( |
Niko Sohmers | 3860f8a | 2024-01-12 21:05:19 -0800 | [diff] [blame] | 51 | name = "image_logger", |
| 52 | srcs = [ |
| 53 | "image_logger.cc", |
| 54 | ], |
| 55 | target_compatible_with = ["@platforms//os:linux"], |
| 56 | visibility = ["//visibility:public"], |
| 57 | deps = [ |
| 58 | "//aos:configuration", |
| 59 | "//aos:init", |
| 60 | "//aos/events:shm_event_loop", |
| 61 | "//aos/events/logging:log_writer", |
| 62 | "//aos/logging:log_namer", |
Austin Schuh | 19731b0 | 2024-03-02 16:53:19 -0800 | [diff] [blame] | 63 | "//aos/util:filesystem_fbs", |
Niko Sohmers | 3860f8a | 2024-01-12 21:05:19 -0800 | [diff] [blame] | 64 | "//frc971/input:joystick_state_fbs", |
| 65 | "@com_github_gflags_gflags//:gflags", |
| 66 | "@com_github_google_glog//:glog", |
| 67 | ], |
| 68 | ) |
Jim Ostrowski | cb8b408 | 2024-01-21 02:23:46 -0800 | [diff] [blame] | 69 | |
| 70 | cc_binary( |
| 71 | name = "apriltag_detector", |
| 72 | srcs = [ |
| 73 | "apriltag_detector.cc", |
| 74 | "vision_util.cc", |
| 75 | "vision_util.h", |
| 76 | ], |
| 77 | features = ["cuda"], |
| 78 | target_compatible_with = ["@platforms//cpu:arm64"], |
| 79 | visibility = ["//visibility:public"], |
| 80 | deps = [ |
| 81 | "//aos:configuration", |
| 82 | "//aos:init", |
| 83 | "//aos/events:shm_event_loop", |
| 84 | "//frc971/orin:gpu_apriltag_lib", |
| 85 | "//third_party:cudart", |
| 86 | "//third_party/apriltag", |
| 87 | "//y2024/constants:constants_fbs", |
| 88 | "@com_github_gflags_gflags//:gflags", |
| 89 | "@com_github_google_glog//:glog", |
| 90 | "@com_github_nvidia_cccl//:cccl", |
| 91 | "@com_github_nvidia_cuco//:cuco", |
| 92 | ], |
| 93 | ) |
Jim Ostrowski | 9bf206a | 2024-01-26 23:31:58 -0800 | [diff] [blame] | 94 | |
| 95 | cc_binary( |
| 96 | name = "viewer", |
| 97 | srcs = [ |
| 98 | "viewer.cc", |
| 99 | "vision_util.cc", |
| 100 | "vision_util.h", |
| 101 | ], |
| 102 | target_compatible_with = ["@platforms//os:linux"], |
| 103 | visibility = [ |
| 104 | "//y2024:__subpackages__", |
| 105 | ], |
| 106 | deps = [ |
| 107 | "//aos:init", |
| 108 | "//aos:json_to_flatbuffer", |
| 109 | "//aos/events:shm_event_loop", |
| 110 | "//frc971/constants:constants_sender_lib", |
| 111 | "//frc971/vision:vision_fbs", |
| 112 | "//frc971/vision:vision_util_lib", |
| 113 | "//third_party:opencv", |
| 114 | "//y2024/constants:constants_fbs", |
| 115 | "@com_google_absl//absl/strings", |
| 116 | ], |
| 117 | ) |
| 118 | |
| 119 | cc_binary( |
| 120 | name = "calibrate_multi_cameras", |
| 121 | srcs = [ |
| 122 | "calibrate_multi_cameras.cc", |
| 123 | "vision_util.cc", |
| 124 | "vision_util.h", |
| 125 | ], |
| 126 | data = [ |
| 127 | "//y2024:aos_config", |
| 128 | "//y2024/constants:constants.json", |
| 129 | "//y2024/vision:maps", |
| 130 | ], |
| 131 | target_compatible_with = ["@platforms//os:linux"], |
| 132 | visibility = ["//y2024:__subpackages__"], |
| 133 | deps = [ |
| 134 | "//aos:init", |
| 135 | "//aos/events:simulated_event_loop", |
| 136 | "//aos/events/logging:log_reader", |
| 137 | "//aos/util:mcap_logger", |
| 138 | "//frc971/constants:constants_sender_lib", |
| 139 | "//frc971/control_loops:pose", |
| 140 | "//frc971/vision:calibration_fbs", |
| 141 | "//frc971/vision:charuco_lib", |
| 142 | "//frc971/vision:extrinsics_calibration", |
| 143 | "//frc971/vision:target_mapper", |
| 144 | "//frc971/vision:vision_util_lib", |
| 145 | "//third_party:opencv", |
| 146 | "//y2024/constants:constants_fbs", |
| 147 | "//y2024/constants:simulated_constants_sender", |
| 148 | "@org_tuxfamily_eigen//:eigen", |
| 149 | ], |
| 150 | ) |
Jim Ostrowski | 479bd1c | 2024-03-01 00:21:13 -0800 | [diff] [blame] | 151 | |
| 152 | cc_binary( |
| 153 | name = "modify_extrinsics", |
| 154 | srcs = [ |
| 155 | "modify_extrinsics.cc", |
| 156 | ], |
| 157 | target_compatible_with = ["@platforms//os:linux"], |
| 158 | visibility = ["//y2024:__subpackages__"], |
| 159 | deps = [ |
| 160 | "//aos:configuration", |
| 161 | "//aos:init", |
| 162 | "//aos/events:event_loop", |
| 163 | "//frc971/vision:calibration_fbs", |
| 164 | "//frc971/vision:vision_util_lib", |
| 165 | "//y2024/constants:constants_fbs", |
| 166 | "@com_google_absl//absl/strings:str_format", |
| 167 | "@org_tuxfamily_eigen//:eigen", |
| 168 | ], |
| 169 | ) |