Stephan Massalt | d021f97 | 2020-01-05 20:41:23 -0800 | [diff] [blame] | 1 | include "frc971/control_loops/control_loops.fbs"; |
| 2 | include "frc971/control_loops/profiled_subsystem.fbs"; |
| 3 | |
| 4 | namespace y2020.control_loops.superstructure; |
| 5 | |
| 6 | table Status { |
| 7 | // All subsystems know their location. |
| 8 | zeroed:bool; |
| 9 | |
| 10 | // If true, we have aborted. This is the or of all subsystem estops. |
| 11 | estopped:bool; |
| 12 | |
Sabina Davis | 70d5e91 | 2020-01-31 21:10:37 -0800 | [diff] [blame] | 13 | //Subsystem status. |
| 14 | hood:frc971.control_loops.AbsoluteEncoderProfiledJointStatus; |
Sabina Davis | 6b61de3 | 2020-02-02 12:42:51 -0800 | [diff] [blame] | 15 | intake:frc971.control_loops.AbsoluteEncoderProfiledJointStatus; |
Tyler Chatow | 1879acc | 2020-02-01 13:26:48 -0800 | [diff] [blame^] | 16 | turret:frc971.control_loops.PotAndAbsoluteEncoderProfiledJointStatus; |
Stephan Massalt | d021f97 | 2020-01-05 20:41:23 -0800 | [diff] [blame] | 17 | } |
| 18 | |
| 19 | root_type Status; |