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( |
Niko Sohmers | 3860f8a | 2024-01-12 21:05:19 -0800 | [diff] [blame] | 19 | name = "image_logger", |
| 20 | srcs = [ |
| 21 | "image_logger.cc", |
| 22 | ], |
| 23 | target_compatible_with = ["@platforms//os:linux"], |
| 24 | visibility = ["//visibility:public"], |
| 25 | deps = [ |
| 26 | "//aos:configuration", |
| 27 | "//aos:init", |
| 28 | "//aos/events:shm_event_loop", |
| 29 | "//aos/events/logging:log_writer", |
| 30 | "//aos/logging:log_namer", |
| 31 | "//frc971/input:joystick_state_fbs", |
| 32 | "@com_github_gflags_gflags//:gflags", |
| 33 | "@com_github_google_glog//:glog", |
| 34 | ], |
| 35 | ) |
Jim Ostrowski | cb8b408 | 2024-01-21 02:23:46 -0800 | [diff] [blame] | 36 | |
| 37 | cc_binary( |
| 38 | name = "apriltag_detector", |
| 39 | srcs = [ |
| 40 | "apriltag_detector.cc", |
| 41 | "vision_util.cc", |
| 42 | "vision_util.h", |
| 43 | ], |
| 44 | features = ["cuda"], |
| 45 | target_compatible_with = ["@platforms//cpu:arm64"], |
| 46 | visibility = ["//visibility:public"], |
| 47 | deps = [ |
| 48 | "//aos:configuration", |
| 49 | "//aos:init", |
| 50 | "//aos/events:shm_event_loop", |
| 51 | "//frc971/orin:gpu_apriltag_lib", |
| 52 | "//third_party:cudart", |
| 53 | "//third_party/apriltag", |
| 54 | "//y2024/constants:constants_fbs", |
| 55 | "@com_github_gflags_gflags//:gflags", |
| 56 | "@com_github_google_glog//:glog", |
| 57 | "@com_github_nvidia_cccl//:cccl", |
| 58 | "@com_github_nvidia_cuco//:cuco", |
| 59 | ], |
| 60 | ) |
Jim Ostrowski | 9bf206a | 2024-01-26 23:31:58 -0800 | [diff] [blame^] | 61 | |
| 62 | cc_binary( |
| 63 | name = "viewer", |
| 64 | srcs = [ |
| 65 | "viewer.cc", |
| 66 | "vision_util.cc", |
| 67 | "vision_util.h", |
| 68 | ], |
| 69 | target_compatible_with = ["@platforms//os:linux"], |
| 70 | visibility = [ |
| 71 | "//y2024:__subpackages__", |
| 72 | ], |
| 73 | deps = [ |
| 74 | "//aos:init", |
| 75 | "//aos:json_to_flatbuffer", |
| 76 | "//aos/events:shm_event_loop", |
| 77 | "//frc971/constants:constants_sender_lib", |
| 78 | "//frc971/vision:vision_fbs", |
| 79 | "//frc971/vision:vision_util_lib", |
| 80 | "//third_party:opencv", |
| 81 | "//y2024/constants:constants_fbs", |
| 82 | "@com_google_absl//absl/strings", |
| 83 | ], |
| 84 | ) |
| 85 | |
| 86 | cc_binary( |
| 87 | name = "calibrate_multi_cameras", |
| 88 | srcs = [ |
| 89 | "calibrate_multi_cameras.cc", |
| 90 | "vision_util.cc", |
| 91 | "vision_util.h", |
| 92 | ], |
| 93 | data = [ |
| 94 | "//y2024:aos_config", |
| 95 | "//y2024/constants:constants.json", |
| 96 | "//y2024/vision:maps", |
| 97 | ], |
| 98 | target_compatible_with = ["@platforms//os:linux"], |
| 99 | visibility = ["//y2024:__subpackages__"], |
| 100 | deps = [ |
| 101 | "//aos:init", |
| 102 | "//aos/events:simulated_event_loop", |
| 103 | "//aos/events/logging:log_reader", |
| 104 | "//aos/util:mcap_logger", |
| 105 | "//frc971/constants:constants_sender_lib", |
| 106 | "//frc971/control_loops:pose", |
| 107 | "//frc971/vision:calibration_fbs", |
| 108 | "//frc971/vision:charuco_lib", |
| 109 | "//frc971/vision:extrinsics_calibration", |
| 110 | "//frc971/vision:target_mapper", |
| 111 | "//frc971/vision:vision_util_lib", |
| 112 | "//third_party:opencv", |
| 113 | "//y2024/constants:constants_fbs", |
| 114 | "//y2024/constants:simulated_constants_sender", |
| 115 | "@org_tuxfamily_eigen//:eigen", |
| 116 | ], |
| 117 | ) |