From 0b97b0e44df7d91fac2ca2a609c28871bbb06d92 Mon Sep 17 00:00:00 2001 From: Michael Mikovsky <77305074+Astatin3@users.noreply.github.com> Date: Thu, 5 Dec 2024 17:14:38 -0700 Subject: [PATCH] created intake class optionaL --- .../java/frc4388/robot/RobotContainer.java | 2 ++ .../java/frc4388/robot/subsystems/Intake.java | 26 +++++++++++++++++++ 2 files changed, 28 insertions(+) create mode 100644 src/main/java/frc4388/robot/subsystems/Intake.java diff --git a/src/main/java/frc4388/robot/RobotContainer.java b/src/main/java/frc4388/robot/RobotContainer.java index efa61b7..7571dac 100644 --- a/src/main/java/frc4388/robot/RobotContainer.java +++ b/src/main/java/frc4388/robot/RobotContainer.java @@ -98,6 +98,8 @@ public class RobotContainer { .withName("SwerveDrive DefaultCommand")); m_robotSwerveDrive.setToSlow(); + + // ! Swerve Drive One Module Test // m_robotSwerveDrive.setDefaultCommand(new RunCommand(() -> { // m_robotMap.rightFront.go(getDeadbandedDriverController().getLeft()); diff --git a/src/main/java/frc4388/robot/subsystems/Intake.java b/src/main/java/frc4388/robot/subsystems/Intake.java new file mode 100644 index 0000000..9778c05 --- /dev/null +++ b/src/main/java/frc4388/robot/subsystems/Intake.java @@ -0,0 +1,26 @@ +// 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 frc4388.robot.subsystems; + +import com.ctre.phoenix6.hardware.TalonFX; + +import edu.wpi.first.wpilibj2.command.SubsystemBase; + + +public class Intake extends SubsystemBase { + + private TalonFX + /** Creates a new Intake. */ + public Intake() {} + + + + + + @Override + public void periodic() { + // This method will be called once per scheduler run + } +}