|
It is more of a programming problem than a robotics (mechanical/electrical) problem...
Hardware obviously has some color sensitivity. Does quick scan, IDs the cue and target ball. The "stick" knows exactly where it is on X/Y/Z grid/plane, by extrapolating size it gets distance to each ball once it finds the cue and the target ball, and then figures the best pocket, angle of attack, force needed (determined by a lot of pre-calibrating and measuring ft/lbs required to move ball at X speed and overcome a known amount of resistance), etc. Just math and physics at that point. Probably has a "real" computer behind it as opposed to a dedicated board of some type.
Now if it were doing complex multi bank shots, curving with english, etc. *that* would be a trick to code.
__________________
“IN MY EXPERIENCE, SUSAN, WITHIN THEIR HEADS TOO MANY HUMANS SPEND A LOT OF TIME IN THE MIDDLE OF WARS THAT HAPPENED CENTURIES AGO.”
|