/*----------------------------------------------------------------------------*/
/* Copyright (c) FIRST 2008. All Rights Reserved.                             */
/* Open Source Software - may be modified and shared by FRC teams. The code   */
/* must be accompanied by the FIRST BSD license file in the root directory of */
/* the project.                                                               */
/*----------------------------------------------------------------------------*/

package edu.wpi.first.wpilibj.templates;


import edu.wpi.first.wpilibj.IterativeRobot;

/**
 * The VM is configured to automatically run this class, and to call the
 * functions corresponding to each mode, as described in the IterativeRobot
 * documentation. If you change the name of this class or the package after
 * creating this project, you must also update the manifest file in the resource
 * directory.
 */
public class LoganRover extends IterativeRobot {
    /**
     * This function is run when the robot is first started up and should be
     * used for any initialization code.
     */
    public void robotInit() {

    }

    /**
     * This function is called periodically during autonomous
     */
    public void autonomousPeriodic() {

    }

    /**
     * This function is called periodically during operator control
     */
    public void teleopPeriodic() {
        
    }
    
}

@@ -567,16 +567,96 @@
 veRobot;
+%0Aimport edu.wpi.first.wpilibj.Joystick;%0Aimport edu.wpi.first.wpilibj.RobotDrive;
 %0A%0A/**%0A *
@@ -1026,16 +1026,86 @@
 Robot %7B%0A
+    private RobotDrive drivetrain;%0A    private Joystick joystickOne;%0A%0A
     /**%0A
@@ -1256,24 +1256,182 @@
 botInit() %7B%0A
+        joystickOne = new Joystick(1);%0A%0A        drivetrain = new RobotDrive(3, 1);%0A        drivetrain.setInvertedMotor(RobotDrive.MotorType.kFrontLeft, true);
 %0A    %7D%0A%0A    
@@ -1543,16 +1543,53 @@
 dic() %7B%0A
+        drivetrain.arcadeDrive(0, 0);
 %0A    %7D%0A%0A
@@ -1715,16 +1715,52 @@
         
+drivetrain.arcadeDrive(joystickOne);
 %0A    %7D%0A 

Add basic drivetrain support