src/main/java/frc/robot/commands/ClimberCommands/ClimbWithJoystick.java
@Override
    public void execute() {
        //System.out.println("left Y: " + xBoxController1.getLeftY() + " right Y: " + xBoxController1.getRightY());
        if(Math.abs(xBoxController1.getLeftY()) < deadband){
            m_climber.climberLeftSetPower(0);
        }
        else if(Math.abs(xBoxController1.getLeftY()) > deadband){
            m_climber.climberLeftSetPower(xBoxController1.getLeftY()*1.0);
        }
        
        if(Math.abs(xBoxController1.getRightY()) < deadband){
            m_climber.climberRightSetPower(0);
        }
        else if(Math.abs(xBoxController1.getRightY()) > deadband){
            m_climber.climberRightSetPower(xBoxController1.getRightY()*1.0);
        }

    }
// Called every time the scheduler runs while the command is scheduled.
Called every time the scheduler runs while the command is scheduled.
Called every time the scheduler runs while the command is scheduled .
@Override
    public void execute() {
        if(Math.abs(xBoxController1.getLeftY()) < deadband){
            m_climber.climberLeftSetPower(0);
        }
        else if(Math.abs(xBoxController1.getLeftY()) > deadband){
            m_climber.climberLeftSetPower(xBoxController1.getLeftY()*1.0);
        }
        if(Math.abs(xBoxController1.getRightY()) < deadband){
            m_climber.climberRightSetPower(0);
        }
        else if(Math.abs(xBoxController1.getRightY()) > deadband){
            m_climber.climberRightSetPower(xBoxController1.getRightY()*1.0);
        }
    }
@ Override public void execute ( ) { if ( Math . abs ( xBoxController1 . getLeftY ( ) ) < deadband ) { m_climber . climberLeftSetPower ( 0 ) ; } else if ( Math . abs ( xBoxController1 . getLeftY ( ) ) > deadband ) { m_climber . climberLeftSetPower ( xBoxController1 . getLeftY ( ) * 1.0 ) ; } if ( Math . abs ( xBoxController1 . getRightY ( ) ) < deadband ) { m_climber . climberRightSetPower ( 0 ) ; } else if ( Math . abs ( xBoxController1 . getRightY ( ) ) > deadband ) { m_climber . climberRightSetPower ( xBoxController1 . getRightY ( ) * 1.0 ) ; } }
Called every time the scheduler runs while the command is scheduled.
Called every time the scheduler runs while the command is scheduled .
//System.out.println("left Y: " + xBoxController1.getLeftY() + " right Y: " + xBoxController1.getRightY());