Placement of where a value was set was wrong

This commit is contained in:
2026-03-01 16:36:06 -05:00
parent 80ef3a3431
commit cbcfc9cab0
3 changed files with 12 additions and 12 deletions

View File

@@ -50,9 +50,9 @@ public class Climber extends SubsystemBase {
}
public Command maintainPosition(ClimberPositions position) {
targetPosition = position;
return run(() -> {
targetPosition = position;
controller.setSetpoint(
position.getPositionMeters(),
ControlType.kPosition
@@ -61,9 +61,9 @@ public class Climber extends SubsystemBase {
}
public Command manualSpeed(DoubleSupplier speed) {
targetPosition = null;
return run(() -> {
targetPosition = null;
motor.set(speed.getAsDouble());
});
}