<commit_before>/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.edinarobotics.zed.subsystems;

import com.edinarobotics.utils.subsystems.Subsystem1816;
import edu.wpi.first.wpilibj.Servo;

public class Climber extends Subsystem1816 {
    private Servo climberServo;
    private double position;
    
    public static final double CLIMBER_UNDEPLOYED = 0;
    public static final double CLIMBER_DEPLOYED = 1;
    
    public Climber(int climberServo){
        this.climberServo = new Servo(climberServo);
        position = 0;
    }
    
    public void setClimberDeployed(boolean deployed){
        setPosition(deployed ? CLIMBER_DEPLOYED : CLIMBER_UNDEPLOYED);
    }
    
    public void setPosition(double position){
        this.position = position;
        update();
    }

    public void update() {
        climberServo.set(position);
    }
}<commit_msg>Removed the unused climberServo usages inside Climber subsystem.<commit_after>/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.edinarobotics.zed.subsystems;

import com.edinarobotics.utils.subsystems.Subsystem1816;
import edu.wpi.first.wpilibj.Servo;

public class Climber extends Subsystem1816 {
    private Servo climberServo;
    private double position;
    
    public static final double CLIMBER_UNDEPLOYED = 0;
    public static final double CLIMBER_DEPLOYED = 1;
    
    public Climber(int climberServo){
        //this.climberServo = new Servo(climberServo);
        position = 0;
    }
    
    public void setClimberDeployed(boolean deployed){
        setPosition(deployed ? CLIMBER_DEPLOYED : CLIMBER_UNDEPLOYED);
    }
    
    public void setPosition(double position){
        this.position = position;
        update();
    }

    public void update() {
        //climberServo.set(position);
    }
}
{'fraction_non_alphanumeric': 0.07829742511823437, 'fraction_numerical': 0.011560693641618497, 'mean_word_length': 3.0770877944325483, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5707042', 'n_tokens_mistral': 633, 'n_tokens_neox': 601, 'n_words': 147}