Pool Cue With A Big Brain Algorithm
Written by Harry Fairhead   
Sunday, 07 March 2021

Fancy having a magic pool cue that enabled you to pot the black without fail. Well this video shows how such a device can be built using an Arduino Uno - and it also reveals just how many man hours can be spent on hard-to-detect errors. 

Shane Wighton attracted a huge following for his YouTube channel when he built the first basketball hoop that doesn't let you miss it, by combining robotics and computer vision. 

robotpool

In his latest project he turned his attention to 8-Ball Pool and fabricated a robotic a cue by attaching a miniaturized Stewart platform comprising six actuators that enable the tip to move in three dimensions to the end of what appears to be a broom stick. To "fire" the pool shot a pneumatic-powered trigger was added with a pressurizing chamber on the other end to vary its strength. Having perfected the robotic cue, Wighton even used it to play a mixture of virtual and real pool with remote players.

 p2

As anyone who has done any physics knows, skill at billiards is a matter of all three of Issac Newton's laws of motion and this is why Wighton built a physics engine into the robotic pool cue - and the prerequsite for this was a full and accurate view of the pool table and all the balls on it.

pvision

A camera mounted above the table was only part of the solution - it needed to be calibrated to eliminate all the distortions introduced by photography - well any sorm of vision of you think about it. This was achieved by attaching fiducial markers to the table to allow an accurate 2-D representation. The Big Brain algorithm is able to calculate all the possible paths that the cue ball can take and their effects so letting the robotic pool stick take all the decisions means you can't lose. 

p1

 

What I enjoyed most about the video was the discussion of all the things that went wrong. The first problem that affected the servos turned out not to be math issues but because of components not living up to their specifications. The next problem to do with optical distortions was nothing to do with failure of calibration computations but because code to do with a completely different camera was subtely things messing up. It's an object lesson to us all.

 poolsq

 

 

Related Articles

Is This Ping Pong Robot Real?

To be informed about new articles on I Programmer, sign up for our weekly newsletter, subscribe to the RSS feed and follow us on Twitter, Facebook or Linkedin.


Banner


More Cybersecurity And More Discounts From Udacity
24/03/2021

Udacity has just opened its School of Cybersecurity with four Nanodegree programs to choose from. To mark the launch it is offering 60% discount, across its entire site, for enrollments up to 31st Mar [ ... ]



Chromebooks Adds Features For 10th Anniversary
12/03/2021

Google has updated Chromebooks to recognize the 10th anniversary of the devices. There are updates to the built-in apps and a couple of new apps to improve usability.


More News

square

 



 

Comments




or email your comment to: comments@i-programmer.info

 

 

Last Updated ( Sunday, 07 March 2021 )