Merge branch 'main' of https://demerso.net/pls5618/2023/robot
This commit is contained in:
@ -4,6 +4,8 @@
|
||||
|
||||
package frc.robot.commands;
|
||||
|
||||
import com.ctre.phoenix.motorcontrol.LimitSwitchNormal;
|
||||
import frc.robot.Constants;
|
||||
import edu.wpi.first.wpilibj2.command.CommandBase;
|
||||
import frc.robot.subsystems.Gratte;
|
||||
|
||||
@ -24,7 +26,7 @@ public class GratteMonte extends CommandBase {
|
||||
@Override
|
||||
public void execute() {
|
||||
if(gratte.hautd()){
|
||||
gratte.Lever(0);
|
||||
gratte.Lever(0.5);
|
||||
}
|
||||
else{
|
||||
gratte.Lever(0.5);
|
||||
@ -43,8 +45,7 @@ public class GratteMonte extends CommandBase {
|
||||
|
||||
// Returns true when the command should end.
|
||||
@Override
|
||||
public boolean isFinished() {
|
||||
|
||||
public boolean isFinished(){
|
||||
return false;
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user