Commit | Line | Data |
---|---|---|
9738295a SG |
1 | package org.usfirst.frc.team3501.robot.subsystems; |
2 | ||
3 | public class Climber { | |
4 | private static Climber climber; | |
5 | ||
6 | private Climber() { | |
7 | ||
8 | } | |
9 | ||
10 | public static Climber getClimber() { | |
11 | if (climber == null) { | |
dbf2ff8f | 12 | climber = new Climber(); |
9738295a SG |
13 | } |
14 | return climber; | |
15 | } | |
cf086549 SG |
16 | |
17 | public void stop() { | |
de8c65d3 | 18 | setMotorValue(0); |
cf086549 SG |
19 | } |
20 | ||
de8c65d3 | 21 | public void setMotorValue(final double val) { |
cf086549 SG |
22 | |
23 | } | |
9738295a | 24 | } |