/*----------------------------------------------------------------------------*/
/* 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.ames.frc.robot;
//___
// | |_  o  _     o  _    _|_|_  _    __  _  o __     _  |  _  _  _
// | | | | _>     | _>     |_| |(/_   |||(_| | | |   (_  | (_|_> _>
//The main class is under control of Kolton Yager and Danial Ebling. DO NOT EDIT
import edu.wpi.first.wpilibj.IterativeRobot;
import edu.wpi.first.wpilibj.Watchdog;

/**
 * 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 RobotProject extends IterativeRobot {

    /**
     * This function is run when the robot is first started up and should be
     * used for any initialization code.
     */
    protected static MotorControl MC = new MotorControl();
    protected static InputManager IM = new InputManager();
    protected static ImageProcessor IP = new ImageProcessor();
    protected static FrisbeeSimulator FS = new FrisbeeSimulator();
    protected static Communication Com = new Communication();
    protected static SensorInput SI = new SensorInput();
    protected static RobotMap RM = new RobotMap();
    protected static Watchdog wd;

    public void robotInit() {
        wd = Watchdog.getInstance();
        wd.setExpiration(0.5);
    }

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

    /**
     * This function is called periodically during operator control
     */
    public void teleopPeriodic() {
        while (isOperatorControl() && isEnabled()) {
            wd.feed();
            
        }
    }
    
}

/*----------------------------------------------------------------------------*/
/* 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.ames.frc.robot;
//___
// | |_  o  _     o  _    _|_|_  _    __  _  o __     _  |  _  _  _
// | | | | _>     | _>     |_| |(/_   |||(_| | | |   (_  | (_|_> _>
//The main class is under control of Kolton Yager and Danial Ebling. DO NOT EDIT
import edu.wpi.first.wpilibj.IterativeRobot;
import edu.wpi.first.wpilibj.Watchdog;

/**
 * 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 RobotProject extends IterativeRobot {

    /**
     * This function is run when the robot is first started up and should be
     * used for any initialization code.
     */
    protected static MotorControl MC = new MotorControl();
    protected static InputManager IM = new InputManager();
    protected static ImageProcessor IP = new ImageProcessor();
    protected static FrisbeeSimulator FS = new FrisbeeSimulator();
    protected static Communication Com = new Communication();
    protected static SensorInput SI = new SensorInput();
    protected static RobotMap RM = new RobotMap();
    protected static Watchdog wd;

    public void robotInit() {
        wd = Watchdog.getInstance();
        wd.setExpiration(0.5);
    }

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

    /**
     * This function is called periodically during operator control
     */
    public void teleopPeriodic() {
        while (isOperatorControl() && isEnabled()) {
            wd.feed();
            double[] joystickangleandspeed = IM.getPureAxis();
            double[] drivemotorvalues = MC.convertHeadingToMotorCommands(joystickangleandspeed[0], joystickangleandspeed[1]);
            MC.drive(drivemotorvalues);
        }
    }
    
}

Put in basic code for the robot to move