Skip to main content

Semi-Autonomous Battle Robots

For the final project in the Advanced Robotics Club that I teach at our local middle school, I made up a challenge called SARB: Semi-Autonomous Robot Battle, which is an extension of Sumo-like challenges. Although we used RCX kits (because we have a bunch), it could just as easily be done with the NXT, so I will explain it here and reference several NXT projects on nxtprograms.com that you could use to get started with a challenge like this using the NXT.

For the fighting ring, (er, ahem, "Playing Surface"), I used our FLL table, turned the mat upside down, and then used electrical tape to mark out an elongated octagon-shaped ring. Like Sumo, one of the goals is to push the other robot outside of the ring. However, the SARB robots can also have some kind of striking (motorized) weapon and get points for successful strikes on the other robot. Like a Karate match, only a "controlled strike" will count as a point. Random spinning/flailing weapons that happen to make contact with the other robot do not count. The strike must be triggered by a sensor that had a reason to hope it might hit the other robot. We did the scoring like this:
  • 1 point for a controlled strike that makes contact with the other robot
  • 2 points for a controlled strike that does damage to the other robot (damage is much more likely with the typically studded building of the RCX kit)
  • 3 points if the other robot goes completely outside the ring (due to your push or accidentially on its own)
Then to make it even more complicated (this was the Advanced Robotics Club, after all), each robot was required to be operated in two different modes: fully autonomous (no remote control), and semi-autonomous, with a single touch sensor on a long wire as a simple remote control. A match was done by putting robot A in fully auto mode vs. robot B in semi-auto mode until one robot scores at least 5 points, then reversing it so that robot A is in semi-auto mode and robot B is in fully auto mode until again a robot scores 5 points, then the total score for each robot is the total of their scores from each half of the match.

One of the reasons for this strange arrangement (aside from making it harder) is that it means that a total of only 1 wire is leading from the hands of the kids to the playing field at any given time, which greatly reduces wire tangling problems. In my Beginning Robotics Class, the final project is two or three-button fully remote controlled (RCX) battle bots, which is a blast, but always ends in a mass of tangled wires...

So, given the requirements, the students were left to figure out how to make the best of a fully auto mode and a semi-auto mode, build it, and program it. Several different strategies are possible in each mode. Here are a few examples:

Fully Autonomous: A light sensor keeps the robot inside the ring with a simple driving strategy such as the Mini Sumo Bot, and a front-bumper touch sensor such as the Bumper Car triggers the weapon when you collide with the other robot. The robot on the right in the picture above is doing this, although its weapon has been damaged and is dangling...

Semi-Autonomous: A light sensor keeps the robot inside like Mini Sumo Bot, and the remote control touch sensor allows the kids to trigger the weapon (the robot on the left in the picture is doing this).

Semi-Autonomous: The remote control touch sensor is used to drive/steer like the 1-Button Remote Control robot, and a second touch sensor on a front bumper triggers the weapon.

Semi-Autonomous: For the programming whizzes, a single button remote control could control both the driving and the weapon, as for the Hammer Car.

There are several other possibilities, and clearly the NXT's ultrasonic senor could add another possibility (as long as only one robot was allowed to use it at a time -- perhaps the fully autonomous one). For wired remote control using the NXT, it might be a good idea to use 3rd party longer wires, or the old RCX touch sensors and long wires if you have them. You could also just do a straight fully autonomous battle with no wires.

Popular posts from this blog

ROBOTMAK3RS Review: LEGO River Steamboat

I thought the LEGO River Steamboat would be an interesting set for a ROBOTMAK3R review for a few reasons. First, the LEGO designer of the model is Marina Stampoli, a long-time collaborator of the late ROBOTMAK3R Vassilis Chryssanthakopoulo s. From earlier collaborations with Vassilis, I  knew Marina was incredibly talented, with an eye for aesthetics and functionality. Her background in architecture is particularly useful for her relatively new position at LEGO. Her other sets include the Magic of Disney (21352), Message Board (41839), and Red London Telephone Box (21347). Second, watching Marina's reveal video  and reading her designer interview made this set even more tempting to build. The gearing mechanisms running through the model gave way to many opportunities for automation using LEGO robotics elements. Since ROBOTMAK3RS is all about adding interactivity and automation to LEGO brick, I thought it would be fun to see where and how LEGO robotics could be added to this s...

Celebrating 25 Years of MINDSTORMS

In celebration of the 25th Anniversary of MINDSTORMS, we take a trip through history. Please also visit ROBOTMAK3RS Community every week as we highlight different projects all through 2023 in celebration of the anniversary. Some of the early history is based on the content shared by  Coder Shah  in our  MINDSTORMS EV3 Community Group . Some of the text and links may have been edited from his original posts for consistency and clarity.  1984 - Kjeld Kirk Kristiansen watched a TV program called "Talking Turtle," where MIT professor Seymour Papert demonstrated how children could control robot "turtles" using LOGO, a programming language he developed. 1988 - The collaboration between MIT and LEGO resulted in LEGO TC Logo in 1988, which allowed students to control LEGO models using computer commands. The video shows Papert demonstrating TC Logo. 1990 - LEGO TC Logo was hampered since the robots you built had to be tethered to a personal computer. LEGO and MIT...

Ghostbusters R.T.V Remix

Nino Guba is from Torrance, California, USA. He played with LEGO as a kid, but growing up in the Philippines, it wasn’t something he had easy access to. He only got reintroduced to LEGO when he moved to the US and had kids of his own. When his sons were younger, they received LEGO sets as gifts, but as they grew older, the sets got put into storage as their interest faded. Fast forward a few years, he started coming up with his own product ideas and thought about how he could quickly prototype them. That’s when he discovered LEGO MINDSTORMS—and was hooked! He raided his kids’ old collection, got everything organized, and now he's designing and building his own creations, blending his coding skills with LEGO robotics to bring ideas to life. Tell us about your Ghostbusters Remote Trap Vehicle (R.T.V) project. This project is a LEGO Technic adaptation of the Ghostbusters R.T.V.—a ghost trap converted into a remote-controlled vehicle. Its companion build is a prop replica of the Futaba...