Mission Launch

CSC2700 Final Project



Download as .zip Download as .tar.gz View on GitHub

Project-Description

Project Name: Mission Launch

General Description

The purpose of this project is to design an application that finds and optimizes the most efficient way to launch a space probe to different planets. The project is for educational purposes only and will start off as something primitive and simple. We hope to, later on, add more functionality to simulate real life conditions to give users a general idea of how capable current technology is for space exploration.

Instructions for Compiling and Running

Requirements:

  • This program requires Java 1.7 and up in order to compile and run.

To Compile:

  1. Open command prompt.
  2. Go to the directory source/
  3. Enter the command: javac -d classes -classpath classes/AbsoluteLayout.jar -sourcepath src src/missionlaunch/*.java

To Run:

  1. Go to the directory source/classes/
  2. Enter the command: java -classpath .;AbsoluteLayout.jar missionlaunch.MissionLaunch

How to Use the Program

To use the program:

  1. Set the origin, which is the planet that you're launching from.
  2. Set the destination, the target that you're launching the rocket to.
  3. Specify a launch date.
  4. Set the starting velocity of the rocket. This is the velocity the rocket assumes after leaving the origin.
  5. Click "Launch".

The program will print out the results of the flight in the "Results" box. If at any point in flight, you would like to stop the rocket, click "Stop". Also, the current time of the flight is shown in the upper left corner of the screen.