Cheat At Cornhole With A Bazillion-Dollar Robot

While the days of outdoor cookouts may be a few months away for most of us, that certainly leaves plenty of time to prepare for that moment. While some may spend that time perfecting recipies or doing various home improvement projects during their remaining isolation time, others are practicing their skills at the various games played at these events. Specifically, this group from [Dave’s Armory] which have trained a robot that helps play the perfect game of cornhole. (Video, embedded below.)

While the robot in question is an industrial-grade KUKA KR-20 robot with a hefty price tag of $32,000 USD, the software and control system that the group built are fairly accessible for most people. The computer vision is handled by an Nvidia Jetson board, a single-board computer with extra parallel computing abilities, which runs OpenCV. With this setup and a custom hand for holding the corn bags, as well as a decent amount of training, the software is easily able to identify the cornhole board and instruct the robot to play a perfect game.

While we don’t all have expensive industrial robots sitting around in our junk drawer, the use of OpenCV and an accessible computer might make this project a useful introduction to anyone interested in computer vision, and the group made the code public on their GitHub page. OpenCV can be used for a lot of other things besides robotics as well, such as identifying weeds in a field or using a Raspberry Pi for facial recognition.

19 thoughts on “Cheat At Cornhole With A Bazillion-Dollar Robot

      1. I ran into a similar situation with a CNC machine. I found its best to just replace the board rather than dealing with the licensing (Which can easily run in thousands of dollars…). Especially if you can eliminate the need for a full-blown desktop-type system and instead use a small SBC.

        I rehabilitated a CNC mill at work that was in really good condition and had a lot of nifty features, but required a computer that had a custom ISA card installed and running some ancient software that only ran on Windows 3.11 I replaced the whole thing with an RPi compute module, and now the machine has a shiny new sealed touch-screen monitor, and can receive G-Code off a file share on the network, rather than hoping your 5.25″ floppy wasn’t ruined from all the dust in the machine shop…

        1. The problem with that is robots are a whole different beast. I have retrofitted CNC systems and mills and lathes are peanuts compared to a robot arm. The inverse kinematics and load calcs are a nightmare. It really is easier to just buy the whole setup and get some support.

          I have programmed for an 8 axis arm (6 Axis + gantry + rotary table) and there is a good reason they charge 5-10k per year just for the CAM side of things.

          You can actually get a robot + controller for a (relatively) reasonable price. It is the integration, programming, and toolpath generation that gets expensive.

Leave a Reply to Sea ShadowCancel reply

Please be kind and respectful to help make the comments section excellent. (Comment Policy)

This site uses Akismet to reduce spam. Learn how your comment data is processed.