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