From 16c63b58043f3a7814b8b5968e465580347c209e Mon Sep 17 00:00:00 2001 From: Keokigopal <156035015+Keokigopal@users.noreply.github.com> Date: Wed, 24 Jan 2024 16:11:48 -0800 Subject: [PATCH] Update Arm.java --- src/main/java/frc/robot/subsystems/Arm.java | 29 +++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/src/main/java/frc/robot/subsystems/Arm.java b/src/main/java/frc/robot/subsystems/Arm.java index e69de29..ed0fbc5 100644 --- a/src/main/java/frc/robot/subsystems/Arm.java +++ b/src/main/java/frc/robot/subsystems/Arm.java @@ -0,0 +1,29 @@ +package frc.robot.subsystems; + +import edu.wpi.first.wpilibj2.command.SubsystemBase; + +// How to make Subsystem (ignore image instructions, code is out of date, just look at written general instructions): https://compendium.readthedocs.io/en/latest/tasks/subsystems/subsystems.html +// Command based programming: https://docs.wpilib.org/en/stable/docs/software/commandbased/what-is-command-based.html +// Subsystem Documentation documentation: https://docs.wpilib.org/en/stable/docs/software/commandbased/subsystems.html + +/** + * How to make a Subsystem: + * 1. Copy this file, remember that class name has to match + */ + +public class Arm extends SubsystemBase { + /** Constructor. Creates a new ExampleSubsystem. */ + public Arm() { + + } + + /** + * This method is called periodically by the CommandScheduler, about every 20ms. + * It should be used for updating subsystem-specific state that you don't want to offload to a Command. + * Try to avoid "doing to much" in this method (for example no driver control here). + */ + @Override + public void periodic() { + // This method will be called once per scheduler run + } +}