Merge branch 'master' of https://git.demerso.net/pls5618/2024/betabot-2024
This commit is contained in:
commit
dfbedc1b46
@ -4,14 +4,19 @@
|
||||
|
||||
package frc.robot.subsystems;
|
||||
|
||||
import edu.wpi.first.wpilibj2.command.SubsystemBase;
|
||||
import java.io.File;
|
||||
|
||||
import edu.wpi.first.wpilibj.Filesystem;
|
||||
import edu.wpi.first.wpilibj2.command.SubsystemBase;
|
||||
public class Drive extends SubsystemBase {
|
||||
File swerveJsonDirectory = new File(Filesystem.getDeployDirectory(),"swerve");
|
||||
|
||||
/** Creates a new Drive. */
|
||||
public Drive() {}
|
||||
|
||||
@Override
|
||||
public void periodic() {
|
||||
// This method will be called once per scheduler run
|
||||
|
||||
}
|
||||
}
|
||||
|
@ -18,6 +18,10 @@ public class Lanceur extends SubsystemBase {
|
||||
public void lancer(double vitesse){
|
||||
lanceur.set(vitesse);
|
||||
}
|
||||
// Encodeur
|
||||
// public double distance(){
|
||||
// return(lanceur.getEncoder().getPosition());
|
||||
// }
|
||||
|
||||
@Override
|
||||
public void periodic() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user