bde8aba299ef18f44feb06183157991eaab1b7d1
1 package org
.usfirst
.frc
.team3501
.robot
.commands
.auton
;
3 import edu
.wpi
.first
.wpilibj
.command
.Command
;
8 public class CompactRobot
extends Command
{
10 public CompactRobot() {
11 // Use requires() here to declare subsystem dependencies
12 // eg. requires(chassis);
15 // Called just before this Command runs the first time
17 protected void initialize() {
20 // move defenseArm down
23 // Called repeatedly when this Command is scheduled to run
25 protected void execute() {
28 // Make this return true when this Command no longer needs to run execute()
30 protected boolean isFinished() {
34 // Called once after isFinished returns true
36 protected void end() {
39 // Called when another command which requires one or more of the same
40 // subsystems is scheduled to run
42 protected void interrupted() {