commit | 60c5666c3d7039d464b946d55b0584f37098fa62 | [log] [tgz] |
---|---|---|
author | Austin Schuh <austin@peloton-tech.com> | Mon Feb 17 14:37:19 2014 -0800 |
committer | Austin Schuh <austin@peloton-tech.com> | Mon Feb 17 14:37:19 2014 -0800 |
tree | eb8c5eee534902f1b68a1b9eb775536582ef022e | |
parent | 5b433df963d8945758a0bdb9f3f471a267715c6f [diff] [blame] |
Reorganized sensors in the shooter.
diff --git a/frc971/control_loops/control_loops.q b/frc971/control_loops/control_loops.q index 631fd59..ffadb94 100644 --- a/frc971/control_loops/control_loops.q +++ b/frc971/control_loops/control_loops.q
@@ -13,3 +13,11 @@ double posedge; double negedge; }; + +// Records edges captured on a single hall effect sensor. +struct PosedgeOnlyCountedHallEffectStruct { + bool current; + int32_t posedge_count; + int32_t negedge_count; + double posedge_value; +};