This commit is contained in:
Olivier Dubois 2023-02-22 19:10:42 -05:00
parent 4b22cac30f
commit 1862402ba0

View File

@ -12,13 +12,18 @@ import edu.wpi.first.wpilibj.DigitalInput;
import edu.wpi.first.wpilibj.DoubleSolenoid;
import edu.wpi.first.wpilibj.PneumaticsModuleType;
import edu.wpi.first.wpilibj.DoubleSolenoid.Value;
import edu.wpi.first.wpilibj.shuffleboard.BuiltInLayouts;
import edu.wpi.first.wpilibj.shuffleboard.Shuffleboard;
import edu.wpi.first.wpilibj.shuffleboard.ShuffleboardLayout;
import edu.wpi.first.wpilibj.shuffleboard.ShuffleboardTab;
import edu.wpi.first.wpilibj2.command.SubsystemBase;
import frc.robot.Constants;
public class BrasTelescopique extends SubsystemBase {
ShuffleboardTab teb = Shuffleboard.getTab("teb");
ShuffleboardLayout winch = Shuffleboard.getTab("teb")
.getLayout("winch", BuiltInLayouts.kList)
.withSize(2, 2);
/** Creates a new BrasTelescopique. */
public BrasTelescopique() {}
final CANSparkMax Winch = new CANSparkMax(Constants.BrasTelescopique,MotorType.kBrushless);
@ -47,6 +52,4 @@ public class BrasTelescopique extends SubsystemBase {
teb .add("``photocell``",0.1);
teb .add("winch",0.1);
}
}