From 077a94db8426dc0cdd76891239e081d4a2ee24bf Mon Sep 17 00:00:00 2001 From: veida Date: Thu, 30 Jan 2020 16:25:56 -0600 Subject: [PATCH] i tryed :) --- .../robot/subsystems/UltraSonicSensor.java | 40 +++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 src/main/java/frc/robot/subsystems/UltraSonicSensor.java diff --git a/src/main/java/frc/robot/subsystems/UltraSonicSensor.java b/src/main/java/frc/robot/subsystems/UltraSonicSensor.java new file mode 100644 index 0000000..122c92e --- /dev/null +++ b/src/main/java/frc/robot/subsystems/UltraSonicSensor.java @@ -0,0 +1,40 @@ +/*----------------------------------------------------------------------------*/ +/* Copyright (c) 2019 FIRST. All Rights Reserved. */ +/* Open Source Software - may be modified and shared by FRC teams. The code */ +/* must be accompanied by the FIRST BSD license file in the root directory of */ +/* the project. */ +/*----------------------------------------------------------------------------*/ + +package frc.robot.subsystems; + +import edu.wpi.first.wpilibj2.command.CommandBase; + +public class UltraSonicSensor extends CommandBase { + /** + * Creates a new UltraSonicSensor. + */ + public UltraSonicSensor() { + // Use addRequirements() here to declare subsystem dependencies. + } + + // Called when the command is initially scheduled. + @Override + public void initialize() { + } + + // Called every time the scheduler runs while the command is scheduled. + @Override + public void execute() { + } + + // Called once the command ends or is interrupted. + @Override + public void end(boolean interrupted) { + } + + // Returns true when the command should end. + @Override + public boolean isFinished() { + return false; + } +}