1 package org
.usfirst
.frc
.team3501
.robot
.commands
.driving
;
3 import org
.usfirst
.frc
.team3501
.robot
.Robot
;
4 import org
.usfirst
.frc
.team3501
.robot
.subsystems
.DriveTrain
;
6 import edu
.wpi
.first
.wpilibj
.command
.Command
;
8 public class ShiftGearManipulatorPistonHigh
extends Command
{
9 private DriveTrain driveTrain
= Robot
.getDriveTrain();
11 public ShiftGearManipulatorPistonHigh() {
15 protected void initialize() {
20 protected void execute() {
21 driveTrain
.extendGearManipulatorPiston();
24 // Make this return true when this Command no longer needs to run execute()
26 protected boolean isFinished() {
30 // Called once after isFinished returns true
32 protected void end() {
35 // Called when another command which requires one or more of the same
36 // subsystems is scheduled to run
38 protected void interrupted() {