@@ -168,7 +168,7 @@ class Superstructure(
168168 when (currentRequest) {
169169 is SuperstructureRequest .ForceHome -> SuperstructureStates .FORCE_HOME
170170 is SuperstructureRequest .Unjam -> SuperstructureStates .UNJAM
171- is SuperstructureRequest .ExtendClimb -> SuperstructureStates .PREP_CLIMB
171+ // is SuperstructureRequest.ExtendClimb -> SuperstructureStates.PREP_CLIMB
172172 is SuperstructureRequest .PrepScore -> SuperstructureStates .PREP_SCORE
173173 is SuperstructureRequest .Score -> SuperstructureStates .SCORE
174174 is SuperstructureRequest .Intake -> SuperstructureStates .INTAKE
@@ -219,7 +219,7 @@ class Superstructure(
219219 when (currentRequest) {
220220 is SuperstructureRequest .Idle -> nextState = SuperstructureStates .IDLE
221221 is SuperstructureRequest .Intake -> nextState = SuperstructureStates .INTAKE
222- is SuperstructureRequest .ExtendClimb -> nextState = SuperstructureStates .PREP_CLIMB
222+ // is SuperstructureRequest.ExtendClimb -> nextState = SuperstructureStates.PREP_CLIMB
223223 is SuperstructureRequest .Score -> {
224224 if (shooter.isAtTargetedVelocity) {
225225 nextState = SuperstructureStates .SCORE
@@ -243,7 +243,7 @@ class Superstructure(
243243 when (currentRequest) {
244244 is SuperstructureRequest .Idle -> nextState = SuperstructureStates .IDLE
245245 is SuperstructureRequest .Intake -> nextState = SuperstructureStates .IDLE
246- is SuperstructureRequest .ExtendClimb -> nextState = SuperstructureStates .PREP_CLIMB
246+ // is SuperstructureRequest.ExtendClimb -> nextState = SuperstructureStates.PREP_CLIMB
247247 else -> {}
248248 }
249249 }
@@ -262,7 +262,7 @@ class Superstructure(
262262
263263 when (currentRequest) {
264264 is SuperstructureRequest .Idle -> nextState = SuperstructureStates .IDLE
265- is SuperstructureRequest .ExtendClimb -> nextState = SuperstructureStates .PREP_CLIMB
265+ // is SuperstructureRequest.ExtendClimb -> nextState = SuperstructureStates.PREP_CLIMB
266266 else -> {}
267267 }
268268 }
@@ -282,7 +282,7 @@ class Superstructure(
282282 is SuperstructureRequest .PrepScore -> nextState = SuperstructureStates .PREP_SCORE
283283 is SuperstructureRequest .Score -> nextState = SuperstructureStates .SCORE
284284 is SuperstructureRequest .Eject -> nextState = SuperstructureStates .EJECT
285- is SuperstructureRequest .ExtendClimb -> nextState = SuperstructureStates .PREP_CLIMB
285+ // is SuperstructureRequest.ExtendClimb -> nextState = SuperstructureStates.PREP_CLIMB
286286 else -> {}
287287 }
288288 }
@@ -301,11 +301,11 @@ class Superstructure(
301301 is SuperstructureRequest .Idle -> {
302302 nextState = SuperstructureStates .IDLE
303303 }
304- is SuperstructureRequest .RetractClimb -> {
305- if (climb.isAtTargetedPosition) {
306- nextState = SuperstructureStates .CLIMB
307- }
308- }
304+ // is SuperstructureRequest.RetractClimb -> {
305+ // if (climb.isAtTargetedPosition) {
306+ // nextState = SuperstructureStates.CLIMB
307+ // }
308+ // }
309309 else -> {}
310310 }
311311 }
@@ -315,7 +315,7 @@ class Superstructure(
315315 Request .IntakeRequest .TargetingPosition (IntakeConstants .ANGLES .CLIMB_ANGLE )
316316
317317 when (currentRequest) {
318- is SuperstructureRequest .ExtendClimb -> nextState = SuperstructureStates .PREP_CLIMB
318+ // is SuperstructureRequest.ExtendClimb -> nextState = SuperstructureStates.PREP_CLIMB
319319 else -> {}
320320 }
321321 }
@@ -328,7 +328,7 @@ class Superstructure(
328328 when (currentRequest) {
329329 is SuperstructureRequest .Idle -> nextState = SuperstructureStates .IDLE
330330 is SuperstructureRequest .Intake -> nextState = SuperstructureStates .INTAKE
331- is SuperstructureRequest .ExtendClimb -> nextState = SuperstructureStates .PREP_CLIMB
331+ // is SuperstructureRequest.ExtendClimb -> nextState = SuperstructureStates.PREP_CLIMB
332332 else -> {}
333333 }
334334 }
@@ -378,17 +378,17 @@ class Superstructure(
378378 return returnCommand
379379 }
380380
381- fun requestPrepClimbCommand (): Command {
382- val returnCommand = runOnce { currentRequest = SuperstructureRequest .ExtendClimb () }
383- returnCommand.name = " RequestPrepClimbCommand"
384- return returnCommand
385- }
386-
387- fun requestClimbCommand (): Command {
388- val returnCommand = runOnce { currentRequest = SuperstructureRequest .RetractClimb () }
389- returnCommand.name = " RequestClimbCommand"
390- return returnCommand
391- }
381+ // fun requestPrepClimbCommand(): Command {
382+ // val returnCommand = runOnce { currentRequest = SuperstructureRequest.ExtendClimb() }
383+ // returnCommand.name = "RequestPrepClimbCommand"
384+ // return returnCommand
385+ // }
386+ //
387+ // fun requestClimbCommand(): Command {
388+ // val returnCommand = runOnce { currentRequest = SuperstructureRequest.RetractClimb() }
389+ // returnCommand.name = "RequestClimbCommand"
390+ // return returnCommand
391+ // }
392392
393393 fun requestForceIntakeCommand (wantedAngle : Angle ): Command {
394394 val returnCommand = runOnce {
0 commit comments