mirror of
https://github.com/Team4388/Robot-Essentials.git
synced 2026-06-09 08:48:02 -06:00
Removed unused lines of code
This commit is contained in:
@@ -16,7 +16,6 @@ import frc4388.robot.commands.ExampleCommand;
|
|||||||
import frc4388.robot.subsystems.Drive;
|
import frc4388.robot.subsystems.Drive;
|
||||||
import frc4388.robot.subsystems.ExampleSubsystem;
|
import frc4388.robot.subsystems.ExampleSubsystem;
|
||||||
import frc4388.robot.subsystems.LED;
|
import frc4388.robot.subsystems.LED;
|
||||||
import frc4388.utility.controller.XboxController;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The VM is configured to automatically run this class, and to call the
|
* The VM is configured to automatically run this class, and to call the
|
||||||
|
|||||||
@@ -7,8 +7,6 @@
|
|||||||
|
|
||||||
package frc4388.robot;
|
package frc4388.robot;
|
||||||
|
|
||||||
import frc4388.utility.controller.XboxController;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The RobotMap is a mapping from the ports sensors and actuators are wired into
|
* The RobotMap is a mapping from the ports sensors and actuators are wired into
|
||||||
* to a variable name. This provides flexibility changing wiring, makes checking
|
* to a variable name. This provides flexibility changing wiring, makes checking
|
||||||
|
|||||||
@@ -7,21 +7,13 @@
|
|||||||
|
|
||||||
package frc4388.robot.subsystems;
|
package frc4388.robot.subsystems;
|
||||||
|
|
||||||
import com.ctre.phoenix.motorcontrol.Faults;
|
|
||||||
import com.ctre.phoenix.motorcontrol.InvertType;
|
import com.ctre.phoenix.motorcontrol.InvertType;
|
||||||
import com.ctre.phoenix.motorcontrol.NeutralMode;
|
import com.ctre.phoenix.motorcontrol.NeutralMode;
|
||||||
import com.ctre.phoenix.motorcontrol.can.TalonSRX;
|
|
||||||
import com.ctre.phoenix.motorcontrol.can.WPI_TalonSRX;
|
import com.ctre.phoenix.motorcontrol.can.WPI_TalonSRX;
|
||||||
|
|
||||||
import edu.wpi.first.wpilibj.Talon;
|
|
||||||
import edu.wpi.first.wpilibj.command.Subsystem;
|
import edu.wpi.first.wpilibj.command.Subsystem;
|
||||||
import edu.wpi.first.wpilibj.drive.DifferentialDrive;
|
import edu.wpi.first.wpilibj.drive.DifferentialDrive;
|
||||||
import frc4388.robot.RobotMap;
|
import frc4388.robot.RobotMap;
|
||||||
import frc4388.robot.commands.Drive.DriveWithJoystick;
|
import frc4388.robot.commands.Drive.DriveWithJoystick;
|
||||||
import frc4388.robot.commands.Drive.GamerMove;
|
|
||||||
import frc4388.robot.OI;
|
|
||||||
import frc4388.robot.Robot;
|
|
||||||
import frc4388.utility.controller.XboxController;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Add your docs here.
|
* Add your docs here.
|
||||||
@@ -37,8 +29,6 @@ public class Drive extends Subsystem {
|
|||||||
|
|
||||||
public static DifferentialDrive m_driveTrain = new DifferentialDrive(m_leftFrontMotor, m_rightFrontMotor);
|
public static DifferentialDrive m_driveTrain = new DifferentialDrive(m_leftFrontMotor, m_rightFrontMotor);
|
||||||
|
|
||||||
private static double m_inputMove, m_inputSteer;
|
|
||||||
|
|
||||||
public Drive(){
|
public Drive(){
|
||||||
/* factory default values */
|
/* factory default values */
|
||||||
m_leftFrontMotor.configFactoryDefault();
|
m_leftFrontMotor.configFactoryDefault();
|
||||||
|
|||||||
Reference in New Issue
Block a user