This commit is contained in:
EdwardFaucher 2023-02-20 19:30:17 -05:00
commit aaeec61915
3 changed files with 2 additions and 1 deletions

View File

@ -77,7 +77,6 @@ public RobotContainer() {
manette1.y().whileTrue(gyro);
manette1.b().toggleOnTrue(Commands.startEnd(gratte::baiser, gratte::Lever,gratte));
manette1.start().toggleOnTrue(Commands.startEnd(basePilotable::resetGyro, basePilotable::resetGyro, basePilotable));
}

View File

@ -44,6 +44,7 @@ public class GratteMonte extends CommandBase {
// Returns true when the command should end.
@Override
public boolean isFinished() {
return false;
}
}

View File

@ -17,6 +17,7 @@ public class Gratte extends SubsystemBase {
private DigitalInput limithg = new DigitalInput(Constants.limithg);
private DigitalInput limitbd = new DigitalInput(Constants.limitbd);
private DigitalInput limitbg = new DigitalInput(Constants.limitbg);
public boolean hautd(){
return limithd.get();
}