gridwarrior wild

6
 Cassiopeian Wars – Grid Warrior Wild Card ROBOTS: 1. T eam have to build an autonomous robot which can follow white line.  2. One minute will be given for seng of robots before the start of the match for calibraon. GAME FIELD: 1. The arena is composed of two parts: - 1. Part 1:- In this area, there will be white stripes and a white patch on black surface having RGB value 0, 0, 0 respecvely. 2. Part 2:- In this area, there will be gridlines of white patches of width 30mm on black surface having RGB value 0, 0, 0 respecvely . 2. The width of all black stripes, white stripes and white patch will be 30mm. There will be a gap of 70mm between two consecuve stripes.  3. See the arena diagrams for the turns. The total width of black path will be 300mm everywhere. 4. The dimension of Part 2 arena will be 1770mm×1770mm and the inner dimension of Black Square surface will be 270mm×270mm. 5. There will be 5x5 gridlines on the Part 2 arena. 6. The Part1 arena contains four sets A, B, C, D having dierent number of stripes a, b, c, and d respecvely.  GAME PLAY : 1. The bot will start from starng zone as shown in the gure. 2. During the main run the bot has to start from starng point in Part 1 and move through the path having black surface to reach grid and in Part 2 arena bot will start from (0,2). The path will contain white stripes in dierent sets.  3. The bot has to count the number of stripes crossed. 4. There will be four sets A, B, C, D containing dierent number of stripes a, b, c, d respecvely as menoned in the gure below. The number a, b, c, d will be revealed before the start of run .  5. The bot has to store the number of stripes on the right and le sides of the white patch for each and every set. 6. The bot has to apply the following equaons at every set   If x>y store r = right moon  If x<y store l = le moon, else s= straight moon. Where x is the number of stripes at right and y is the number of stripes at le of the white patch. 7. Then bot will get some paern say for example (rlsl).  8. The above paern means at set A on comparing the number of stripes on right and le side, set A has more number of stripes on right side than on the le side hence bot will store ‘r’ value and same follows for other three sets.  9. If the set A contains 4 white stripes 3 on the right side and 1 on the le side of the white patch in the order (in the forward direcon of bot) R, L, R, R (R= right, L= le) the bot should have 4 red LEDs which will glow i n the order {on, o, on, on} and LEDs should remain on unl it takes a next turn.  

Upload: girish-chandankar

Post on 02-Jun-2018

223 views

Category:

Documents


0 download

TRANSCRIPT

8/10/2019 Gridwarrior Wild

http://slidepdf.com/reader/full/gridwarrior-wild 1/6

8/10/2019 Gridwarrior Wild

http://slidepdf.com/reader/full/gridwarrior-wild 2/6

8/10/2019 Gridwarrior Wild

http://slidepdf.com/reader/full/gridwarrior-wild 3/6

8/10/2019 Gridwarrior Wild

http://slidepdf.com/reader/full/gridwarrior-wild 4/6

8/10/2019 Gridwarrior Wild

http://slidepdf.com/reader/full/gridwarrior-wild 5/6

8/10/2019 Gridwarrior Wild

http://slidepdf.com/reader/full/gridwarrior-wild 6/6