File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1818import edu .wpi .first .wpilibj2 .command .Command ;
1919import edu .wpi .first .wpilibj2 .command .CommandScheduler ;
2020import frc .robot .Constants .LED_STATE ;
21+ import frc .robot .statemachines .ClimbStateMachine .CLIMB_STATES ;
2122import frc .robot .util .LocalADStarAK ;
2223import org .littletonrobotics .junction .LogFileUtil ;
2324import org .littletonrobotics .junction .LoggedRobot ;
@@ -115,6 +116,7 @@ public void robotPeriodic() {
115116 @ Override
116117 public void disabledInit () {
117118 m_robotContainer .getLED ().setState (LED_STATE .FIRE );
119+ m_robotContainer .getClimbStateMachine ().setClimbState (CLIMB_STATES .NONE );
118120 }
119121
120122 /** This function is called periodically when disabled. */
Original file line number Diff line number Diff line change @@ -999,4 +999,8 @@ public LED getLED() {
999999 public Drive getDrive () {
10001000 return drive ;
10011001 }
1002+
1003+ public ClimbStateMachine getClimbStateMachine () {
1004+ return climbStateMachine ;
1005+ }
10021006}
You can’t perform that action at this time.
0 commit comments