blob: 00896bbce18eee6ec165beaaae8e2db70df2a5cf [file] [log] [blame]
Brian Silverman003a4732018-03-11 14:02:15 -07001package(default_visibility = ["//visibility:public"])
Brian Silverman100534c2015-09-07 15:51:23 -04002
James Kuszmaul5f5e1232020-12-22 20:58:00 -08003load("@npm_bazel_typescript//:defs.bzl", "ts_library")
4load("@com_github_google_flatbuffers//:build_defs.bzl", "flatbuffer_cc_library", "flatbuffer_ts_library")
Austin Schuh00be38c2019-12-01 18:08:25 -08005load("//aos:config.bzl", "aos_config")
Brian Silverman100534c2015-09-07 15:51:23 -04006
Alex Perrycb7da4b2019-08-28 19:35:56 -07007flatbuffer_cc_library(
8 name = "logging_fbs",
Brian Silverman003a4732018-03-11 14:02:15 -07009 srcs = [
Alex Perrycb7da4b2019-08-28 19:35:56 -070010 "logging.fbs",
Brian Silverman003a4732018-03-11 14:02:15 -070011 ],
Austin Schuhed5b26d2019-12-05 20:51:59 -080012 gen_reflections = 1,
Philipp Schraderdada1072020-11-24 11:34:46 -080013 target_compatible_with = ["@platforms//os:linux"],
Brian Silverman100534c2015-09-07 15:51:23 -040014)
15
16cc_library(
Brian Silverman003a4732018-03-11 14:02:15 -070017 name = "encoder_and_potentiometer",
18 srcs = [
19 "encoder_and_potentiometer.cc",
20 ],
21 hdrs = [
22 "encoder_and_potentiometer.h",
23 ],
Philipp Schraderdada1072020-11-24 11:34:46 -080024 target_compatible_with = ["//tools/platforms/hardware:roborio"],
Brian Silverman003a4732018-03-11 14:02:15 -070025 deps = [
26 ":dma",
27 ":dma_edge_counting",
John Park398c74a2018-10-20 21:17:39 -070028 "//aos:init",
Austin Schuh45a549f2019-02-02 15:43:56 -080029 "//aos/logging",
Brian Silverman003a4732018-03-11 14:02:15 -070030 "//third_party:wpilib",
31 ],
Brian Silverman100534c2015-09-07 15:51:23 -040032)
33
34cc_library(
Brian Silverman003a4732018-03-11 14:02:15 -070035 name = "dma_edge_counting",
36 srcs = [
37 "dma_edge_counting.cc",
38 ],
39 hdrs = [
40 "dma_edge_counting.h",
41 ],
Philipp Schraderdada1072020-11-24 11:34:46 -080042 target_compatible_with = ["//tools/platforms/hardware:roborio"],
Brian Silverman003a4732018-03-11 14:02:15 -070043 deps = [
44 ":dma",
John Park33858a32018-09-28 23:05:48 -070045 "//aos/logging",
Brian Silverman003a4732018-03-11 14:02:15 -070046 "//third_party:wpilib",
47 ],
Brian Silverman100534c2015-09-07 15:51:23 -040048)
49
50cc_library(
Brian Silverman003a4732018-03-11 14:02:15 -070051 name = "interrupt_edge_counting",
52 srcs = [
53 "interrupt_edge_counting.cc",
54 ],
55 hdrs = [
56 "interrupt_edge_counting.h",
57 ],
Philipp Schraderdada1072020-11-24 11:34:46 -080058 target_compatible_with = ["//tools/platforms/hardware:roborio"],
Brian Silverman003a4732018-03-11 14:02:15 -070059 deps = [
John Park398c74a2018-10-20 21:17:39 -070060 "//aos:init",
Austin Schuh45a549f2019-02-02 15:43:56 -080061 "//aos/logging",
62 "//aos/stl_mutex",
63 "//aos/time",
Brian Silverman003a4732018-03-11 14:02:15 -070064 "//third_party:wpilib",
65 ],
Brian Silverman100534c2015-09-07 15:51:23 -040066)
67
68cc_library(
Brian Silverman003a4732018-03-11 14:02:15 -070069 name = "buffered_pcm",
70 srcs = [
71 "buffered_pcm.cc",
72 "buffered_solenoid.cc",
73 ],
74 hdrs = [
75 "buffered_pcm.h",
76 "buffered_solenoid.h",
77 ],
Philipp Schraderdada1072020-11-24 11:34:46 -080078 target_compatible_with = ["//tools/platforms/hardware:roborio"],
Brian Silverman003a4732018-03-11 14:02:15 -070079 deps = [
John Park33858a32018-09-28 23:05:48 -070080 "//aos/logging",
Brian Silverman003a4732018-03-11 14:02:15 -070081 "//third_party:wpilib",
82 ],
Brian Silverman100534c2015-09-07 15:51:23 -040083)
84
85cc_library(
Brian Silverman003a4732018-03-11 14:02:15 -070086 name = "gyro_interface",
87 srcs = [
88 "gyro_interface.cc",
89 ],
90 hdrs = [
91 "gyro_interface.h",
92 ],
Brian Silverman7be68ba2020-01-08 22:08:40 -080093 # This library uses some deprecated parts of the SPI API.
94 copts = ["-Wno-deprecated-declarations"],
Philipp Schraderdada1072020-11-24 11:34:46 -080095 target_compatible_with = ["//tools/platforms/hardware:roborio"],
Brian Silverman003a4732018-03-11 14:02:15 -070096 deps = [
John Park33858a32018-09-28 23:05:48 -070097 "//aos/logging",
Austin Schuh45a549f2019-02-02 15:43:56 -080098 "//aos/time",
Brian Silverman003a4732018-03-11 14:02:15 -070099 "//third_party:wpilib",
100 ],
Brian Silverman100534c2015-09-07 15:51:23 -0400101)
102
103cc_library(
Brian Silverman003a4732018-03-11 14:02:15 -0700104 name = "gyro_sender",
105 srcs = [
106 "gyro_sender.cc",
107 ],
108 hdrs = [
109 "gyro_sender.h",
110 ],
Philipp Schraderdada1072020-11-24 11:34:46 -0800111 target_compatible_with = ["//tools/platforms/hardware:roborio"],
Brian Silverman003a4732018-03-11 14:02:15 -0700112 deps = [
113 ":gyro_interface",
Austin Schuh45a549f2019-02-02 15:43:56 -0800114 "//aos:init",
Alex Perrycb7da4b2019-08-28 19:35:56 -0700115 "//aos/events:event_loop",
Austin Schuh217a9782019-12-21 23:02:50 -0800116 "//aos/events:shm_event_loop",
John Park33858a32018-09-28 23:05:48 -0700117 "//aos/logging",
Alex Perrycb7da4b2019-08-28 19:35:56 -0700118 "//aos/robot_state:robot_state_fbs",
Austin Schuh45a549f2019-02-02 15:43:56 -0800119 "//aos/time",
John Park33858a32018-09-28 23:05:48 -0700120 "//aos/util:phased_loop",
Tyler Chatow24b5db12020-01-06 21:16:56 -0800121 "//frc971/queues:gyro_fbs",
122 "//frc971/queues:gyro_uid_fbs",
Brian Silverman003a4732018-03-11 14:02:15 -0700123 "//frc971/zeroing:averager",
124 ],
Brian Silverman100534c2015-09-07 15:51:23 -0400125)
126
Alex Perrycb7da4b2019-08-28 19:35:56 -0700127flatbuffer_cc_library(
128 name = "loop_output_handler_test_fbs",
Austin Schuhbd1fe9c2019-06-29 16:35:48 -0700129 srcs = [
Alex Perrycb7da4b2019-08-28 19:35:56 -0700130 "loop_output_handler_test.fbs",
Austin Schuhbd1fe9c2019-06-29 16:35:48 -0700131 ],
Austin Schuh00be38c2019-12-01 18:08:25 -0800132 gen_reflections = 1,
Philipp Schraderdada1072020-11-24 11:34:46 -0800133 target_compatible_with = ["@platforms//os:linux"],
Austin Schuh00be38c2019-12-01 18:08:25 -0800134)
135
136aos_config(
Austin Schuhed5b26d2019-12-05 20:51:59 -0800137 name = "config",
138 src = "wpilib_config.json",
139 flatbuffers = [
140 ":pdp_values_fbs",
141 ":logging_fbs",
142 ],
Philipp Schraderdada1072020-11-24 11:34:46 -0800143 target_compatible_with = ["@platforms//os:linux"],
Austin Schuhed5b26d2019-12-05 20:51:59 -0800144)
145
146aos_config(
Austin Schuh00be38c2019-12-01 18:08:25 -0800147 name = "loop_output_handler_test_config",
148 src = "loop_output_handler_test_config_source.json",
149 flatbuffers = [
150 ":loop_output_handler_test_fbs",
151 ],
Philipp Schraderdada1072020-11-24 11:34:46 -0800152 target_compatible_with = ["@platforms//os:linux"],
Austin Schuh39788ff2019-12-01 18:22:57 -0800153 deps = [
154 "//aos/events:config",
155 ],
Austin Schuhbd1fe9c2019-06-29 16:35:48 -0700156)
157
Brian Silverman100534c2015-09-07 15:51:23 -0400158cc_library(
Brian Silverman003a4732018-03-11 14:02:15 -0700159 name = "loop_output_handler",
160 srcs = [
161 "loop_output_handler.cc",
162 ],
163 hdrs = [
164 "loop_output_handler.h",
165 ],
Philipp Schraderdada1072020-11-24 11:34:46 -0800166 target_compatible_with = ["@platforms//os:linux"],
Brian Silverman003a4732018-03-11 14:02:15 -0700167 deps = [
John Park398c74a2018-10-20 21:17:39 -0700168 "//aos:init",
Alex Perrycb7da4b2019-08-28 19:35:56 -0700169 "//aos/events:event_loop",
170 "//aos/robot_state:robot_state_fbs",
Austin Schuh45a549f2019-02-02 15:43:56 -0800171 "//aos/scoped:scoped_fd",
172 "//aos/time",
173 "//aos/util:log_interval",
Brian Silverman003a4732018-03-11 14:02:15 -0700174 ],
Brian Silverman100534c2015-09-07 15:51:23 -0400175)
176
Austin Schuhbd1fe9c2019-06-29 16:35:48 -0700177cc_test(
178 name = "loop_output_handler_test",
179 srcs = [
180 "loop_output_handler_test.cc",
181 ],
Austin Schuh00be38c2019-12-01 18:08:25 -0800182 data = [
Austin Schuh14d7d3d2020-09-10 18:14:36 -0700183 ":loop_output_handler_test_config",
Austin Schuh00be38c2019-12-01 18:08:25 -0800184 ],
Philipp Schraderdada1072020-11-24 11:34:46 -0800185 target_compatible_with = ["@platforms//os:linux"],
Austin Schuhbd1fe9c2019-06-29 16:35:48 -0700186 deps = [
187 ":loop_output_handler",
Alex Perrycb7da4b2019-08-28 19:35:56 -0700188 ":loop_output_handler_test_fbs",
Austin Schuhbd1fe9c2019-06-29 16:35:48 -0700189 "//aos/events:simulated_event_loop",
Austin Schuhbd1fe9c2019-06-29 16:35:48 -0700190 "//aos/testing:googletest",
191 "//aos/testing:test_logging",
192 ],
193)
194
Brian Silverman100534c2015-09-07 15:51:23 -0400195cc_library(
Brian Silverman003a4732018-03-11 14:02:15 -0700196 name = "joystick_sender",
197 srcs = [
198 "joystick_sender.cc",
199 ],
200 hdrs = [
201 "joystick_sender.h",
202 ],
Philipp Schraderdada1072020-11-24 11:34:46 -0800203 target_compatible_with = ["//tools/platforms/hardware:roborio"],
Brian Silverman003a4732018-03-11 14:02:15 -0700204 deps = [
John Park398c74a2018-10-20 21:17:39 -0700205 "//aos:init",
Alex Perrycb7da4b2019-08-28 19:35:56 -0700206 "//aos/events:shm_event_loop",
207 "//aos/input:driver_station_data",
Austin Schuh45a549f2019-02-02 15:43:56 -0800208 "//aos/network:team_number",
Alex Perrycb7da4b2019-08-28 19:35:56 -0700209 "//aos/robot_state:joystick_state_fbs",
Brian Silverman003a4732018-03-11 14:02:15 -0700210 "//third_party:wpilib",
211 ],
Brian Silverman100534c2015-09-07 15:51:23 -0400212)
Brian Silverman811f8ec2015-12-06 01:29:42 -0500213
214cc_library(
Brian Silverman003a4732018-03-11 14:02:15 -0700215 name = "wpilib_interface",
216 srcs = [
217 "wpilib_interface.cc",
218 ],
219 hdrs = [
220 "wpilib_interface.h",
221 ],
Philipp Schraderdada1072020-11-24 11:34:46 -0800222 target_compatible_with = ["//tools/platforms/hardware:roborio"],
Brian Silverman003a4732018-03-11 14:02:15 -0700223 deps = [
Alex Perrycb7da4b2019-08-28 19:35:56 -0700224 "//aos/events:event_loop",
225 "//aos/robot_state:robot_state_fbs",
Brian Silverman003a4732018-03-11 14:02:15 -0700226 "//third_party:wpilib",
227 ],
Brian Silverman39b339e2016-01-03 13:24:22 -0800228)
229
Alex Perrycb7da4b2019-08-28 19:35:56 -0700230flatbuffer_cc_library(
Austin Schuhed5b26d2019-12-05 20:51:59 -0800231 name = "pdp_values_fbs",
Brian Silverman003a4732018-03-11 14:02:15 -0700232 srcs = [
Alex Perrycb7da4b2019-08-28 19:35:56 -0700233 "pdp_values.fbs",
Brian Silverman003a4732018-03-11 14:02:15 -0700234 ],
Austin Schuhed5b26d2019-12-05 20:51:59 -0800235 gen_reflections = 1,
Philipp Schraderdada1072020-11-24 11:34:46 -0800236 target_compatible_with = ["@platforms//os:linux"],
Brian Silverman425492b2015-12-30 15:23:55 -0800237)
238
239cc_library(
Brian Silverman003a4732018-03-11 14:02:15 -0700240 name = "pdp_fetcher",
241 srcs = [
242 "pdp_fetcher.cc",
243 ],
244 hdrs = [
245 "pdp_fetcher.h",
246 ],
Philipp Schraderdada1072020-11-24 11:34:46 -0800247 target_compatible_with = ["//tools/platforms/hardware:roborio"],
Brian Silverman003a4732018-03-11 14:02:15 -0700248 deps = [
Austin Schuhed5b26d2019-12-05 20:51:59 -0800249 ":pdp_values_fbs",
Austin Schuh45a549f2019-02-02 15:43:56 -0800250 "//aos:init",
Alex Perrycb7da4b2019-08-28 19:35:56 -0700251 "//aos/events:event_loop",
Austin Schuh217a9782019-12-21 23:02:50 -0800252 "//aos/events:shm_event_loop",
John Park33858a32018-09-28 23:05:48 -0700253 "//aos/util:phased_loop",
Brian Silverman003a4732018-03-11 14:02:15 -0700254 "//third_party:wpilib",
255 ],
Brian Silverman811f8ec2015-12-06 01:29:42 -0500256)
Campbell Crowleyc0cfb132015-12-30 20:58:02 -0800257
258cc_library(
Brian Silverman003a4732018-03-11 14:02:15 -0700259 name = "wpilib_robot_base",
260 hdrs = [
261 "wpilib_robot_base.h",
262 ],
Philipp Schraderdada1072020-11-24 11:34:46 -0800263 target_compatible_with = ["//tools/platforms/hardware:roborio"],
Brian Silverman003a4732018-03-11 14:02:15 -0700264 deps = [
265 "//third_party:wpilib",
266 ],
Campbell Crowleyc0cfb132015-12-30 20:58:02 -0800267)
Brian Silverman5f17a972016-02-28 01:49:32 -0500268
Alex Perrycb7da4b2019-08-28 19:35:56 -0700269flatbuffer_cc_library(
270 name = "imu_fbs",
Brian Silverman003a4732018-03-11 14:02:15 -0700271 srcs = [
Alex Perrycb7da4b2019-08-28 19:35:56 -0700272 "imu.fbs",
Brian Silverman003a4732018-03-11 14:02:15 -0700273 ],
Alex Perrycb7da4b2019-08-28 19:35:56 -0700274 gen_reflections = 1,
Philipp Schraderdada1072020-11-24 11:34:46 -0800275 target_compatible_with = ["@platforms//os:linux"],
Brian Silverman5f17a972016-02-28 01:49:32 -0500276)
277
Austin Schuhac17fba2020-03-28 15:55:33 -0700278flatbuffer_cc_library(
279 name = "imu_batch_fbs",
280 srcs = [
281 "imu_batch.fbs",
282 ],
283 gen_reflections = 1,
284 includes = [
285 ":imu_fbs_includes",
286 ],
Philipp Schraderdada1072020-11-24 11:34:46 -0800287 target_compatible_with = ["@platforms//os:linux"],
Austin Schuhac17fba2020-03-28 15:55:33 -0700288)
289
James Kuszmaul5f5e1232020-12-22 20:58:00 -0800290flatbuffer_ts_library(
291 name = "imu_batch_ts_fbs",
292 srcs = ["imu_batch.fbs"],
293 includes = [
294 ":imu_fbs_includes",
295 ],
296 target_compatible_with = ["@platforms//os:linux"],
297)
298
Brian Silverman5f17a972016-02-28 01:49:32 -0500299cc_library(
Brian Silverman7be68ba2020-01-08 22:08:40 -0800300 name = "ADIS16470",
301 srcs = [
302 "ADIS16470.cc",
303 ],
304 hdrs = [
305 "ADIS16470.h",
306 ],
Philipp Schraderdada1072020-11-24 11:34:46 -0800307 target_compatible_with = ["//tools/platforms/hardware:roborio"],
Brian Silverman7be68ba2020-01-08 22:08:40 -0800308 deps = [
309 ":fpga_time_conversion",
Austin Schuhac17fba2020-03-28 15:55:33 -0700310 ":imu_batch_fbs",
Brian Silverman7be68ba2020-01-08 22:08:40 -0800311 ":imu_fbs",
Austin Schuhac17fba2020-03-28 15:55:33 -0700312 "//aos/containers:sized_array",
Brian Silverman7be68ba2020-01-08 22:08:40 -0800313 "//aos/events:event_loop",
314 "//aos/time",
315 "//third_party:wpilib",
316 "@com_github_google_glog//:glog",
317 "@com_google_absl//absl/types:span",
318 ],
319)
320
321cc_library(
Brian Silverman003a4732018-03-11 14:02:15 -0700322 name = "ADIS16448",
323 srcs = [
324 "ADIS16448.cc",
325 ],
326 hdrs = [
327 "ADIS16448.h",
328 ],
Brian Silverman7be68ba2020-01-08 22:08:40 -0800329 # This library uses some deprecated parts of the SPI API.
330 copts = ["-Wno-deprecated-declarations"],
Philipp Schraderdada1072020-11-24 11:34:46 -0800331 target_compatible_with = ["//tools/platforms/hardware:roborio"],
Brian Silverman003a4732018-03-11 14:02:15 -0700332 deps = [
Brian Silverman7be68ba2020-01-08 22:08:40 -0800333 ":fpga_time_conversion",
Alex Perrycb7da4b2019-08-28 19:35:56 -0700334 ":imu_fbs",
Brian Silverman003a4732018-03-11 14:02:15 -0700335 ":spi_rx_clearer",
Austin Schuh45a549f2019-02-02 15:43:56 -0800336 "//aos:init",
Alex Perrycb7da4b2019-08-28 19:35:56 -0700337 "//aos/events:event_loop",
Austin Schuh217a9782019-12-21 23:02:50 -0800338 "//aos/events:shm_event_loop",
John Park33858a32018-09-28 23:05:48 -0700339 "//aos/logging",
Austin Schuh45a549f2019-02-02 15:43:56 -0800340 "//aos/time",
Brian Silverman003a4732018-03-11 14:02:15 -0700341 "//frc971/zeroing:averager",
342 "//third_party:wpilib",
343 ],
Brian Silverman5f17a972016-02-28 01:49:32 -0500344)
Brian Silvermanb5b46ca2016-03-13 01:14:17 -0500345
346cc_library(
Brian Silverman003a4732018-03-11 14:02:15 -0700347 name = "dma",
348 srcs = [
349 "dma.cc",
350 ],
351 hdrs = [
352 "dma.h",
353 ],
Philipp Schraderdada1072020-11-24 11:34:46 -0800354 target_compatible_with = ["//tools/platforms/hardware:roborio"],
Brian Silverman003a4732018-03-11 14:02:15 -0700355 deps = [
356 "//third_party:wpilib",
357 ],
358)
359
360cc_library(
361 name = "spi_rx_clearer",
362 srcs = [
363 "spi_rx_clearer.cc",
364 ],
365 hdrs = [
366 "spi_rx_clearer.h",
367 ],
Philipp Schraderdada1072020-11-24 11:34:46 -0800368 target_compatible_with = ["@platforms//os:linux"],
Brian Silverman003a4732018-03-11 14:02:15 -0700369 deps = [
John Park33858a32018-09-28 23:05:48 -0700370 "//aos/logging",
Brian Silverman003a4732018-03-11 14:02:15 -0700371 ],
Brian Silvermanb5b46ca2016-03-13 01:14:17 -0500372)
Sabina Davisadc58542019-02-01 22:23:00 -0800373
374cc_library(
375 name = "sensor_reader",
376 srcs = [
377 "sensor_reader.cc",
378 ],
379 hdrs = [
Austin Schuh45a549f2019-02-02 15:43:56 -0800380 "sensor_reader.h",
Sabina Davisadc58542019-02-01 22:23:00 -0800381 ],
Philipp Schraderdada1072020-11-24 11:34:46 -0800382 target_compatible_with = ["//tools/platforms/hardware:roborio"],
Sabina Davisadc58542019-02-01 22:23:00 -0800383 deps = [
Sabina Davis1ffa4172019-02-01 22:38:33 -0800384 ":dma",
385 ":dma_edge_counting",
Austin Schuh54667ac2019-02-02 16:44:49 -0800386 ":encoder_and_potentiometer",
Brian Silverman7be68ba2020-01-08 22:08:40 -0800387 ":fpga_time_conversion",
Austin Schuh45a549f2019-02-02 15:43:56 -0800388 ":wpilib_interface",
389 "//aos:init",
Alex Perrycb7da4b2019-08-28 19:35:56 -0700390 "//aos/events:event_loop",
Austin Schuh217a9782019-12-21 23:02:50 -0800391 "//aos/events:shm_event_loop",
Austin Schuha0c41ba2020-09-10 22:59:14 -0700392 "//aos/logging",
Austin Schuh45a549f2019-02-02 15:43:56 -0800393 "//aos/stl_mutex",
394 "//aos/time",
395 "//aos/util:phased_loop",
Alex Perrycb7da4b2019-08-28 19:35:56 -0700396 "//frc971/control_loops:control_loops_fbs",
Austin Schuh45a549f2019-02-02 15:43:56 -0800397 "//third_party:wpilib",
Sabina Davisadc58542019-02-01 22:23:00 -0800398 ],
399)
Sabina Davisd004fd62019-02-02 23:51:46 -0800400
401cc_library(
402 name = "drivetrain_writer",
403 srcs = [
404 "drivetrain_writer.cc",
405 ],
406 hdrs = [
407 "drivetrain_writer.h",
408 ],
Philipp Schraderdada1072020-11-24 11:34:46 -0800409 target_compatible_with = ["//tools/platforms/hardware:roborio"],
Sabina Davisd004fd62019-02-02 23:51:46 -0800410 deps = [
411 ":loop_output_handler",
412 "//aos:math",
413 "//aos/logging",
Alex Perrycb7da4b2019-08-28 19:35:56 -0700414 "//frc971/control_loops/drivetrain:drivetrain_output_fbs",
Sabina Davisd004fd62019-02-02 23:51:46 -0800415 "//third_party:wpilib",
416 ],
417)
Brian Silverman7be68ba2020-01-08 22:08:40 -0800418
419cc_library(
420 name = "fpga_time_conversion",
421 srcs = [
422 "fpga_time_conversion.cc",
423 ],
424 hdrs = [
425 "fpga_time_conversion.h",
426 ],
Philipp Schraderdada1072020-11-24 11:34:46 -0800427 target_compatible_with = ["//tools/platforms/hardware:roborio"],
Brian Silverman7be68ba2020-01-08 22:08:40 -0800428 deps = [
429 "//aos/time",
430 "//aos/util:compiler_memory_barrier",
431 "//third_party:wpilib",
432 "@com_github_google_glog//:glog",
433 ],
434)
James Kuszmaul5f5e1232020-12-22 20:58:00 -0800435
436ts_library(
437 name = "imu_plot_utils",
438 srcs = ["imu_plot_utils.ts"],
439 target_compatible_with = ["@platforms//os:linux"],
440 deps = [
441 ":imu_batch_ts_fbs",
442 "//aos:configuration_ts_fbs",
443 "//aos/network/www:aos_plotter",
James Kuszmaul0d7df892021-04-09 22:19:49 -0700444 "//aos/network/www:plotter",
James Kuszmaul5f5e1232020-12-22 20:58:00 -0800445 "//aos/network/www:reflection_ts",
446 "@com_github_google_flatbuffers//ts:flatbuffers_ts",
447 ],
448)
449
450ts_library(
451 name = "imu_plotter",
452 srcs = ["imu_plotter.ts"],
453 target_compatible_with = ["@platforms//os:linux"],
454 deps = [
455 ":imu_plot_utils",
456 "//aos/network/www:aos_plotter",
457 "//aos/network/www:proxy",
458 ],
459)