From: Natanael Adityasatria Date: Sun, 8 Nov 2015 09:34:21 +0000 (+0100) Subject: Add explanation X-Git-Url: https://git.martlubbers.net/?a=commitdiff_plain;h=ad3a875ad5169ad0dd39005a7071642524b223fb;p=des2015.git Add explanation --- diff --git a/mart/ev3/ex2/explanation.txt b/mart/ev3/ex2/explanation.txt new file mode 100644 index 0000000..7046ebf --- /dev/null +++ b/mart/ev3/ex2/explanation.txt @@ -0,0 +1,3 @@ +The robots have five behaviours. They are behaviour to avoid high object, behaviour to avoid low object, behaviour to wander, behaviour to stay inside the black line, and behaviour to stop. When the robots find all the colors, they will stop and it means the mission is accomplished. It can happen anytime. That is why behaviour to stop the robot has the highest priority. The second priority is the behaviour to keep the robot in the field. +Furthermore, the bluetooth communication is run in threads where one thread is to send the messages to the another robot and one thread is to receive incoming messages. By using these two threads, the robots should be able to receive and send message at the same time. +In addition, the robots can print the system outputs and system errors with the custom print functionality to the LCD. For example, the system output "socket is 18" which by default printed in LCD when the robot is creating bluetooth connection, can be printed in a good way so the LCD can show all information needed. \ No newline at end of file