This project simulates a weather system that broadcasts weather information and alerts sailors of critical/dangerous conditions. It was created for the McMaster Engineering Competition (Programming Division) 2016, where it received third place out of 20 participating teams.
This program runs in discrete time steps. Whenever the uesr presses Start
, the program simulates 1 time step.
- The source code is located in MEC-Team1-Code/Competition/src/competition
- A Makefile is located in MEC-Team1-Code/Competition/src
- The presentation used in the competition is located in the root directory.
- A design document is available in the root directory.
- JavaDocs are available in MEC-Team1-Code/Competition/doc.
- Test cases are available in SystemTest.java, found in the root directory.
The source code can be compiled using the provided Makefile.
Type make
to compile the source code. To run the source code, type ./run.sh
in the terminal, or double click on the Main.jar file.
To clean up the repository, you can use the make clean
command. The make clean
command will delete all of the generated .class files, the Manifest file, as well as the .jar file.
- To simulate a SINGLE time step, press
Start
. - To enter test values for sensors, press
Test
. - Enter test values in the provided fields.
- Press
Test
to run a time step with your specified values.