From 321f116854645525868374cf66b361c5159626de Mon Sep 17 00:00:00 2001 From: V3ranthium Date: Mon, 29 May 2017 00:29:44 -0400 Subject: [PATCH 1/2] Basic programming for climb systems --- .../testRobot1/subsystems/climbSystems.java | 23 +++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/testRobot1/src/org/usfirst/frc2632/testRobot1/subsystems/climbSystems.java b/testRobot1/src/org/usfirst/frc2632/testRobot1/subsystems/climbSystems.java index 8e5df0b..987d905 100644 --- a/testRobot1/src/org/usfirst/frc2632/testRobot1/subsystems/climbSystems.java +++ b/testRobot1/src/org/usfirst/frc2632/testRobot1/subsystems/climbSystems.java @@ -49,6 +49,29 @@ public void initDefaultCommand() { // Set the default command for a subsystem here. // setDefaultCommand(new MySpecialCommand()); + public void whiskerRelease() { + whiskerRelease.set(.5) + } + public void armsEngage() { + rightArm.set(1) + leftArm.set(1) + } + public void armsDisengage() { + rightArm.set(0) + leftArm.set(0) + } + public void engage() { + climbingMotor.set(0.5); + } + public void climb(){ + climbingMotor.set(1); + } + public void stop(){ + climbingMotor.set(0.5); + } + public void reverse(){ + climbingMotor.set(-0.5) + } } } From d7eacdf476a1f8e70f61977fca6de27e01941cd5 Mon Sep 17 00:00:00 2001 From: V3ranthium Date: Sun, 6 Aug 2017 11:55:25 -0400 Subject: [PATCH 2/2] Update climbSystems.java --- .../frc2632/testRobot1/subsystems/climbSystems.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/testRobot1/src/org/usfirst/frc2632/testRobot1/subsystems/climbSystems.java b/testRobot1/src/org/usfirst/frc2632/testRobot1/subsystems/climbSystems.java index 987d905..b5d6bf0 100644 --- a/testRobot1/src/org/usfirst/frc2632/testRobot1/subsystems/climbSystems.java +++ b/testRobot1/src/org/usfirst/frc2632/testRobot1/subsystems/climbSystems.java @@ -60,16 +60,16 @@ public void armsDisengage() { rightArm.set(0) leftArm.set(0) } - public void engage() { + public void climbEngage() { climbingMotor.set(0.5); } public void climb(){ climbingMotor.set(1); } - public void stop(){ - climbingMotor.set(0.5); + public void climbStop(){ + climbingMotor.set(0); } - public void reverse(){ + public void climbReverse(){ climbingMotor.set(-0.5) } }