Stephan Massalt | d021f97 | 2020-01-05 20:41:23 -0800 | [diff] [blame] | 1 | load("//frc971:downloader.bzl", "robot_downloader") |
| 2 | load("//aos:config.bzl", "aos_config") |
| 3 | load("@com_google_protobuf//:protobuf.bzl", "cc_proto_library") |
| 4 | load("@com_github_google_flatbuffers//:build_defs.bzl", "flatbuffer_cc_library") |
Austin Schuh | 3a2f4a4 | 2020-09-16 14:10:39 -0700 | [diff] [blame] | 5 | load("//tools/build_rules:template.bzl", "jinja2_template") |
Stephan Massalt | d021f97 | 2020-01-05 20:41:23 -0800 | [diff] [blame] | 6 | |
| 7 | robot_downloader( |
Austin Schuh | d58b290 | 2020-03-01 19:28:04 -0800 | [diff] [blame] | 8 | binaries = [ |
| 9 | ":setpoint_setter", |
James Kuszmaul | 39a47bb | 2021-08-18 20:03:09 -0700 | [diff] [blame^] | 10 | "//aos/network:web_proxy_main", |
Austin Schuh | d58b290 | 2020-03-01 19:28:04 -0800 | [diff] [blame] | 11 | ], |
Stephan Massalt | d021f97 | 2020-01-05 20:41:23 -0800 | [diff] [blame] | 12 | data = [ |
Austin Schuh | 14d7d3d | 2020-09-10 18:14:36 -0700 | [diff] [blame] | 13 | ":config", |
Stephan Massalt | d021f97 | 2020-01-05 20:41:23 -0800 | [diff] [blame] | 14 | ], |
Ravago Jones | c2a0802 | 2021-02-06 17:40:54 -0800 | [diff] [blame] | 15 | dirs = [ |
James Kuszmaul | 75a18c5 | 2021-03-10 22:02:07 -0800 | [diff] [blame] | 16 | "//y2020/actors:splines", |
James Kuszmaul | 39a47bb | 2021-08-18 20:03:09 -0700 | [diff] [blame^] | 17 | "//y2020/www:www_files", |
Ravago Jones | c2a0802 | 2021-02-06 17:40:54 -0800 | [diff] [blame] | 18 | ], |
Stephan Massalt | d021f97 | 2020-01-05 20:41:23 -0800 | [diff] [blame] | 19 | start_binaries = [ |
James Kuszmaul | 2d8fa2a | 2020-03-01 13:51:50 -0800 | [diff] [blame] | 20 | "//aos/events/logging:logger_main", |
Stephan Massalt | d021f97 | 2020-01-05 20:41:23 -0800 | [diff] [blame] | 21 | ":joystick_reader", |
| 22 | ":wpilib_interface", |
Austin Schuh | 6aa77be | 2020-02-22 21:06:40 -0800 | [diff] [blame] | 23 | "//aos/network:message_bridge_client", |
| 24 | "//aos/network:message_bridge_server", |
| 25 | "//y2020/actors:binaries", |
Stephan Massalt | d021f97 | 2020-01-05 20:41:23 -0800 | [diff] [blame] | 26 | "//y2020/control_loops/drivetrain:drivetrain", |
James Kuszmaul | 75a18c5 | 2021-03-10 22:02:07 -0800 | [diff] [blame] | 27 | "//y2020/control_loops/drivetrain:trajectory_generator", |
Stephan Massalt | d021f97 | 2020-01-05 20:41:23 -0800 | [diff] [blame] | 28 | "//y2020/control_loops/superstructure:superstructure", |
Stephan Massalt | d021f97 | 2020-01-05 20:41:23 -0800 | [diff] [blame] | 29 | ], |
Philipp Schrader | dada107 | 2020-11-24 11:34:46 -0800 | [diff] [blame] | 30 | target_compatible_with = ["@platforms//os:linux"], |
Stephan Massalt | d021f97 | 2020-01-05 20:41:23 -0800 | [diff] [blame] | 31 | ) |
| 32 | |
James Kuszmaul | 2d8fa2a | 2020-03-01 13:51:50 -0800 | [diff] [blame] | 33 | robot_downloader( |
| 34 | name = "pi_download", |
Jim Ostrowski | baa4369 | 2020-03-08 16:25:10 -0700 | [diff] [blame] | 35 | binaries = [ |
| 36 | "//y2020/vision:viewer", |
| 37 | ], |
James Kuszmaul | 2d8fa2a | 2020-03-01 13:51:50 -0800 | [diff] [blame] | 38 | data = [ |
Austin Schuh | 14d7d3d | 2020-09-10 18:14:36 -0700 | [diff] [blame] | 39 | ":config", |
James Kuszmaul | 2d8fa2a | 2020-03-01 13:51:50 -0800 | [diff] [blame] | 40 | ], |
| 41 | dirs = [ |
| 42 | "//y2020/www:www_files", |
| 43 | ], |
James Kuszmaul | 2d8fa2a | 2020-03-01 13:51:50 -0800 | [diff] [blame] | 44 | start_binaries = [ |
| 45 | "//aos/network:message_bridge_client", |
| 46 | "//aos/network:message_bridge_server", |
James Kuszmaul | 2d8fa2a | 2020-03-01 13:51:50 -0800 | [diff] [blame] | 47 | "//aos/network:web_proxy_main", |
Austin Schuh | 393015b | 2020-04-20 17:24:39 -0700 | [diff] [blame] | 48 | "//y2020/vision:camera_reader", |
James Kuszmaul | 2d8fa2a | 2020-03-01 13:51:50 -0800 | [diff] [blame] | 49 | ], |
Philipp Schrader | dada107 | 2020-11-24 11:34:46 -0800 | [diff] [blame] | 50 | target_compatible_with = ["//tools/platforms/hardware:raspberry_pi"], |
James Kuszmaul | 2d8fa2a | 2020-03-01 13:51:50 -0800 | [diff] [blame] | 51 | target_type = "pi", |
| 52 | ) |
| 53 | |
Stephan Massalt | d021f97 | 2020-01-05 20:41:23 -0800 | [diff] [blame] | 54 | cc_library( |
| 55 | name = "constants", |
| 56 | srcs = [ |
| 57 | "constants.cc", |
| 58 | ], |
| 59 | hdrs = [ |
| 60 | "constants.h", |
| 61 | ], |
Philipp Schrader | dada107 | 2020-11-24 11:34:46 -0800 | [diff] [blame] | 62 | target_compatible_with = ["@platforms//os:linux"], |
Stephan Massalt | d021f97 | 2020-01-05 20:41:23 -0800 | [diff] [blame] | 63 | visibility = ["//visibility:public"], |
| 64 | deps = [ |
| 65 | "//aos/logging", |
Stephan Massalt | d021f97 | 2020-01-05 20:41:23 -0800 | [diff] [blame] | 66 | "//aos/network:team_number", |
Brian Silverman | 1463c09 | 2020-10-30 17:28:24 -0700 | [diff] [blame] | 67 | "//aos/stl_mutex", |
Stephan Massalt | d021f97 | 2020-01-05 20:41:23 -0800 | [diff] [blame] | 68 | "//frc971:constants", |
Stephan Massalt | d021f97 | 2020-01-05 20:41:23 -0800 | [diff] [blame] | 69 | "//frc971/control_loops:static_zeroing_single_dof_profiled_subsystem", |
James Kuszmaul | 98154a2 | 2021-04-03 16:09:29 -0700 | [diff] [blame] | 70 | "//frc971/shooter_interpolation:interpolation", |
Stephan Massalt | d021f97 | 2020-01-05 20:41:23 -0800 | [diff] [blame] | 71 | "//y2020/control_loops/drivetrain:polydrivetrain_plants", |
Austin Schuh | 9dcd520 | 2020-02-20 20:06:04 -0800 | [diff] [blame] | 72 | "//y2020/control_loops/superstructure/accelerator:accelerator_plants", |
| 73 | "//y2020/control_loops/superstructure/control_panel:control_panel_plants", |
| 74 | "//y2020/control_loops/superstructure/finisher:finisher_plants", |
Sabina Davis | a587fbd | 2020-01-31 22:11:15 -0800 | [diff] [blame] | 75 | "//y2020/control_loops/superstructure/hood:hood_plants", |
Sabina Davis | e8d3899 | 2020-02-02 15:00:31 -0800 | [diff] [blame] | 76 | "//y2020/control_loops/superstructure/intake:intake_plants", |
Kai Tinkess | 10943cf | 2020-02-01 15:49:57 -0800 | [diff] [blame] | 77 | "//y2020/control_loops/superstructure/turret:turret_plants", |
Stephan Massalt | d021f97 | 2020-01-05 20:41:23 -0800 | [diff] [blame] | 78 | "@com_google_absl//absl/base", |
| 79 | ], |
| 80 | ) |
| 81 | |
| 82 | cc_binary( |
| 83 | name = "wpilib_interface", |
| 84 | srcs = [ |
| 85 | "wpilib_interface.cc", |
| 86 | ], |
Philipp Schrader | dada107 | 2020-11-24 11:34:46 -0800 | [diff] [blame] | 87 | target_compatible_with = ["//tools/platforms/hardware:roborio"], |
Stephan Massalt | d021f97 | 2020-01-05 20:41:23 -0800 | [diff] [blame] | 88 | deps = [ |
| 89 | ":constants", |
| 90 | "//aos:init", |
Stephan Massalt | d021f97 | 2020-01-05 20:41:23 -0800 | [diff] [blame] | 91 | "//aos:math", |
Stephan Massalt | d021f97 | 2020-01-05 20:41:23 -0800 | [diff] [blame] | 92 | "//aos/events:shm_event_loop", |
| 93 | "//aos/logging", |
Stephan Massalt | d021f97 | 2020-01-05 20:41:23 -0800 | [diff] [blame] | 94 | "//aos/stl_mutex", |
| 95 | "//aos/time", |
| 96 | "//aos/util:log_interval", |
| 97 | "//aos/util:phased_loop", |
| 98 | "//aos/util:wrapping_counter", |
| 99 | "//frc971/autonomous:auto_mode_fbs", |
Austin Schuh | 0a3c9d4 | 2021-07-15 22:36:24 -0700 | [diff] [blame] | 100 | "//frc971/control_loops:control_loop", |
Stephan Massalt | d021f97 | 2020-01-05 20:41:23 -0800 | [diff] [blame] | 101 | "//frc971/control_loops:control_loops_fbs", |
| 102 | "//frc971/control_loops/drivetrain:drivetrain_position_fbs", |
Austin Schuh | 0a3c9d4 | 2021-07-15 22:36:24 -0700 | [diff] [blame] | 103 | "//frc971/input:robot_state_fbs", |
James Kuszmaul | a244a91 | 2020-01-18 13:50:50 -0800 | [diff] [blame] | 104 | "//frc971/wpilib:ADIS16470", |
Stephan Massalt | d021f97 | 2020-01-05 20:41:23 -0800 | [diff] [blame] | 105 | "//frc971/wpilib:buffered_pcm", |
| 106 | "//frc971/wpilib:drivetrain_writer", |
| 107 | "//frc971/wpilib:encoder_and_potentiometer", |
| 108 | "//frc971/wpilib:interrupt_edge_counting", |
| 109 | "//frc971/wpilib:joystick_sender", |
| 110 | "//frc971/wpilib:logging_fbs", |
| 111 | "//frc971/wpilib:loop_output_handler", |
| 112 | "//frc971/wpilib:pdp_fetcher", |
| 113 | "//frc971/wpilib:sensor_reader", |
| 114 | "//frc971/wpilib:wpilib_interface", |
| 115 | "//frc971/wpilib:wpilib_robot_base", |
Alex Perry | c4691f5 | 2020-02-17 19:20:01 -0800 | [diff] [blame] | 116 | "//third_party:phoenix", |
Stephan Massalt | d021f97 | 2020-01-05 20:41:23 -0800 | [diff] [blame] | 117 | "//third_party:wpilib", |
| 118 | "//y2020/control_loops/superstructure:superstructure_output_fbs", |
| 119 | "//y2020/control_loops/superstructure:superstructure_position_fbs", |
| 120 | ], |
| 121 | ) |
| 122 | |
| 123 | cc_binary( |
| 124 | name = "joystick_reader", |
| 125 | srcs = [ |
| 126 | ":joystick_reader.cc", |
| 127 | ], |
Philipp Schrader | dada107 | 2020-11-24 11:34:46 -0800 | [diff] [blame] | 128 | target_compatible_with = ["@platforms//os:linux"], |
Stephan Massalt | d021f97 | 2020-01-05 20:41:23 -0800 | [diff] [blame] | 129 | deps = [ |
Austin Schuh | d58b290 | 2020-03-01 19:28:04 -0800 | [diff] [blame] | 130 | ":setpoint_fbs", |
Stephan Massalt | d021f97 | 2020-01-05 20:41:23 -0800 | [diff] [blame] | 131 | "//aos:init", |
| 132 | "//aos/actions:action_lib", |
Stephan Massalt | d021f97 | 2020-01-05 20:41:23 -0800 | [diff] [blame] | 133 | "//aos/logging", |
| 134 | "//frc971/autonomous:auto_fbs", |
| 135 | "//frc971/autonomous:base_autonomous_actor", |
| 136 | "//frc971/control_loops:profiled_subsystem_fbs", |
Austin Schuh | 0a3c9d4 | 2021-07-15 22:36:24 -0700 | [diff] [blame] | 137 | "//frc971/input:action_joystick_input", |
| 138 | "//frc971/input:drivetrain_input", |
| 139 | "//frc971/input:joystick_input", |
Sabina Davis | a8fed3d | 2020-02-22 21:44:57 -0800 | [diff] [blame] | 140 | "//y2020:constants", |
Stephan Massalt | d021f97 | 2020-01-05 20:41:23 -0800 | [diff] [blame] | 141 | "//y2020/control_loops/drivetrain:drivetrain_base", |
| 142 | "//y2020/control_loops/superstructure:superstructure_goal_fbs", |
| 143 | "//y2020/control_loops/superstructure:superstructure_status_fbs", |
| 144 | ], |
| 145 | ) |
| 146 | |
| 147 | aos_config( |
| 148 | name = "config", |
| 149 | src = "y2020.json", |
Austin Schuh | c61e9c0 | 2021-04-26 12:10:40 -0700 | [diff] [blame] | 150 | flatbuffers = [ |
| 151 | "//aos/network:message_bridge_client_fbs", |
| 152 | "//aos/network:message_bridge_server_fbs", |
| 153 | "//aos/network:timestamp_fbs", |
| 154 | "//y2020/vision/sift:sift_fbs", |
| 155 | "//y2020/vision/sift:sift_training_fbs", |
| 156 | "//y2020/vision:vision_fbs", |
| 157 | ], |
Philipp Schrader | dada107 | 2020-11-24 11:34:46 -0800 | [diff] [blame] | 158 | target_compatible_with = ["@platforms//os:linux"], |
Stephan Massalt | d021f97 | 2020-01-05 20:41:23 -0800 | [diff] [blame] | 159 | visibility = ["//visibility:public"], |
| 160 | deps = [ |
Austin Schuh | 196a445 | 2020-03-15 23:12:03 -0700 | [diff] [blame] | 161 | ":config_laptop", |
Austin Schuh | ce3a191 | 2020-03-15 15:14:19 -0700 | [diff] [blame] | 162 | ":config_pi1", |
| 163 | ":config_pi2", |
| 164 | ":config_pi3", |
Austin Schuh | 196a445 | 2020-03-15 23:12:03 -0700 | [diff] [blame] | 165 | ":config_pi4", |
James Kuszmaul | 9c12812 | 2021-03-22 22:24:36 -0700 | [diff] [blame] | 166 | ":config_pi5", |
Austin Schuh | ce3a191 | 2020-03-15 15:14:19 -0700 | [diff] [blame] | 167 | ":config_roborio", |
| 168 | ], |
| 169 | ) |
| 170 | |
| 171 | [ |
| 172 | aos_config( |
| 173 | name = "config_" + pi, |
| 174 | src = "y2020_" + pi + ".json", |
| 175 | flatbuffers = [ |
| 176 | "//aos/network:message_bridge_client_fbs", |
| 177 | "//aos/network:message_bridge_server_fbs", |
| 178 | "//aos/network:timestamp_fbs", |
| 179 | "//y2020/vision/sift:sift_fbs", |
| 180 | "//y2020/vision/sift:sift_training_fbs", |
| 181 | "//y2020/vision:vision_fbs", |
Austin Schuh | 0de30f3 | 2020-12-06 12:44:28 -0800 | [diff] [blame] | 182 | "//aos/network:remote_message_fbs", |
Austin Schuh | c61e9c0 | 2021-04-26 12:10:40 -0700 | [diff] [blame] | 183 | "//y2020/vision:galactic_search_path_fbs", |
Austin Schuh | ce3a191 | 2020-03-15 15:14:19 -0700 | [diff] [blame] | 184 | ], |
Philipp Schrader | dada107 | 2020-11-24 11:34:46 -0800 | [diff] [blame] | 185 | target_compatible_with = ["@platforms//os:linux"], |
Austin Schuh | ce3a191 | 2020-03-15 15:14:19 -0700 | [diff] [blame] | 186 | visibility = ["//visibility:public"], |
| 187 | deps = [ |
| 188 | "//aos/events:config", |
Austin Schuh | ac17fba | 2020-03-28 15:55:33 -0700 | [diff] [blame] | 189 | "//frc971/control_loops/drivetrain:config", |
Austin Schuh | 0a3c9d4 | 2021-07-15 22:36:24 -0700 | [diff] [blame] | 190 | "//frc971/input:config", |
Austin Schuh | ce3a191 | 2020-03-15 15:14:19 -0700 | [diff] [blame] | 191 | ], |
| 192 | ) |
| 193 | for pi in [ |
| 194 | "pi1", |
| 195 | "pi2", |
| 196 | "pi3", |
Austin Schuh | 196a445 | 2020-03-15 23:12:03 -0700 | [diff] [blame] | 197 | "pi4", |
James Kuszmaul | 9c12812 | 2021-03-22 22:24:36 -0700 | [diff] [blame] | 198 | "pi5", |
Austin Schuh | ce3a191 | 2020-03-15 15:14:19 -0700 | [diff] [blame] | 199 | ] |
| 200 | ] |
| 201 | |
| 202 | aos_config( |
Austin Schuh | 3a2f4a4 | 2020-09-16 14:10:39 -0700 | [diff] [blame] | 203 | name = "config_laptop", |
| 204 | src = "y2020_laptop.json", |
| 205 | flatbuffers = [ |
| 206 | "//aos/network:message_bridge_client_fbs", |
| 207 | "//aos/network:message_bridge_server_fbs", |
| 208 | "//aos/network:timestamp_fbs", |
| 209 | "//y2020/vision/sift:sift_fbs", |
| 210 | "//y2020/vision/sift:sift_training_fbs", |
| 211 | "//y2020/vision:vision_fbs", |
Austin Schuh | 0de30f3 | 2020-12-06 12:44:28 -0800 | [diff] [blame] | 212 | "//aos/network:remote_message_fbs", |
Austin Schuh | 3a2f4a4 | 2020-09-16 14:10:39 -0700 | [diff] [blame] | 213 | ], |
Philipp Schrader | dada107 | 2020-11-24 11:34:46 -0800 | [diff] [blame] | 214 | target_compatible_with = ["@platforms//os:linux"], |
Austin Schuh | 3a2f4a4 | 2020-09-16 14:10:39 -0700 | [diff] [blame] | 215 | visibility = ["//visibility:public"], |
| 216 | deps = [ |
| 217 | "//aos/events:config", |
Austin Schuh | 3a2f4a4 | 2020-09-16 14:10:39 -0700 | [diff] [blame] | 218 | "//frc971/control_loops/drivetrain:config", |
Austin Schuh | 0a3c9d4 | 2021-07-15 22:36:24 -0700 | [diff] [blame] | 219 | "//frc971/input:config", |
Austin Schuh | 3a2f4a4 | 2020-09-16 14:10:39 -0700 | [diff] [blame] | 220 | ], |
| 221 | ) |
| 222 | |
| 223 | aos_config( |
Austin Schuh | ce3a191 | 2020-03-15 15:14:19 -0700 | [diff] [blame] | 224 | name = "config_roborio", |
| 225 | src = "y2020_roborio.json", |
| 226 | flatbuffers = [ |
| 227 | ":setpoint_fbs", |
Austin Schuh | 0de30f3 | 2020-12-06 12:44:28 -0800 | [diff] [blame] | 228 | "//aos/network:remote_message_fbs", |
Austin Schuh | ce3a191 | 2020-03-15 15:14:19 -0700 | [diff] [blame] | 229 | "//aos/network:message_bridge_client_fbs", |
| 230 | "//aos/network:message_bridge_server_fbs", |
| 231 | "//aos/network:timestamp_fbs", |
| 232 | "//y2020/control_loops/superstructure:superstructure_goal_fbs", |
| 233 | "//y2019/control_loops/drivetrain:target_selector_fbs", |
| 234 | "//y2020/control_loops/superstructure:superstructure_output_fbs", |
| 235 | "//y2020/control_loops/superstructure:superstructure_position_fbs", |
| 236 | "//y2020/control_loops/superstructure:superstructure_status_fbs", |
| 237 | ], |
Philipp Schrader | dada107 | 2020-11-24 11:34:46 -0800 | [diff] [blame] | 238 | target_compatible_with = ["@platforms//os:linux"], |
Austin Schuh | ce3a191 | 2020-03-15 15:14:19 -0700 | [diff] [blame] | 239 | deps = [ |
| 240 | "//aos/events:config", |
Stephan Massalt | d021f97 | 2020-01-05 20:41:23 -0800 | [diff] [blame] | 241 | "//frc971/autonomous:config", |
| 242 | "//frc971/control_loops/drivetrain:config", |
Austin Schuh | 0a3c9d4 | 2021-07-15 22:36:24 -0700 | [diff] [blame] | 243 | "//frc971/input:config", |
Stephan Massalt | d021f97 | 2020-01-05 20:41:23 -0800 | [diff] [blame] | 244 | "//frc971/wpilib:config", |
| 245 | ], |
| 246 | ) |
| 247 | |
| 248 | py_library( |
| 249 | name = "python_init", |
| 250 | srcs = ["__init__.py"], |
Philipp Schrader | dada107 | 2020-11-24 11:34:46 -0800 | [diff] [blame] | 251 | target_compatible_with = ["@platforms//os:linux"], |
Stephan Massalt | d021f97 | 2020-01-05 20:41:23 -0800 | [diff] [blame] | 252 | visibility = ["//visibility:public"], |
| 253 | ) |
Alex Perry | 5f474f2 | 2020-02-01 12:14:24 -0800 | [diff] [blame] | 254 | |
| 255 | sh_binary( |
| 256 | name = "web_proxy", |
| 257 | srcs = ["web_proxy.sh"], |
| 258 | data = [ |
Austin Schuh | 14d7d3d | 2020-09-10 18:14:36 -0700 | [diff] [blame] | 259 | ":config", |
Alex Perry | 5f474f2 | 2020-02-01 12:14:24 -0800 | [diff] [blame] | 260 | "//aos/network:web_proxy_main", |
Austin Schuh | da9d060 | 2019-09-15 17:29:38 -0700 | [diff] [blame] | 261 | "//y2020/www:camera_main_bundle.min.js", |
| 262 | "//y2020/www:field_main_bundle.min.js", |
Alex Perry | 5f474f2 | 2020-02-01 12:14:24 -0800 | [diff] [blame] | 263 | "//y2020/www:files", |
Alex Perry | 5f474f2 | 2020-02-01 12:14:24 -0800 | [diff] [blame] | 264 | ], |
Philipp Schrader | dada107 | 2020-11-24 11:34:46 -0800 | [diff] [blame] | 265 | target_compatible_with = ["@platforms//os:linux"], |
Alex Perry | 5f474f2 | 2020-02-01 12:14:24 -0800 | [diff] [blame] | 266 | ) |
Austin Schuh | d58b290 | 2020-03-01 19:28:04 -0800 | [diff] [blame] | 267 | |
| 268 | load("@com_github_google_flatbuffers//:build_defs.bzl", "flatbuffer_cc_library") |
| 269 | |
| 270 | flatbuffer_cc_library( |
| 271 | name = "setpoint_fbs", |
| 272 | srcs = [ |
| 273 | "setpoint.fbs", |
| 274 | ], |
| 275 | gen_reflections = 1, |
Philipp Schrader | dada107 | 2020-11-24 11:34:46 -0800 | [diff] [blame] | 276 | target_compatible_with = ["@platforms//os:linux"], |
Austin Schuh | d58b290 | 2020-03-01 19:28:04 -0800 | [diff] [blame] | 277 | ) |
| 278 | |
| 279 | cc_binary( |
| 280 | name = "setpoint_setter", |
| 281 | srcs = ["setpoint_setter.cc"], |
Philipp Schrader | dada107 | 2020-11-24 11:34:46 -0800 | [diff] [blame] | 282 | target_compatible_with = ["@platforms//os:linux"], |
Austin Schuh | d58b290 | 2020-03-01 19:28:04 -0800 | [diff] [blame] | 283 | deps = [ |
| 284 | ":setpoint_fbs", |
| 285 | "//aos:init", |
| 286 | "//aos/events:shm_event_loop", |
| 287 | ], |
| 288 | ) |
James Kuszmaul | 55d9fc7 | 2020-05-10 18:58:08 -0700 | [diff] [blame] | 289 | |
Austin Schuh | 3a2f4a4 | 2020-09-16 14:10:39 -0700 | [diff] [blame] | 290 | [ |
| 291 | jinja2_template( |
| 292 | name = "y2020_pi" + str(num) + ".json", |
| 293 | src = "y2020_pi_template.json", |
| 294 | parameters = {"NUM": str(num)}, |
Philipp Schrader | dada107 | 2020-11-24 11:34:46 -0800 | [diff] [blame] | 295 | target_compatible_with = ["@platforms//os:linux"], |
Austin Schuh | 3a2f4a4 | 2020-09-16 14:10:39 -0700 | [diff] [blame] | 296 | ) |
James Kuszmaul | 9c12812 | 2021-03-22 22:24:36 -0700 | [diff] [blame] | 297 | for num in range(1, 6) |
Austin Schuh | 3a2f4a4 | 2020-09-16 14:10:39 -0700 | [diff] [blame] | 298 | ] |