This commit is contained in:
Olivier Dubois 2023-02-22 19:13:36 -05:00
parent b7ea7412d9
commit e573024e4b

View File

@ -21,8 +21,8 @@ import frc.robot.Constants;
public class BrasTelescopique extends SubsystemBase { public class BrasTelescopique extends SubsystemBase {
ShuffleboardTab teb = Shuffleboard.getTab("teb"); ShuffleboardTab teb = Shuffleboard.getTab("teb");
ShuffleboardLayout winch = Shuffleboard.getTab("teb") ShuffleboardLayout layout = Shuffleboard.getTab("teb")
.getLayout("winch", BuiltInLayouts.kList) .getLayout("layout", BuiltInLayouts.kList)
.withSize(2, 2); .withSize(2, 2);
/** Creates a new BrasTelescopique. */ /** Creates a new BrasTelescopique. */
public BrasTelescopique() {} public BrasTelescopique() {}
@ -49,7 +49,7 @@ public class BrasTelescopique extends SubsystemBase {
} }
@Override @Override
public void periodic() { public void periodic() {
teb .add("``photocell``",0.1); teb .add("photocell",0.1);
teb .add("winch",0.1); teb .add("winch",0.1);
} }
} }