From 98440cbd1653a45620d6de397fdc925ef1805fce Mon Sep 17 00:00:00 2001 From: Natanael Adityasatria Date: Mon, 4 Jan 2016 09:59:11 +0100 Subject: [PATCH] Added source code structure explanation --- marsrover/document/robot.tex | 2 ++ 1 file changed, 2 insertions(+) diff --git a/marsrover/document/robot.tex b/marsrover/document/robot.tex index 7257135..5873485 100644 --- a/marsrover/document/robot.tex +++ b/marsrover/document/robot.tex @@ -191,3 +191,5 @@ wait 250 ms \end{lstlisting} \subsection{Code Structure} +The DSL is able to generate the missions and behaviours's source code. The generated source code contains one java class for mission and one java class for each different behaviours. Moreover, the default source code is categorized by two packages. First package contains a class implementing bluetooth communication protocol between Producer-Consumer (BTController.java), a class to collect the sensor data from Producer (SensorCollector.java), and a class to collect the sensor data from Consumer (RemoteSensors.java). +Second package mainly contains the arbitrator implementation of the MarsRover (Marster.java), LCD Print functionality (LCDPrinter.java), the default actions of the MarsRover (BasicBehaviour.java), the implementation of misssion (Mission.java), and a class to terminate the mission (ShutdownBehaviour.java). \ No newline at end of file -- 2.20.1