commit | c6329344ad8c2b8583c638c72c4b029c7015ef20 | [log] [tgz] |
---|---|---|
author | Sabina Davis <sabina1109@gmail.com> | Fri Mar 01 20:44:42 2019 -0800 |
committer | Sabina Davis <sabina1109@gmail.com> | Wed Mar 06 23:41:32 2019 -0800 |
tree | 460c3c43738da678337fd91a0a2e20d96e51ec0d | |
parent | 35c1eca2f40b6bdfac3845fe12439a3209ccef1d [diff] [blame] |
Added status light and logic. Change-Id: Idf192f1e6af3cb4f8a8e659fce5269cbd78bd4bd
diff --git a/y2019/control_loops/superstructure/superstructure.q b/y2019/control_loops/superstructure/superstructure.q index f87e4f2..d5c8a73 100644 --- a/y2019/control_loops/superstructure/superstructure.q +++ b/y2019/control_loops/superstructure/superstructure.q
@@ -4,10 +4,13 @@ import "frc971/control_loops/profiled_subsystem.q"; struct SuctionGoal { - // True = open solenoid (apply suction) - // Top/bottom are when wrist is forward - bool top; - bool bottom; + // True = apply suction + bool grab_piece; + + // 0 = ball mode + // 1 = disk mode + + int32_t gamepiece_mode; }; queue_group SuperstructureQueue {