1 package org
.usfirst
.frc3501
.RiceCatRobot
.commands
;
3 import edu
.wpi
.first
.wpilibj
.command
.Command
;
5 import org
.usfirst
.frc3501
.RiceCatRobot
.Robot
;
8 * Opens claw by reversing solenoids.
11 public class OpenClaw
extends Command
{
17 protected void initialize() {
18 System
.out
.println("IN INIT OPENCLAW");
21 protected void execute() {
22 Robot
.claw
.openClaw();
23 System
.out
.println("Opening Claw");
26 protected boolean isFinished() {
27 System
.out
.println("Claw Opened");
28 return Robot
.claw
.isOpen();
31 protected void end() {
35 protected void interrupted() {