1 package org
.usfirst
.frc
.team3501
.robot
.subsystems
;
3 import edu
.wpi
.first
.wpilibj
.AnalogPotentiometer
;
4 import edu
.wpi
.first
.wpilibj
.command
.Subsystem
;
6 public class DefenseArm
extends Subsystem
{
7 // Defense arm related objects
8 private AnalogPotentiometer potentiometer
;
9 // Defense arm specific constants that relate to the degrees per pulse value
10 // for the potentiometers
11 private final static double PULSES_PER_ROTATION
= 0; // in pulses
12 private final static double FULL_RANGE
= 270.0; // in degrees
13 private final static double OFFSET
= -135.0; // in degrees
16 protected void initDefaultCommand() {