commit | 71da53908fb7601787012ce7dc4c5da2b753daa8 | [log] [tgz] |
---|---|---|
author | milind-u <milind.upadhyay@gmail.com> | Sun Feb 26 12:45:00 2023 -0800 |
committer | Austin Schuh <austin.linux@gmail.com> | Sun Feb 26 14:12:21 2023 -0800 |
tree | ced12068027fc45da9db7fa815f4b0845803726e | |
parent | a3748ce480257adc4b0318e83bc78810354d57f8 [diff] [blame] |
Add code to intake a cube Voltage is flipped for cubes. Signed-off-by: milind-u <milind.upadhyay@gmail.com> Change-Id: I16b07e4c6b21a173c10fa682f39103aff8aa9379
diff --git a/y2023/control_loops/superstructure/superstructure_status.fbs b/y2023/control_loops/superstructure/superstructure_status.fbs index 2966d75..80a0d3d 100644 --- a/y2023/control_loops/superstructure/superstructure_status.fbs +++ b/y2023/control_loops/superstructure/superstructure_status.fbs
@@ -76,6 +76,12 @@ SPITTING = 3, } +enum GamePiece : ubyte { + NONE = 0, + CONE = 1, + CUBE = 2, +} + table Status { // All subsystems know their location. zeroed:bool (id: 0); @@ -88,6 +94,7 @@ wrist:frc971.control_loops.AbsoluteEncoderProfiledJointStatus (id: 3); end_effector_state:EndEffectorState (id: 4); + game_piece:GamePiece (id: 5); } root_type Status;