@@ -0,0 +1,825 @@
+package org.pihisamurai;%0A%0A//Missing imports%0A%0Apublic class Robot extends SimpleRobot %7B%0A%09// Common Code%0A%09public Drivetrain drivetrain = new Drivetrain(this);%0A%09public Manipulator manipulator = new Manipulator(this);%0A%0A%09// Modes%0A%09public Teleoperated teleoperated = new Teleoperated(this);%0A%09public Test test = new Test(this);%0A%09public Autonomous autonomous = new Autonomous(this);%0A%0A%09public Gamepad gamepad = new Gamepad(1);%0A%0A%09public void autonomous() %7B%0A%09%09System.out.println(%22Autonomous Mode%22);%0A%09%09autonomous.run();%0A%09%7D%0A%0A%09public void operatorControl() %7B%0A%09%09System.out.println(%22Teleoperated Mode%22);%0A%09%09teleoperated.run();%0A%09%7D%0A%0A%09public void test() %7B%0A%09%09System.out.println(%22Test Mode%22);%0A%09%09test.run();%0A%09%7D%0A%0A%09public void sleep(long milis) %7B%0A%09%09try %7B%0A%09%09%09Thread.sleep(milis);%0A%09%09%7D catch (InterruptedException ex) %7B%0A%09%09%09ex.printStackTrace();%0A%09%09%7D%0A%09%7D%0A%7D%0A

Create Robot.java