Skip to content

Commit

Permalink
Example Files
Browse files Browse the repository at this point in the history
added the folders too
  • Loading branch information
BrucePetersProgram committed Nov 22, 2023
1 parent 2f14bfc commit 8256f41
Show file tree
Hide file tree
Showing 2 changed files with 49 additions and 0 deletions.
32 changes: 32 additions & 0 deletions src/main/java/frc/robot/Commands/ExampleCommand.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
// Copyright (c) FIRST and other WPILib contributors.
// Open Source Software; you can modify and/or share it under the terms of
// the WPILib BSD license file in the root directory of this project.

package frc.robot.Commands;

import edu.wpi.first.wpilibj2.command.CommandBase;

public class ExampleCommand extends CommandBase {
/** Creates a new ExampleCommand. */
public ExampleCommand() {
// 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;
}
}
17 changes: 17 additions & 0 deletions src/main/java/frc/robot/Subsystems/IntakeSubsystem.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
// Copyright (c) FIRST and other WPILib contributors.
// Open Source Software; you can modify and/or share it under the terms of
// the WPILib BSD license file in the root directory of this project.

package frc.robot.Subsystems;

import edu.wpi.first.wpilibj2.command.SubsystemBase;

public class IntakeSubsystem extends SubsystemBase {
/** Creates a new IntakeSubsystem. */
public IntakeSubsystem() {}

@Override
public void periodic() {
// This method will be called once per scheduler run
}
}

0 comments on commit 8256f41

Please sign in to comment.