fdgsrytyu
This commit is contained in:
@ -6,8 +6,20 @@ package frc.robot;
|
||||
|
||||
import edu.wpi.first.wpilibj2.command.Command;
|
||||
import edu.wpi.first.wpilibj2.command.Commands;
|
||||
import frc.robot.subsystems.BasePilotable;
|
||||
import frc.robot.subsystems.Gratte;
|
||||
import frc.robot.subsystems.Limelight;
|
||||
import frc.robot.subsystems.bras.BrasTelescopique;
|
||||
import frc.robot.subsystems.bras.Pince;
|
||||
import frc.robot.subsystems.bras.Pivot;
|
||||
|
||||
public class RobotContainer {
|
||||
BasePilotable basePilotable = new BasePilotable();
|
||||
Gratte gratte = new Gratte();
|
||||
BrasTelescopique brasTelescopique = new BrasTelescopique();
|
||||
Pince pince = new Pince();
|
||||
Pivot pivot = new Pivot();
|
||||
Limelight limelight = new Limelight();
|
||||
public RobotContainer() {
|
||||
configureBindings();
|
||||
}
|
||||
|
@ -22,7 +22,7 @@ import frc.robot.Constants;
|
||||
|
||||
public class Gratte extends SubsystemBase {
|
||||
ShuffleboardTab teb = Shuffleboard.getTab("teb");
|
||||
ShuffleboardLayout layout = Shuffleboard.getTab("teb")
|
||||
ShuffleboardLayout limitswitchgratte = Shuffleboard.getTab("teb")
|
||||
.getLayout("limitswitchsgratte", BuiltInLayouts.kList)
|
||||
.withSize(2, 2);
|
||||
private WPI_TalonSRX Gratted = new WPI_TalonSRX(Constants.leverGratte);
|
||||
|
@ -18,8 +18,8 @@ import frc.robot.Constants;
|
||||
public class BrasTelescopique extends SubsystemBase {
|
||||
|
||||
ShuffleboardTab teb = Shuffleboard.getTab("teb");
|
||||
ShuffleboardLayout layout = Shuffleboard.getTab("teb")
|
||||
.getLayout("yeet", BuiltInLayouts.kList)
|
||||
ShuffleboardLayout bras = Shuffleboard.getTab("teb")
|
||||
.getLayout("bras", BuiltInLayouts.kList)
|
||||
.withSize(2, 2);
|
||||
/** Creates a new BrasTelescopique. */
|
||||
public BrasTelescopique() {}
|
||||
@ -36,6 +36,6 @@ ShuffleboardLayout layout = Shuffleboard.getTab("teb")
|
||||
|
||||
@Override
|
||||
public void periodic() {
|
||||
yeet.add ("encodeur",0.1);
|
||||
bras.add ("encodeur",0.1);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user