////// Main.java ////// import java.lang.Thread; /** * Public Class Main Version 1.0 * @author Karl Gustav Sterneberg, Romain Barrallon, Victor Contreras */ public class Main { /** * Makes the robot start moving. Stops the robot after certain time. * @param args not used. */ public static void main (String[] args) throws Exception { // Creates a robot. Robot robot = new Robot(); // The time of execution. int xeTime = 1000 * 60 * 3; // Makes the robot go forward. robot.goForward(); // Creats a Thread. When Thread terminated, the program throws an exception and terminates. Thread.sleep(xeTime); } }