blob: c2afa55a67d1cc8fca38e8dcf2060a31a089d6cf [file] [log] [blame]
Ravago Jonese12b7902022-02-04 22:50:44 -08001cc_library(
2 name = "imu",
3 srcs = [
4 "imu.cc",
5 ],
6 hdrs = [
7 "imu.h",
8 ],
9 target_compatible_with = ["@platforms//os:linux"],
10 deps = [
11 "//aos/events:epoll",
12 "//aos/events:shm_event_loop",
13 "//aos/util:crc32",
14 "//frc971/wpilib:imu_batch_fbs",
15 "//frc971/wpilib:imu_fbs",
16 "//y2022:constants",
17 "@com_github_google_glog//:glog",
18 "@com_google_absl//absl/types:span",
19 ],
20)
21
22cc_binary(
23 name = "imu_main",
24 srcs = ["imu_main.cc"],
25 target_compatible_with = ["@platforms//os:linux"],
26 visibility = ["//visibility:public"],
27 deps = [
28 ":imu",
29 "//aos:init",
30 "//aos/events:shm_event_loop",
31 ],
32)