<commit_before>package org.frc4931.robot;

import org.frc4931.robot.command.*;
import org.frc4931.robot.subsystems.DriveTrain;
import org.frc4931.zach.drive.Motor;

import edu.wpi.first.wpilibj.IterativeRobot;
import edu.wpi.first.wpilibj.command.Scheduler;

public class CompetitionRobot extends IterativeRobot{
	public int driveMode = 0;
	public void robotInit(){
		Subsystems.robot = this;
		Subsystems.driveTrain = new DriveTrain(new Motor(1, "Jaguar Speed Controller"), new Motor(2, "Jaguar Speed Controller"));
		OperatorInterface.init();
	}
	public void teleopPeriodic(){
		switch(driveMode){
		case 0:
			Scheduler.getInstance().add(new ArcadeDriveWithJoystick());
			break;
		case 1:
			Scheduler.getInstance().add(new ModifiedDriveWithJoystick());<commit_msg>Modified CompetitionRobot to work with 4 motor drive train.<commit_after>package org.frc4931.robot;

import org.frc4931.robot.command.*;
import org.frc4931.robot.subsystems.DriveTrain;
import org.frc4931.zach.drive.Motor;

import edu.wpi.first.wpilibj.IterativeRobot;
import edu.wpi.first.wpilibj.command.Scheduler;

public class CompetitionRobot extends IterativeRobot{
	public static final int LEFT_FRONT_PORT = 1;
	public static final int RIGHT_FRONT_PORT = 3;
	public static final int LEFT_REAR_PORT = 2;
	public static final int RIGHT_REAR_PORT = 4;
	
	public int driveMode = 0;
	public void robotInit(){
		Subsystems.robot = this;
		Subsystems.driveTrain = new DriveTrain(new Motor(LEFT_FRONT_PORT, "Talon Speed Controller"), new Motor(LEFT_REAR_PORT, "Talon Speed Controller"), new Motor(RIGHT_FRONT_PORT, "Talon Speed Controller"), new Motor(RIGHT_REAR_PORT, "Talon Speed Controller"));
		OperatorInterface.init();
	}
	public void teleopPeriodic(){
		switch(driveMode){
		case 0:
			Scheduler.getInstance().add(new ArcadeDriveWithJoystick());
			break;
		case 1:
			Scheduler.getInstance().add(new ModifiedDriveWithJoystick());
{'fraction_non_alphanumeric': 0.1055672268907563, 'fraction_numerical': 0.023634453781512604, 'mean_word_length': 5.803571428571429, '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': '978994', 'n_tokens_mistral': 713, 'n_tokens_neox': 622, 'n_words': 145}