Sumo+Bots

.

Try making the code at this link. http://drgraeme.net/drgraeme-free-nxt-g-tutorials/Ch54/Ch54V1BCG/03BullFighterHelp/BullFighterHelp.htm

Try making and testing the code below. Make programs that do each of the following to help you write a sumo program. Then modify and put these programs together and use them like building blocks to make your complete sumo program.
 * Possible steps to programming Sumo Bots: **

1. Program Robot to stay inside the circle while moving around without leaving the circle for 30 seconds.

2. Program robot to track the line in less than 15 seconds.

3. Program the robot to stay out of the circle, but move around the circle.

4. Program robot to back away from object when closer than 30cm.

5. Program robot to move towards any object that is less than 60 cm away.

6. Write and test the program in the following picture.

1. Write a program to do the first step of the task and test it. 2. Write a program to do the second step of the task and test it. 3. Write a program to do the third step of the task and test it. 4. Write and test programs for all your steps. 5. Put your steps together into one program to complete the task of a sumobot.
 * List what the sumobot will need to do in steps. In other words, divide the task you sumobot will need to do into steps.**

http://drgraeme.net/drgraeme-free-nxt-g-tutorials/Ch46/SUMO-G/DrGraeme-SUMO-Help/SUMO-Help-DrGraemeDotNet.htm


 * Rules:**
 * The Sumo-Bots:** All participating robots, known as sumo-bots, shall be only constructed with unmodified LEGO construction components. They must also be completely autonomous—that is, acting independently of humans.

All sumo-bots must comply with these size limitations at the beginning of a bout, **but can expand beyond these limitations after the bout has begun.** Please note that your sumo-bot(s) will be checked for weight and size specifications before being admitted. You will be given one chance to reduce your sumo-bot’s weight and/or size if it exceeds the 1 kilogram weight limit and/or the width and length limits. Sumo-bots that fail to meet these specifications will not be allowed entry.
 * Weight and Size:** For all participating sumo-bots, the maximum weight allowed is **1 kilogram (2.2 Pounds)**. In addition, there are maximum width and length specifications:
 * **Maximum Width:** 10 inches (32 Lego Studs)·
 * **Maximum Length:** 10 inches (32 Lego Studs)·
 * **Maximum Height:** No Limit


 * Allowed Parts:** The robots for this competition may use any version of the Lego Mindstorms Robotics Invention System (RIS). Only stock Lego-manufactured parts may be used - no part may be altered or modified. The allowed parts are:
 * **CPU**: one (1) RCX or NXT microcontroller (any version).
 * **Sensors**: two (2) touch sensors, one (1) light sensor, plus not more than one other Lego- manufactured sensor of any type.
 * **Motors**: two motors from one RIS kit, plus not more than one other Lego- manufactured motor of any type.
 * **Wires**: unlimited Lego-manufactured wires.
 * **Other components**: unlimited non-electrical Lego-manufactured parts.


 * The Programming:** Contestants may use any firmware for their CPU. Multiple programs on the CPU are allowed. If, during the event, any contestant deems it necessary to change or update his or her program(s), he or she may do so, as long as the contestant’s sumo-bot is not currently participating and is not currently needed on the arena. Contestants may use any programming language on their CPU.

[]

http://drgraeme.net/DrGraeme-free-NXT-G-tutorials/Ch46/SUMO-G/Mentor-notes/Lego-robot-SUMO-challenge-9-JAirey.htm