Niko Sohmers | 3860f8a | 2024-01-12 21:05:19 -0800 | [diff] [blame] | 1 | load("//aos:config.bzl", "aos_config") |
| 2 | load("//aos/util:config_validator_macro.bzl", "config_validator_test") |
Austin Schuh | 8f99c82 | 2024-05-05 22:43:40 -0700 | [diff] [blame] | 3 | load("//frc971:downloader.bzl", "robot_downloader") |
Niko Sohmers | 3860f8a | 2024-01-12 21:05:19 -0800 | [diff] [blame] | 4 | |
| 5 | config_validator_test( |
| 6 | name = "config_validator_test", |
| 7 | config = "//y2024:aos_config", |
| 8 | ) |
| 9 | |
| 10 | robot_downloader( |
| 11 | binaries = [ |
| 12 | "//aos/network:web_proxy_main", |
| 13 | "//aos/events/logging:log_cat", |
| 14 | "//y2024/constants:constants_sender", |
| 15 | "//aos/events:aos_timing_report_streamer", |
| 16 | ], |
| 17 | data = [ |
| 18 | ":aos_config", |
| 19 | "//aos/starter:roborio_irq_config.json", |
| 20 | "//y2024/constants:constants.json", |
Maxwell Henderson | 7be07d5 | 2024-02-20 07:59:16 -0800 | [diff] [blame] | 21 | "@ctre_phoenix6_api_cpp_athena//:shared_libraries", |
Niko Sohmers | 3860f8a | 2024-01-12 21:05:19 -0800 | [diff] [blame] | 22 | "@ctre_phoenix6_tools_athena//:shared_libraries", |
Maxwell Henderson | 7be07d5 | 2024-02-20 07:59:16 -0800 | [diff] [blame] | 23 | "@ctre_phoenix_api_cpp_athena//:shared_libraries", |
Niko Sohmers | 3860f8a | 2024-01-12 21:05:19 -0800 | [diff] [blame] | 24 | "@ctre_phoenix_cci_athena//:shared_libraries", |
| 25 | ], |
| 26 | dirs = [ |
| 27 | "//y2024/www:www_files", |
| 28 | "//y2024/autonomous:splines", |
| 29 | ], |
| 30 | start_binaries = [ |
| 31 | "//aos/events/logging:logger_main", |
| 32 | "//aos/network:web_proxy_main", |
| 33 | "//aos/starter:irq_affinity", |
| 34 | "//y2024/autonomous:binaries", |
| 35 | ":joystick_reader", |
| 36 | ":wpilib_interface", |
| 37 | "//frc971/can_logger", |
| 38 | "//aos/network:message_bridge_client", |
| 39 | "//aos/network:message_bridge_server", |
| 40 | "//y2024/control_loops/drivetrain:drivetrain", |
| 41 | "//y2024/control_loops/drivetrain:trajectory_generator", |
| 42 | "//y2024/control_loops/superstructure:superstructure", |
| 43 | ], |
| 44 | target_compatible_with = ["@platforms//os:linux"], |
| 45 | ) |
| 46 | |
| 47 | robot_downloader( |
| 48 | name = "orin_download", |
| 49 | binaries = [ |
Jim Ostrowski | 8a1480f | 2024-01-20 00:31:51 -0800 | [diff] [blame] | 50 | ":joystick_republish", |
| 51 | "//aos/events:aos_timing_report_streamer", |
| 52 | "//aos/events/logging:log_cat", |
Austin Schuh | 9900460 | 2024-03-16 11:59:24 -0700 | [diff] [blame] | 53 | "//aos:aos_jitter", |
Jim Ostrowski | 8a1480f | 2024-01-20 00:31:51 -0800 | [diff] [blame] | 54 | "//aos/network:web_proxy_main", |
Niko Sohmers | 3860f8a | 2024-01-12 21:05:19 -0800 | [diff] [blame] | 55 | "//aos/starter:irq_affinity", |
| 56 | "//aos/util:foxglove_websocket", |
Niko Sohmers | 3860f8a | 2024-01-12 21:05:19 -0800 | [diff] [blame] | 57 | "//frc971/image_streamer:image_streamer", |
Tushar Pankaj | 47313c1 | 2024-03-16 17:03:53 -0700 | [diff] [blame] | 58 | "//frc971/orin:hardware_monitor", |
Stephan Pleines | 7463f60 | 2024-04-03 20:16:54 -0700 | [diff] [blame] | 59 | "//frc971/orin:argus_monitor", |
Jim Ostrowski | cb8b408 | 2024-01-21 02:23:46 -0800 | [diff] [blame] | 60 | "//frc971/vision:intrinsics_calibration", |
Austin Schuh | 19731b0 | 2024-03-02 16:53:19 -0800 | [diff] [blame] | 61 | "//aos/util:filesystem_monitor", |
Jim Ostrowski | 9bf206a | 2024-01-26 23:31:58 -0800 | [diff] [blame] | 62 | "//y2024/vision:viewer", |
Jim Ostrowski | 8a1480f | 2024-01-20 00:31:51 -0800 | [diff] [blame] | 63 | "//y2024/constants:constants_sender", |
James Kuszmaul | 313e9ce | 2024-02-11 17:47:33 -0800 | [diff] [blame] | 64 | "//y2024/localizer:localizer_main", |
James Kuszmaul | ecafe1f | 2024-02-27 20:29:53 -0800 | [diff] [blame] | 65 | "//y2024/localizer:localizer_logger", |
Jim Ostrowski | 855b744 | 2024-01-20 18:03:09 -0800 | [diff] [blame] | 66 | "//y2024/vision:foxglove_image_converter", |
Niko Sohmers | 3860f8a | 2024-01-12 21:05:19 -0800 | [diff] [blame] | 67 | ], |
| 68 | data = [ |
| 69 | ":aos_config", |
Austin Schuh | 19731b0 | 2024-03-02 16:53:19 -0800 | [diff] [blame] | 70 | "//frc971/orin:orin_irq_config.json", |
Niko Sohmers | 3860f8a | 2024-01-12 21:05:19 -0800 | [diff] [blame] | 71 | "//y2024/constants:constants.json", |
| 72 | "//y2024/vision:image_streamer_start", |
| 73 | "//y2024/www:www_files", |
| 74 | ], |
| 75 | dirs = [ |
| 76 | "//y2024/www:www_files", |
| 77 | "//frc971/image_streamer/www:www_files", |
| 78 | ], |
| 79 | start_binaries = [ |
Jim Ostrowski | 8a1480f | 2024-01-20 00:31:51 -0800 | [diff] [blame] | 80 | "//aos/events/logging:logger_main", |
Maxwell Henderson | 4f35c83 | 2024-02-11 15:40:30 -0800 | [diff] [blame] | 81 | "//frc971/imu_fdcan:can_translator", |
Maxwell Henderson | 87b1e6c | 2024-02-11 23:40:05 -0800 | [diff] [blame] | 82 | "//frc971/imu_fdcan:dual_imu_blender", |
Niko Sohmers | 3860f8a | 2024-01-12 21:05:19 -0800 | [diff] [blame] | 83 | "//aos/network:message_bridge_client", |
| 84 | "//aos/network:message_bridge_server", |
| 85 | "//aos/network:web_proxy_main", |
| 86 | "//aos/starter:irq_affinity", |
Maxwell Henderson | 440e3f1 | 2024-01-17 19:44:13 -0800 | [diff] [blame] | 87 | "//frc971/orin:argus_camera", |
Jim Ostrowski | 8a1480f | 2024-01-20 00:31:51 -0800 | [diff] [blame] | 88 | "//y2024/orin:can_logger", |
Jim Ostrowski | cb8b408 | 2024-01-21 02:23:46 -0800 | [diff] [blame] | 89 | "//y2024/vision:apriltag_detector", |
Jim Ostrowski | 8a1480f | 2024-01-20 00:31:51 -0800 | [diff] [blame] | 90 | "//y2024/vision:image_logger", |
Niko Sohmers | 3860f8a | 2024-01-12 21:05:19 -0800 | [diff] [blame] | 91 | ], |
| 92 | target_compatible_with = ["//tools/platforms/hardware:raspberry_pi"], |
Maxwell Henderson | e5d758f | 2024-01-20 13:30:42 -0800 | [diff] [blame] | 93 | target_type = "pi", |
Niko Sohmers | 3860f8a | 2024-01-12 21:05:19 -0800 | [diff] [blame] | 94 | ) |
| 95 | |
| 96 | aos_config( |
| 97 | name = "aos_config", |
| 98 | src = "y2024.json", |
| 99 | flatbuffers = [ |
| 100 | "//aos/network:message_bridge_client_fbs", |
| 101 | "//aos/network:message_bridge_server_fbs", |
| 102 | "//aos/network:timestamp_fbs", |
| 103 | "//frc971/input:robot_state_fbs", |
| 104 | "//frc971/vision:vision_fbs", |
| 105 | "//frc971/vision:target_map_fbs", |
| 106 | ], |
| 107 | target_compatible_with = ["@platforms//os:linux"], |
| 108 | visibility = ["//visibility:public"], |
| 109 | deps = [ |
| 110 | ":config_imu", |
Maxwell Henderson | 440e3f1 | 2024-01-17 19:44:13 -0800 | [diff] [blame] | 111 | ":config_orin1", |
Niko Sohmers | 3860f8a | 2024-01-12 21:05:19 -0800 | [diff] [blame] | 112 | ":config_roborio", |
| 113 | ], |
| 114 | ) |
| 115 | |
| 116 | aos_config( |
| 117 | name = "config_imu", |
| 118 | src = "y2024_imu.json", |
| 119 | flatbuffers = [ |
| 120 | "//aos/network:message_bridge_client_fbs", |
| 121 | "//aos/network:message_bridge_server_fbs", |
Maxwell Henderson | 4f35c83 | 2024-02-11 15:40:30 -0800 | [diff] [blame] | 122 | "//frc971/imu_fdcan:dual_imu_fbs", |
| 123 | "//frc971/imu_fdcan:can_translator_status_fbs", |
Maxwell Henderson | 87b1e6c | 2024-02-11 23:40:05 -0800 | [diff] [blame] | 124 | "//frc971/imu_fdcan:dual_imu_blender_status_fbs", |
Niko Sohmers | 3860f8a | 2024-01-12 21:05:19 -0800 | [diff] [blame] | 125 | "//y2024/constants:constants_fbs", |
Maxwell Henderson | 563efed | 2024-02-17 21:11:33 -0800 | [diff] [blame] | 126 | "//frc971/control_loops/drivetrain/localization:localizer_output_fbs", |
Maxwell Henderson | 0604e6f | 2024-01-15 15:24:44 -0800 | [diff] [blame] | 127 | "//frc971/can_logger:can_logging_fbs", |
Tushar Pankaj | 47313c1 | 2024-03-16 17:03:53 -0700 | [diff] [blame] | 128 | "//frc971/orin:hardware_stats_fbs", |
James Kuszmaul | 313e9ce | 2024-02-11 17:47:33 -0800 | [diff] [blame] | 129 | "//y2024/localizer:status_fbs", |
| 130 | "//y2024/localizer:visualization_fbs", |
Niko Sohmers | 3860f8a | 2024-01-12 21:05:19 -0800 | [diff] [blame] | 131 | "//aos/network:timestamp_fbs", |
Austin Schuh | c979f7c | 2024-03-02 16:49:20 -0800 | [diff] [blame] | 132 | "//aos/util:filesystem_fbs", |
Niko Sohmers | 3860f8a | 2024-01-12 21:05:19 -0800 | [diff] [blame] | 133 | "//aos/network:remote_message_fbs", |
Maxwell Henderson | 8ba07f9 | 2024-02-27 18:54:00 -0800 | [diff] [blame] | 134 | "//frc971/vision:calibration_fbs", |
| 135 | "//frc971/vision:target_map_fbs", |
| 136 | "//frc971/vision:vision_fbs", |
| 137 | "@com_github_foxglove_schemas//:schemas", |
Niko Sohmers | 3860f8a | 2024-01-12 21:05:19 -0800 | [diff] [blame] | 138 | ], |
| 139 | target_compatible_with = ["@platforms//os:linux"], |
| 140 | visibility = ["//visibility:public"], |
| 141 | deps = [ |
| 142 | "//aos/events:aos_config", |
| 143 | "//frc971/control_loops/drivetrain:aos_config", |
| 144 | ], |
| 145 | ) |
| 146 | |
| 147 | aos_config( |
| 148 | name = "config_roborio", |
| 149 | src = "y2024_roborio.json", |
| 150 | flatbuffers = [ |
| 151 | "//frc971:can_configuration_fbs", |
| 152 | "//aos/network:remote_message_fbs", |
| 153 | "//aos/network:message_bridge_client_fbs", |
| 154 | "//aos/network:message_bridge_server_fbs", |
Maxwell Henderson | 563efed | 2024-02-17 21:11:33 -0800 | [diff] [blame] | 155 | "//frc971/wpilib:pdp_values_fbs", |
Filip Kujawa | 70183d6 | 2024-03-02 17:02:51 -0800 | [diff] [blame] | 156 | # y2019 stuff shouldn't be here (e.g. target selector) |
Niko Sohmers | 3860f8a | 2024-01-12 21:05:19 -0800 | [diff] [blame] | 157 | "//y2024/constants:constants_fbs", |
| 158 | "//aos/network:timestamp_fbs", |
| 159 | "//y2024/control_loops/superstructure:superstructure_goal_fbs", |
| 160 | "//frc971/control_loops/drivetrain:drivetrain_can_position_fbs", |
Niko Sohmers | 1259b2a | 2024-01-29 18:00:37 -0800 | [diff] [blame] | 161 | "//y2024/control_loops/superstructure:superstructure_can_position_fbs", |
Niko Sohmers | 3860f8a | 2024-01-12 21:05:19 -0800 | [diff] [blame] | 162 | "//y2024/control_loops/superstructure:superstructure_output_fbs", |
James Kuszmaul | f6aa038 | 2024-03-01 19:46:05 -0800 | [diff] [blame] | 163 | "//frc971/control_loops/drivetrain:rio_localizer_inputs_fbs", |
Niko Sohmers | 3860f8a | 2024-01-12 21:05:19 -0800 | [diff] [blame] | 164 | "//y2024/control_loops/superstructure:superstructure_position_fbs", |
James Kuszmaul | 313e9ce | 2024-02-11 17:47:33 -0800 | [diff] [blame] | 165 | "//frc971/control_loops/drivetrain/localization:localizer_output_fbs", |
Niko Sohmers | 3860f8a | 2024-01-12 21:05:19 -0800 | [diff] [blame] | 166 | "//y2024/control_loops/superstructure:superstructure_status_fbs", |
| 167 | "//frc971/can_logger:can_logging_fbs", |
| 168 | ], |
| 169 | target_compatible_with = ["@platforms//os:linux"], |
| 170 | deps = [ |
| 171 | "//aos/events:aos_config", |
| 172 | "//frc971/autonomous:aos_config", |
| 173 | "//frc971/control_loops/drivetrain:aos_config", |
| 174 | "//frc971/input:aos_config", |
| 175 | ], |
| 176 | ) |
| 177 | |
Maxwell Henderson | 8ba07f9 | 2024-02-27 18:54:00 -0800 | [diff] [blame] | 178 | aos_config( |
| 179 | name = "config_orin1", |
| 180 | src = "y2024_orin1.json", |
| 181 | flatbuffers = [ |
| 182 | "//aos/network:message_bridge_client_fbs", |
| 183 | "//aos/network:message_bridge_server_fbs", |
| 184 | "//aos/network:timestamp_fbs", |
| 185 | "//aos/network:remote_message_fbs", |
| 186 | "//y2024/constants:constants_fbs", |
| 187 | "//frc971/control_loops/drivetrain/localization:localizer_output_fbs", |
Tushar Pankaj | 47313c1 | 2024-03-16 17:03:53 -0700 | [diff] [blame] | 188 | "//frc971/orin:hardware_stats_fbs", |
Maxwell Henderson | 8ba07f9 | 2024-02-27 18:54:00 -0800 | [diff] [blame] | 189 | "//frc971/vision:calibration_fbs", |
| 190 | "//y2024/localizer:visualization_fbs", |
| 191 | "//frc971/vision:target_map_fbs", |
| 192 | "//frc971/vision:vision_fbs", |
Austin Schuh | c979f7c | 2024-03-02 16:49:20 -0800 | [diff] [blame] | 193 | "//aos/util:filesystem_fbs", |
Maxwell Henderson | 8ba07f9 | 2024-02-27 18:54:00 -0800 | [diff] [blame] | 194 | "@com_github_foxglove_schemas//:schemas", |
| 195 | ], |
| 196 | target_compatible_with = ["@platforms//os:linux"], |
| 197 | visibility = ["//visibility:public"], |
| 198 | deps = [ |
| 199 | "//aos/events:aos_config", |
| 200 | "//frc971/control_loops/drivetrain:aos_config", |
| 201 | "//frc971/input:aos_config", |
| 202 | ], |
| 203 | ) |
Maxwell Henderson | 440e3f1 | 2024-01-17 19:44:13 -0800 | [diff] [blame] | 204 | |
Niko Sohmers | 3860f8a | 2024-01-12 21:05:19 -0800 | [diff] [blame] | 205 | cc_library( |
| 206 | name = "constants", |
| 207 | srcs = [ |
| 208 | "constants.cc", |
| 209 | ], |
| 210 | hdrs = [ |
| 211 | "constants.h", |
| 212 | ], |
| 213 | visibility = ["//visibility:public"], |
| 214 | deps = [ |
| 215 | "//aos/mutex", |
| 216 | "//aos/network:team_number", |
| 217 | "//frc971:constants", |
| 218 | "//frc971/control_loops:pose", |
| 219 | "//frc971/control_loops:static_zeroing_single_dof_profiled_subsystem", |
| 220 | "//frc971/shooter_interpolation:interpolation", |
| 221 | "//frc971/zeroing:absolute_encoder", |
| 222 | "//frc971/zeroing:pot_and_absolute_encoder", |
Niko Sohmers | c4d2c50 | 2024-02-19 19:35:35 -0800 | [diff] [blame] | 223 | "//y2024/constants:constants_fbs", |
Niko Sohmers | 3860f8a | 2024-01-12 21:05:19 -0800 | [diff] [blame] | 224 | "//y2024/control_loops/drivetrain:polydrivetrain_plants", |
Niko Sohmers | 27d92c6 | 2024-02-19 14:15:07 -0800 | [diff] [blame] | 225 | "//y2024/control_loops/superstructure/altitude:altitude_plants", |
| 226 | "//y2024/control_loops/superstructure/catapult:catapult_plants", |
Filip Kujawa | 37aa0bc | 2024-01-31 20:59:49 -0800 | [diff] [blame] | 227 | "//y2024/control_loops/superstructure/climber:climber_plants", |
Austin Schuh | 3db875a | 2024-02-18 20:02:40 -0800 | [diff] [blame] | 228 | "//y2024/control_loops/superstructure/extend:extend_plants", |
Niko Sohmers | b21dbdc | 2024-01-20 20:06:59 -0800 | [diff] [blame] | 229 | "//y2024/control_loops/superstructure/intake_pivot:intake_pivot_plants", |
Niko Sohmers | 27d92c6 | 2024-02-19 14:15:07 -0800 | [diff] [blame] | 230 | "//y2024/control_loops/superstructure/turret:turret_plants", |
Niko Sohmers | 3860f8a | 2024-01-12 21:05:19 -0800 | [diff] [blame] | 231 | "@com_github_google_glog//:glog", |
| 232 | "@com_google_absl//absl/base", |
| 233 | ], |
| 234 | ) |
| 235 | |
| 236 | cc_binary( |
| 237 | name = "wpilib_interface", |
| 238 | srcs = [ |
| 239 | "wpilib_interface.cc", |
| 240 | ], |
| 241 | target_compatible_with = ["//tools/platforms/hardware:roborio"], |
| 242 | deps = [ |
| 243 | ":constants", |
| 244 | "//aos:init", |
| 245 | "//aos:math", |
| 246 | "//aos/containers:sized_array", |
| 247 | "//aos/events:shm_event_loop", |
| 248 | "//aos/logging", |
| 249 | "//aos/stl_mutex", |
| 250 | "//aos/time", |
| 251 | "//aos/util:log_interval", |
| 252 | "//aos/util:phased_loop", |
| 253 | "//aos/util:wrapping_counter", |
| 254 | "//frc971:can_configuration_fbs", |
| 255 | "//frc971/autonomous:auto_mode_fbs", |
Niko Sohmers | b21dbdc | 2024-01-20 20:06:59 -0800 | [diff] [blame] | 256 | "//frc971/constants:constants_sender_lib", |
Niko Sohmers | 3860f8a | 2024-01-12 21:05:19 -0800 | [diff] [blame] | 257 | "//frc971/control_loops:control_loop", |
| 258 | "//frc971/control_loops:control_loops_fbs", |
| 259 | "//frc971/control_loops/drivetrain:drivetrain_can_position_fbs", |
| 260 | "//frc971/control_loops/drivetrain:drivetrain_position_fbs", |
| 261 | "//frc971/input:robot_state_fbs", |
| 262 | "//frc971/queues:gyro_fbs", |
| 263 | "//frc971/wpilib:ADIS16448", |
| 264 | "//frc971/wpilib:buffered_pcm", |
Maxwell Henderson | f75800f | 2024-01-12 19:52:05 -0800 | [diff] [blame] | 265 | "//frc971/wpilib:can_drivetrain_writer", |
| 266 | "//frc971/wpilib:can_sensor_reader", |
Niko Sohmers | 3860f8a | 2024-01-12 21:05:19 -0800 | [diff] [blame] | 267 | "//frc971/wpilib:dma", |
| 268 | "//frc971/wpilib:drivetrain_writer", |
| 269 | "//frc971/wpilib:encoder_and_potentiometer", |
Niko Sohmers | 1259b2a | 2024-01-29 18:00:37 -0800 | [diff] [blame] | 270 | "//frc971/wpilib:generic_can_writer", |
Niko Sohmers | 3860f8a | 2024-01-12 21:05:19 -0800 | [diff] [blame] | 271 | "//frc971/wpilib:joystick_sender", |
| 272 | "//frc971/wpilib:logging_fbs", |
| 273 | "//frc971/wpilib:pdp_fetcher", |
| 274 | "//frc971/wpilib:sensor_reader", |
Maxwell Henderson | f75800f | 2024-01-12 19:52:05 -0800 | [diff] [blame] | 275 | "//frc971/wpilib:talonfx", |
Niko Sohmers | 3860f8a | 2024-01-12 21:05:19 -0800 | [diff] [blame] | 276 | "//frc971/wpilib:wpilib_robot_base", |
| 277 | "//third_party:phoenix", |
| 278 | "//third_party:phoenix6", |
| 279 | "//third_party:wpilib", |
Niko Sohmers | b21dbdc | 2024-01-20 20:06:59 -0800 | [diff] [blame] | 280 | "//y2024/constants:constants_fbs", |
Filip Kujawa | 70183d6 | 2024-03-02 17:02:51 -0800 | [diff] [blame] | 281 | "//y2024/control_loops/superstructure:led_indicator_lib", |
Niko Sohmers | 1259b2a | 2024-01-29 18:00:37 -0800 | [diff] [blame] | 282 | "//y2024/control_loops/superstructure:superstructure_can_position_fbs", |
Niko Sohmers | 3860f8a | 2024-01-12 21:05:19 -0800 | [diff] [blame] | 283 | "//y2024/control_loops/superstructure:superstructure_output_fbs", |
| 284 | "//y2024/control_loops/superstructure:superstructure_position_fbs", |
| 285 | ], |
| 286 | ) |
| 287 | |
| 288 | cc_binary( |
| 289 | name = "joystick_reader", |
| 290 | srcs = [ |
| 291 | ":joystick_reader.cc", |
| 292 | ], |
| 293 | deps = [ |
| 294 | ":constants", |
| 295 | "//aos:init", |
| 296 | "//aos/actions:action_lib", |
| 297 | "//aos/logging", |
| 298 | "//frc971/autonomous:auto_fbs", |
| 299 | "//frc971/autonomous:base_autonomous_actor", |
| 300 | "//frc971/control_loops:profiled_subsystem_fbs", |
Filip Kujawa | a7c8b41 | 2024-02-24 18:29:29 -0800 | [diff] [blame] | 301 | "//frc971/control_loops:static_zeroing_single_dof_profiled_subsystem", |
Niko Sohmers | 3860f8a | 2024-01-12 21:05:19 -0800 | [diff] [blame] | 302 | "//frc971/input:action_joystick_input", |
| 303 | "//frc971/input:drivetrain_input", |
| 304 | "//frc971/input:joystick_input", |
| 305 | "//frc971/input:redundant_joystick_data", |
| 306 | "//y2024/control_loops/drivetrain:drivetrain_base", |
| 307 | "//y2024/control_loops/superstructure:superstructure_goal_fbs", |
| 308 | "//y2024/control_loops/superstructure:superstructure_status_fbs", |
| 309 | ], |
| 310 | ) |
| 311 | |
| 312 | cc_binary( |
| 313 | name = "joystick_republish", |
| 314 | srcs = [ |
| 315 | "joystick_republish.cc", |
| 316 | ], |
| 317 | target_compatible_with = ["@platforms//os:linux"], |
| 318 | visibility = ["//visibility:public"], |
| 319 | deps = [ |
| 320 | "//aos:configuration", |
| 321 | "//aos:flatbuffer_merge", |
| 322 | "//aos:init", |
| 323 | "//aos/events:shm_event_loop", |
| 324 | "//frc971/input:joystick_state_fbs", |
| 325 | "@com_github_google_glog//:glog", |
| 326 | ], |
| 327 | ) |
| 328 | |
| 329 | py_library( |
| 330 | name = "python_init", |
| 331 | srcs = ["__init__.py"], |
| 332 | target_compatible_with = ["@platforms//os:linux"], |
| 333 | visibility = ["//visibility:public"], |
| 334 | ) |
| 335 | |
| 336 | sh_binary( |
| 337 | name = "log_web_proxy", |
| 338 | srcs = ["log_web_proxy.sh"], |
| 339 | data = [ |
| 340 | ":aos_config", |
| 341 | "//aos/network:log_web_proxy_main", |
Nikolai Sohmers | 30ce554 | 2024-05-18 17:55:13 -0700 | [diff] [blame^] | 342 | "//frc971/www:starter_main_bundle.min.js", |
Niko Sohmers | 2d10876 | 2024-02-02 20:21:14 -0800 | [diff] [blame] | 343 | "//y2024/www:field_main_bundle.min.js", |
Niko Sohmers | 3860f8a | 2024-01-12 21:05:19 -0800 | [diff] [blame] | 344 | "//y2024/www:files", |
Niko Sohmers | 3860f8a | 2024-01-12 21:05:19 -0800 | [diff] [blame] | 345 | ], |
| 346 | target_compatible_with = ["@platforms//os:linux"], |
| 347 | ) |