'jrhsgohv
This commit is contained in:
parent
3d2364b548
commit
00f9a623ae
@ -3,6 +3,7 @@
|
||||
// the WPILib BSD license file in the root directory of this project.
|
||||
|
||||
package frc.robot;
|
||||
import edu.wpi.first.cameraserver.CameraServer;
|
||||
//import edu.wpi.first.cameraserver.CameraServer;
|
||||
import edu.wpi.first.wpilibj2.command.Command;
|
||||
import edu.wpi.first.wpilibj2.command.Commands;
|
||||
@ -70,7 +71,7 @@ Tape tape = new Tape(limelight, basePilotable, null);
|
||||
|
||||
public RobotContainer() {
|
||||
configureBindings();
|
||||
|
||||
CameraServer.startAutomaticCapture();
|
||||
basePilotable.setDefaultCommand(new RunCommand(() -> {
|
||||
basePilotable.drive(-manette1.getLeftY(), manette1.getLeftX());
|
||||
},basePilotable));
|
||||
|
@ -64,9 +64,5 @@ ShuffleboardLayout limitswitchgratte = Shuffleboard.getTab("teb")
|
||||
}
|
||||
@Override
|
||||
public void periodic(){
|
||||
limitswitchgratte.add ("limitbd", 0.1);
|
||||
limitswitchgratte.add ("limithg", 0.1);
|
||||
limitswitchgratte.add ("limithd", 0.1);
|
||||
limitswitchgratte.add ("limitbg", 0.1);
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user