From 2eb0bf806a76635812cfdac0926a603e7336cfda Mon Sep 17 00:00:00 2001 From: aarav18 Date: Sat, 18 Jan 2020 08:29:34 -0800 Subject: [PATCH] Created Elevator Subsystem Initialized motors --- .../frc4388/robot/subsystems/Elevator.java | 30 +++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 src/main/java/frc4388/robot/subsystems/Elevator.java diff --git a/src/main/java/frc4388/robot/subsystems/Elevator.java b/src/main/java/frc4388/robot/subsystems/Elevator.java new file mode 100644 index 0000000..19712e8 --- /dev/null +++ b/src/main/java/frc4388/robot/subsystems/Elevator.java @@ -0,0 +1,30 @@ +/*----------------------------------------------------------------------------*/ +/* 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 frc4388.robot.subsystems; + +import com.ctre.phoenix.motorcontrol.can.WPI_TalonSRX; + +import edu.wpi.first.wpilibj2.command.SubsystemBase; + +public class Elevator extends SubsystemBase { + + public WPI_TalonSRX m_talon1; + public WPI_TalonSRX m_talon2; + + /** + * Creates a new Elevator. + */ + public Elevator() { + + } + + @Override + public void periodic() { + // This method will be called once per scheduler run + } +}