1 package org
.usfirst
.frc
.team3501
.robot
.commands
.driving
;
3 import org
.usfirst
.frc
.team3501
.robot
.Robot
;
5 import edu
.wpi
.first
.wpilibj
.command
.Command
;
10 public class TurnForAngle
extends Command
{
12 public TurnForAngle() {
13 requires(Robot
.getDriveTrain());
16 // Called just before this Command runs the first time
18 protected void initialize() {
21 // Called repeatedly when this Command is scheduled to run
23 protected void execute() {
26 // Make this return true when this Command no longer needs to run execute()
28 protected boolean isFinished() {
32 // Called once after isFinished returns true
34 protected void end() {
37 // Called when another command which requires one or more of the same
38 // subsystems is scheduled to run
40 protected void interrupted() {