Added source code structure explanation
authorNatanael Adityasatria <nata.adit@gmail.com>
Mon, 4 Jan 2016 08:59:11 +0000 (09:59 +0100)
committerNatanael Adityasatria <nata.adit@gmail.com>
Mon, 4 Jan 2016 08:59:11 +0000 (09:59 +0100)
marsrover/document/robot.tex

index 7257135..5873485 100644 (file)
@@ -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