Sumo robot design nxt program code


Sumobots come in various classes, from heavy weight robots weighing as much as an adult to femto-sumo with tiny robots the size of a sugar cube. This page is about the not so ancient sport of Mindstorms robot sumo; how to design, build and program LEGO Mindstorms sumobots, how to program them and how to play the game. A match consists of three games of up to three minutes each.

The first sumobot winning two out of the three games is the winner of the match. What is robot sumo? Sumobot specifications A sumobot must be made entirely out of LEGO parts, with the only exceptions being the flag.

The number of motors and sensors used are only limited by how many the brick support. NXT bricks support 3 motors and EV3 bricks support 4 motors. Both type of bricks support 4 sensors. The robot must fit inside a 10" x 10" square box no height limit when it is in it's starting configuration. The robot must be designed to wait five seconds, after the contestant presses a start button, before it moves.

All actions must be pre-programmed. The use of any form of remote control is prohibited. The robot must not include any part that fixes the robot to the playing field surface. Competition A match consists of three games of up to three minutes each. Beginning of the Game Before the game, the contestants greet each other outside the playing field following the chief referee's instructions, and then enter the playing field.

The contestants can place their robot anywhere behind their starting line. No part of the robot can be in front of the starting line before the match begins. The contestants must exit the playing field during this 5 second period.

Prior to the start of a match, the entire robot must fit inside a square box as defined for the weight class. At any time after the start of the match, the robot can expand outside these dimensions.

The use of any form of remote control is prohibited. The robot must not include any part that fixes the robot to the playing field surface. Competition A match consists of three games of up to three minutes each. Beginning of the Game Before the game, the contestants greet each other outside the playing field following the chief referee's instructions, and then enter the playing field. The contestants can place their robot anywhere behind their starting line.

No part of the robot can be in front of the starting line before the match begins. The contestants must exit the playing field during this 5 second period. Prior to the start of a match, the entire robot must fit inside a square box as defined for the weight class. At any time after the start of the match, the robot can expand outside these dimensions. End of the Game The game ends when the referee calls the winner. Both contestants should thank each other for a fair and competitive match after removing their robots.

A game will be stopped and a rematch will be started under the following conditions: The robots are locked together in such a way that no more action appears to be possible, i. Both robots touch the exterior of the playing field at the same time.

A robot breaks during the game. Any other conditions under which the referee judges that no winner can be decided. In case of a rematch, maintenance of competing robots is prohibited, and the robots must be immediately placed in the designated starting position.

The only exception to this rule is if the cause of the rematch is a robot breaking. If neither of the competing robots win, or lose, after a rematch, the referee may reposition both robots to a specified location and restart.

If that does not yield a winner, the match may continue at any location decided by the referee, until the time limit is reached. All decisions by the referee are final.