From: Natanael Adityasatria Date: Mon, 4 Jan 2016 08:59:11 +0000 (+0100) Subject: Added source code structure explanation X-Git-Url: https://git.martlubbers.net/?a=commitdiff_plain;h=98440cbd1653a45620d6de397fdc925ef1805fce;p=des2015.git Added source code structure explanation --- 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