DIMENSION

The width of the alley is 1.50m.

INSTRUCTIONS

  • Robot must be able to stop when it reaches collection station and exposure stations, wait at the station for 8 seconds, and turn around.
  • When the robot is at the station, it should read the Temperature and LDR (light-dependent-resistor) and upload it to Firebase.
  • Each plate must be delivered to one delivery point only.
  • Each robot can only carry a maximum of 6 plates.
  • One exposure area may need more than 6 plates for data sampling, in this case, the robot needs to collect additional plates from the collection point and return to the exposure area.
  • For Competition:
    • Students may use up to two (2) robots.
    • Robots must deliver within the shortest time.
    • You need not go back to X if you still have some plates available.
    • You can change the sequence of the exposure area.
  • The robots must return to its starting location (Home) when it finishes delivering all the requests.
Legends
X : Plates collection point
A, B, C, D: Exposure area

INPUT FORMAT

The input should be read from the URL that will be given on the day of 2D demo. Hint: use urllib2 library in Python.

The format for the text file will be:
<Exposure Area> <Number of plates>

Examples:
A 4 : Expose 4 plates at point A
A 10: Expose 10 plates to point A (requires two journey)

OUTPUT FORMAT

The program should output a text file that logs the robot activity in terms of collection and delivery events. The last event in the log must be ‘Finished, arrived at X’. The format for the output text file should be:
<hh:mm:ss> || <dd-mm-yyyy> || <description>

Examples:
<12:08:00> || <19-02-2014> || Collect Plates at X
<12:11:00> || <19-02-2014> || Expose Plates at A
<12:15:00> || <19-02-2014> || Collect Plates at X
<12:20:00> || <19-02-2014> || Expose Plates at C
<12:25:00> || <19-02-2014> || Collect Plates at X
<12:23:00> || <19-02-2014> || Expose Plates at B
<12:27:00> || <19-02-2014> || Finished, and arrived at X

FIREBASE FORMAT

The firebase data structure is as shown in the image below.
firebase_2d.png

CONFIGURATIONS

Level 1: Basic

level1_configuration.png
Test Scenario 1:

Input: http://people.sutd.edu.sg/~oka_kurniawan/10_009/y2015/2d/tests/level1_1.inp

A 6
C 4
B 2

Path: X -> A -> X -> C -> X -> B -> X
Video: http://www.screencast.com/t/Oml19JkjR

Test Scenario 2:

Input: http://people.sutd.edu.sg/~oka_kurniawan/10_009/y2015/2d/tests/level1_2.inp

A 10
B 3
C 15

Path: X -> A -> X -> A -> X -> B -> X -> C -> X -> C -> X -> C -> X

Test Scenario 3:

Input: http://people.sutd.edu.sg/~oka_kurniawan/10_009/y2015/2d/tests/level1_3.inp

B 8
A 12
C 2

Path: X -> B -> X -> B -> X -> A -> X -> A -> X -> C -> X

Level 2: Intermediate

level2_configuration.png

Test Scenario 1:

Input: http://people.sutd.edu.sg/~oka_kurniawan/10_009/y2015/2d/tests/level2_1.inp

A 2
C 4
B 6

Path: X -> A -> X -> C -> X -> B -> X
Video: http://www.screencast.com/t/GWbPXJ9MKM7

Test Scenario 2:

Input: http://people.sutd.edu.sg/~oka_kurniawan/10_009/y2015/2d/tests/level2_2.inp

B 3
A 10
C 13
D 1

Path: X -> B -> X -> A -> X -> A -> X -> C -> X -> C -> X -> C -> X -> D -> X

Test Scenario 3:

Input: http://people.sutd.edu.sg/~oka_kurniawan/10_009/y2015/2d/tests/level2_3.inp

D 2
B 4
A 8

Path: X -> D -> X -> B -> X -> A -> X -> A -> X

Level 3: Advanced (Competition)

Note: The position of the obstacles may vary and will be placed by the judges on the day of competition.

level3_sampleconfiguration.png

  • For Competition:
    • Students may use up to two (2) robots.
    • Robots must deliver within the shortest time.
    • You need not go back to X if you still have some plates available.
    • You can change the sequence of the exposure area.
    • The robots must return to its starting location (Home) when it finishes delivering all the requests.