Moved commands into their own package
This commit is contained in:
parent
3b1efebba8
commit
ca5b340a1a
@ -3,14 +3,14 @@ import edu.wpi.first.wpilibj.Joystick;
|
||||
import edu.wpi.first.wpilibj.buttons.Button;
|
||||
import edu.wpi.first.wpilibj.command.Command;
|
||||
import edu.wpi.first.wpilibj.buttons.JoystickButton;
|
||||
import org.usfirst.frc.team2059.robot.commands.LogEncoder;
|
||||
import org.usfirst.frc.team2059.robot.commands.PIDDrive;
|
||||
import org.usfirst.frc.team2059.robot.commands.MoveArm;
|
||||
import org.usfirst.frc.team2059.robot.commands.SetArmPosition;
|
||||
import org.usfirst.frc.team2059.robot.commands.SetShooterState;
|
||||
import org.usfirst.frc.team2059.robot.commands.SetArmStopState;
|
||||
import org.usfirst.frc.team2059.robot.commands.ShootAtSpeed;
|
||||
import org.usfirst.frc.team2059.robot.commands.SpinRollers;
|
||||
import org.usfirst.frc.team2059.robot.commands.drivetrain.LogEncoder;
|
||||
import org.usfirst.frc.team2059.robot.commands.drivetrain.PIDDrive;
|
||||
import org.usfirst.frc.team2059.robot.commands.shooter.MoveArm;
|
||||
import org.usfirst.frc.team2059.robot.commands.shooter.SetArmPosition;
|
||||
import org.usfirst.frc.team2059.robot.commands.shooter.SetShooterState;
|
||||
import org.usfirst.frc.team2059.robot.commands.shooter.SetArmStopState;
|
||||
import org.usfirst.frc.team2059.robot.commands.shooter.ShootAtSpeed;
|
||||
import org.usfirst.frc.team2059.robot.commands.shooter.SpinRollers;
|
||||
import org.usfirst.frc.team2059.robot.RobotMap;
|
||||
/**
|
||||
* This class is the glue that binds the controls on the physical operator
|
||||
|
@ -1,4 +1,4 @@
|
||||
package org.usfirst.frc.team2059.robot.commands;
|
||||
package org.usfirst.frc.team2059.robot.commands.drivetrain;
|
||||
import org.usfirst.frc.team2059.robot.commands.CommandBase;
|
||||
import org.usfirst.frc.team2059.robot.Robot;
|
||||
/**
|
@ -1,4 +1,4 @@
|
||||
package org.usfirst.frc.team2059.robot.commands;
|
||||
package org.usfirst.frc.team2059.robot.commands.drivetrain;
|
||||
import org.usfirst.frc.team2059.robot.commands.CommandBase;
|
||||
import org.usfirst.frc.team2059.robot.structs.EncoderValues;
|
||||
public class LogEncoder extends CommandBase {
|
@ -1,4 +1,4 @@
|
||||
package org.usfirst.frc.team2059.robot.commands;
|
||||
package org.usfirst.frc.team2059.robot.commands.drivetrain;
|
||||
import org.usfirst.frc.team2059.robot.commands.CommandBase;
|
||||
import org.usfirst.frc.team2059.robot.Robot;
|
||||
/**
|
@ -1,4 +1,4 @@
|
||||
package org.usfirst.frc.team2059.robot.commands;
|
||||
package org.usfirst.frc.team2059.robot.commands.drivetrain;
|
||||
import org.usfirst.frc.team2059.robot.commands.CommandBase;
|
||||
public class ResetEncoder extends CommandBase {
|
||||
public ResetEncoder() {
|
@ -1,4 +1,4 @@
|
||||
package org.usfirst.frc.team2059.robot.commands;
|
||||
package org.usfirst.frc.team2059.robot.commands.shooter;
|
||||
import org.usfirst.frc.team2059.robot.commands.CommandBase;
|
||||
import org.usfirst.frc.team2059.robot.Robot;
|
||||
/**
|
@ -1,4 +1,4 @@
|
||||
package org.usfirst.frc.team2059.robot.commands;
|
||||
package org.usfirst.frc.team2059.robot.commands.shooter;
|
||||
import org.usfirst.frc.team2059.robot.commands.CommandBase;
|
||||
import org.usfirst.frc.team2059.robot.Robot;
|
||||
import org.usfirst.frc.team2059.robot.RobotMap;
|
@ -1,4 +1,4 @@
|
||||
package org.usfirst.frc.team2059.robot.commands;
|
||||
package org.usfirst.frc.team2059.robot.commands.shooter;
|
||||
import org.usfirst.frc.team2059.robot.commands.CommandBase;
|
||||
import org.usfirst.frc.team2059.robot.Robot;
|
||||
/**
|
@ -1,4 +1,4 @@
|
||||
package org.usfirst.frc.team2059.robot.commands;
|
||||
package org.usfirst.frc.team2059.robot.commands.shooter;
|
||||
import org.usfirst.frc.team2059.robot.commands.CommandBase;
|
||||
import org.usfirst.frc.team2059.robot.Robot;
|
||||
/**
|
@ -1,4 +1,4 @@
|
||||
package org.usfirst.frc.team2059.robot.commands;
|
||||
package org.usfirst.frc.team2059.robot.commands.shooter;
|
||||
import org.usfirst.frc.team2059.robot.commands.CommandBase;
|
||||
import org.usfirst.frc.team2059.robot.Robot;
|
||||
import org.usfirst.frc.team2059.robot.RobotMap;
|
@ -1,4 +1,4 @@
|
||||
package org.usfirst.frc.team2059.robot.commands;
|
||||
package org.usfirst.frc.team2059.robot.commands.shooter;
|
||||
import edu.wpi.first.wpilibj.smartdashboard.SmartDashboard;
|
||||
import org.usfirst.frc.team2059.robot.commands.CommandBase;
|
||||
import org.usfirst.frc.team2059.robot.Robot;
|
@ -1,6 +1,6 @@
|
||||
package org.usfirst.frc.team2059.robot.subsystems;
|
||||
import org.usfirst.frc.team2059.robot.RobotMap;
|
||||
import org.usfirst.frc.team2059.robot.commands.Drive;
|
||||
import org.usfirst.frc.team2059.robot.commands.drivetrain.Drive;
|
||||
import edu.wpi.first.wpilibj.command.Subsystem;
|
||||
import edu.wpi.first.wpilibj.PIDController;
|
||||
import edu.wpi.first.wpilibj.PIDOutput;
|
||||
|
@ -1,6 +1,6 @@
|
||||
package org.usfirst.frc.team2059.robot.subsystems;
|
||||
import org.usfirst.frc.team2059.robot.RobotMap;
|
||||
import org.usfirst.frc.team2059.robot.commands.Drive;
|
||||
import org.usfirst.frc.team2059.robot.commands.drivetrain.Drive;
|
||||
import edu.wpi.first.wpilibj.command.Subsystem;
|
||||
import edu.wpi.first.wpilibj.Encoder;
|
||||
import org.usfirst.frc.team2059.robot.structs.EncoderValues;
|
||||
|
@ -1,6 +1,6 @@
|
||||
package org.usfirst.frc.team2059.robot.subsystems;
|
||||
import org.usfirst.frc.team2059.robot.RobotMap;
|
||||
import org.usfirst.frc.team2059.robot.commands.Drive;
|
||||
import org.usfirst.frc.team2059.robot.commands.drivetrain.Drive;
|
||||
import edu.wpi.first.wpilibj.command.PIDSubsystem;
|
||||
import edu.wpi.first.wpilibj.CANTalon;
|
||||
import edu.wpi.first.wpilibj.AnalogInput;
|
||||
|
@ -1,6 +1,6 @@
|
||||
package org.usfirst.frc.team2059.robot.subsystems;
|
||||
import org.usfirst.frc.team2059.robot.RobotMap;
|
||||
import org.usfirst.frc.team2059.robot.commands.Drive;
|
||||
import org.usfirst.frc.team2059.robot.commands.drivetrain.Drive;
|
||||
import edu.wpi.first.wpilibj.command.Subsystem;
|
||||
import edu.wpi.first.wpilibj.Compressor;
|
||||
import edu.wpi.first.wpilibj.DoubleSolenoid;
|
||||
|
Loading…
x
Reference in New Issue
Block a user