Add some basic point/angle related math utilities.
Change-Id: I64cf1b23c218525af9edb1cc1088cca8772b49d6
diff --git a/aos/util/BUILD b/aos/util/BUILD
index 902cb00..99ae87d 100644
--- a/aos/util/BUILD
+++ b/aos/util/BUILD
@@ -37,6 +37,23 @@
)
cc_library(
+ name = "math",
+ hdrs = ["math.h"],
+ deps = [
+ "//third_party/eigen",
+ ],
+)
+
+cc_test(
+ name = "math_test",
+ srcs = ["math_test.cc"],
+ deps = [
+ ":math",
+ "//aos/testing:googletest",
+ ],
+)
+
+cc_library(
name = "death_test_log_implementation",
hdrs = [
"death_test_log_implementation.h",
@@ -69,8 +86,8 @@
"phased_loop.h",
],
deps = [
- "//aos/time:time",
"//aos/logging",
+ "//aos/time",
],
)
@@ -80,8 +97,8 @@
"log_interval.h",
],
deps = [
- "//aos/time:time",
"//aos/logging",
+ "//aos/time",
],
)
@@ -129,8 +146,8 @@
"-lm",
],
deps = [
- "//aos/time:time",
"//aos/logging",
+ "//aos/time",
"//third_party/eigen",
],
)
@@ -216,7 +233,7 @@
"linked_list.h",
],
deps = [
- "//aos/transaction:transaction",
+ "//aos/transaction",
],
)