aboutsummaryrefslogtreecommitdiff
path: root/zumo/pid.h
diff options
context:
space:
mode:
Diffstat (limited to 'zumo/pid.h')
-rw-r--r--zumo/pid.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/zumo/pid.h b/zumo/pid.h
new file mode 100644
index 0000000..2cdbc91
--- /dev/null
+++ b/zumo/pid.h
@@ -0,0 +1,7 @@
+#pragma once
+
+#include "protocol.h"
+
+/** @brief edit `current` to be closer to `target` using PID controllers */
+void apply_pid(dui_state_t* target, dui_state_t* current);
+