<commit_before>
package org.usfirst.frc3528.UpNext2014Robot;
    
import edu.wpi.first.wpilibj.*;
import edu.wpi.first.wpilibj.can.CANTimeoutException;
import edu.wpi.first.wpilibj.livewindow.LiveWindow;




public class RobotMap {

    
    //public static CANJaguar mecanumDriveCANJaguar1;
    //public static CANJaguar mecanumDriveCANJaguar2;
    //public static CANJaguar mecanumDriveCANJaguar3;
    //public static CANJaguar mecanumDriveCANJaguar4;
    
    public static SpeedController frontLeftMotor;
    public static SpeedController backLeftMotor;
    public static SpeedController frontRightMotor;
    public static SpeedController backRightMotor;
    
    public static RobotDrive mecanumDriveRobotDrive;
    public static Gyro mecanumDriveGyro1;
    
    public static Compressor Compressor;
    public static Solenoid catapultSolenoid1;
    public static Solenoid catapultSolenoid2;
    public static Solenoid catapultSolenoid3;
    public static Solenoid catapultSolenoid4;
    public static Solenoid catapultSolenoid5;
    public static Solenoid catapultSolenoid6;
    public static Relay pickerUpperSpike1;
    public static SpeedController pickerUpperTalon;
    public static DigitalInput pickerUpperUpperLimit;
    public static DigitalInput pickerUpperLowerLimit;

    
   
    public static final double SENSITIVITY = .5;
    
    
    public static void init() {

        
        
        
        try { 
            System.out.println("In Try block section.");
            frontLeftMotor = new CANJaguar(2);
            backLeftMotor = new CANJaguar(3);
            frontRightMotor = new CANJaguar(4);
            backRightMotor = new CANJaguar(5);
        } catch (CANTimeoutException ex) {
            System.out.println("In Catch block section.");
            ex.printStackTrace();
        }
	
        /*
        try { 
            mecanumDriveCANJaguar2 = new CANJaguar(3);
        } catch (CANTimeoutException ex) {
            ex.printStackTrace();
        }
	
        
        try { 
            mecanumDriveCANJaguar3 = new CANJaguar(4);
        } catch (CANTimeoutException ex) {
            ex.printStackTrace();
        }
	
        
        try { 
            mecanumDriveCANJaguar4 = new CANJaguar(5);
        } catch (CANTimeoutException ex) {
            ex.printStackTrace();
        }
	*/
        
        frontLeftMotor = new Jaguar(3);
        backLeftMotor = new Jaguar(4);
        frontRightMotor = new Jaguar(5);
        backRightMotor = new Jaguar(6);
        
        mecanumDriveRobotDrive = new RobotDrive(frontLeftMotor, backLeftMotor,
              frontRightMotor, backRightMotor);
	
        mecanumDriveRobotDrive.setSafetyEnabled(true);
 
        
        /*XXX: This stuff can be problematic. And We don't even have a gyro connected.
        mecanumDriveRobotDrive41.setExpiration(0.1);
        mecanumDriveRobotDrive41.setSensitivity(0.5);
        mecanumDriveRobotDrive41.setMaxOutput(1.0);
        mecanumDriveGyro1 = new Gyro(1, 1);
	LiveWindow.addSensor("MecanumDrive", "Gyro 1", mecanumDriveGyro1);
        mecanumDriveGyro1.setSensitivity(0.007);
        */
        
        
        Compressor = new Compressor(1, 1);
	
        <commit_msg>set CAN for Jaguars <commit_after>
package org.usfirst.frc3528.UpNext2014Robot;
    
import edu.wpi.first.wpilibj.*;
import edu.wpi.first.wpilibj.can.CANTimeoutException;
import edu.wpi.first.wpilibj.livewindow.LiveWindow;




public class RobotMap {

    
    //public static CANJaguar mecanumDriveCANJaguar1;
    //public static CANJaguar mecanumDriveCANJaguar2;
    //public static CANJaguar mecanumDriveCANJaguar3;
    //public static CANJaguar mecanumDriveCANJaguar4;
    
    public static CANJaguar frontLeftMotor;
    public static CANJaguar backLeftMotor;
    public static CANJaguar frontRightMotor;
    public static CANJaguar backRightMotor;
    
    public static RobotDrive mecanumDriveRobotDrive;
    public static Gyro mecanumDriveGyro1;
    
    public static Compressor Compressor;
    public static Solenoid catapultSolenoid1;
    public static Solenoid catapultSolenoid2;
    public static Solenoid catapultSolenoid3;
    public static Solenoid catapultSolenoid4;
    public static Solenoid catapultSolenoid5;
    public static Solenoid catapultSolenoid6;
    public static Relay pickerUpperSpike1;
    public static SpeedController pickerUpperTalon;
    public static DigitalInput pickerUpperUpperLimit;
    public static DigitalInput pickerUpperLowerLimit;

    
   
    public static final double SENSITIVITY = .5;
    
    
    public static void init() {

        
        
        
        try { 
            System.out.println("In Try block section.");
            frontLeftMotor = new CANJaguar(2);
            backLeftMotor = new CANJaguar(3);
            frontRightMotor = new CANJaguar(4);
            backRightMotor = new CANJaguar(5);
        } catch (CANTimeoutException ex) {
            System.out.println("In Catch block section.");
            ex.printStackTrace();
        }
	
        /*
        try { 
            mecanumDriveCANJaguar2 = new CANJaguar(3);
        } catch (CANTimeoutException ex) {
            ex.printStackTrace();
        }
	
        
        try { 
            mecanumDriveCANJaguar3 = new CANJaguar(4);
        } catch (CANTimeoutException ex) {
            ex.printStackTrace();
        }
	
        
        try { 
            mecanumDriveCANJaguar4 = new CANJaguar(5);
        } catch (CANTimeoutException ex) {
            ex.printStackTrace();
        }
	*/
        
        //frontLeftMotor = new Jaguar(3);
        //backLeftMotor = new Jaguar(4);
        //frontRightMotor = new Jaguar(5);
        //backRightMotor = new Jaguar(6);
        
        mecanumDriveRobotDrive = new RobotDrive(frontLeftMotor, backLeftMotor,
              frontRightMotor, backRightMotor);
	
        mecanumDriveRobotDrive.setSafetyEnabled(true);
 
        
        /*XXX: This stuff can be problematic. And We don't even have a gyro connected.
        mecanumDriveRobotDrive41.setExpiration(0.1);
        mecanumDriveRobotDrive41.setSensitivity(0.5);
        mecanumDriveRobotDrive41.setMaxOutput(1.0);
        mecanumDriveGyro1 = new Gyro(1, 1);
	LiveWindow.addSensor("MecanumDrive", "Gyro 1", mecanumDriveGyro1);
        mecanumDriveGyro1.setSensitivity(0.007);
        */
        
        
        Compressor = new Compressor(1, 1);
	
        
{'fraction_non_alphanumeric': 0.07128341410035954, 'fraction_numerical': 0.018446146631233392, 'mean_word_length': 2.390567037625861, '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': '4735762', 'n_tokens_mistral': 2128, 'n_tokens_neox': 1948, 'n_words': 412}