private static double _targetFromDistance(Distance distance) {
        if(distance == Distance.NEAR) {
            return StringPot.VAL_NEAR;
        } else if(distance == Distance.CENTER) {
            return StringPot.VAL_CENTER;
        } else if(distance == Distance.OPPONENT_AUTO) {
            return StringPot.VAL_OPPAUTO;
        } else if(distance == Distance.FEEDER) {
            return StringPot.VAL_FEEDER;
        }
        return -1;
    }