Sanify the format posedge+negedge values are passed in.
Previously, everything which dealt with them either had to combine the
three separate sources or split them apart, which made no sense.
Change-Id: Ibcd9dc48f83ab7372fe46dc5d0a6483b281a08f0
diff --git a/frc971/control_loops/control_loops.q b/frc971/control_loops/control_loops.q
index 3dacff8..37a6420 100644
--- a/frc971/control_loops/control_loops.q
+++ b/frc971/control_loops/control_loops.q
@@ -42,6 +42,8 @@
bool current;
int32_t posedge_count;
int32_t negedge_count;
+ double posedge_value;
+ double negedge_value;
};
// Records the positions for a mechanism with edge-capturing sensors on it.