Stephan Massalt | d021f97 | 2020-01-05 20:41:23 -0800 | [diff] [blame] | 1 | include "frc971/control_loops/profiled_subsystem.fbs"; |
| 2 | |
| 3 | namespace y2020.control_loops.superstructure; |
| 4 | |
| 5 | table Goal { |
Sabina Davis | 70d5e91 | 2020-01-31 21:10:37 -0800 | [diff] [blame] | 6 | // Zero is at the horizontal, positive towards the front (meters on the lead screw). |
| 7 | hood:frc971.control_loops.StaticZeroingSingleDOFProfiledSubsystemGoal; |
Sabina Davis | 6b61de3 | 2020-02-02 12:42:51 -0800 | [diff] [blame] | 8 | |
| 9 | //0 = Linkage on sprocket is pointing straight up |
| 10 | //Positive = forward |
| 11 | intake:frc971.control_loops.StaticZeroingSingleDOFProfiledSubsystemGoal; |
Tyler Chatow | 1879acc | 2020-02-01 13:26:48 -0800 | [diff] [blame^] | 12 | |
Sabina Davis | 6b61de3 | 2020-02-02 12:42:51 -0800 | [diff] [blame] | 13 | //Positive is rollers intaking to Washing Machine. |
| 14 | roller_voltage:float; |
Tyler Chatow | 1879acc | 2020-02-01 13:26:48 -0800 | [diff] [blame^] | 15 | |
| 16 | // 0 = facing the front of the robot. Positive rotates counterclockwise. |
| 17 | // TODO(Kai): Define which wrap of the shooter is 0 if it can rotate past |
| 18 | // forward more than once. |
| 19 | turret:frc971.control_loops.StaticZeroingSingleDOFProfiledSubsystemGoal; |
Stephan Massalt | d021f97 | 2020-01-05 20:41:23 -0800 | [diff] [blame] | 20 | } |
| 21 | |
| 22 | root_type Goal; |