I Made the World's Best Foosball Robot!
ฝัง
- เผยแพร่เมื่อ 22 ส.ค. 2024
- My process making Foosbar: the (unverifiably but plausibly) world's best foosball robot! This has probably taken on the order of 500 hours over the last 8 months to make, and you get to see it all in the span of a mere 15 minutes!
Code: github.com/mis...
Twitter/X: / from_scratch_yt
Instagram: / from_scratch_yt
TikTok: / from_scratch_yt
Github: github.com/mis...
Thank you to Teknic, Qualisys and Tornado/Home Billiards for making this possible!
Teknic: teknic.com
Parts: SC4-HUB, IPC-5, PWR-IO-24VDC, CPM-SCSK-2331S-ELNA, CPM-SCSK-2331P-ELNA, CPM-SCSK-2331S-RLNA, CPM-SCSK-2331P-RLNB, CPM-SCSK-2310S-RLNA
Qualisys: qualisys.com
Tornado: tornadofoosbal...
Home Billiards: homebilliards.ca
Music credits:
Rachmaninoff Piano Concerto No. 1, University of Washington Symphony: imslp.org/wiki...
"Hey you wanna see my foosball playing robot" - fastest way anyone's gotten me into their bedroom
What if it was made of LEGO because I can’t afford full size parts and don’t even have an actual foosball table
@@ezrakornfeld8436 that would be amazing lol
@@ezrakornfeld8436 The robot would be extremely flawed because lego motors are underpowered and coding lego is quite difficult. It would be almost impossible to make out of lego and unironically it would cost more if you got it to work. Actually now that I think about it it would be impossible to make out of lego.
seconded
@@wooow8543"Coding lego is quite difficult"
In what way? Booting Linux on an EV3 brick is officially supported.
It wouldn't be nearly as good as this, but I don't doubt that a scaled-down Lego version is possible.
*Uploads a video that goes viral
*Disappears for 10 months
*Comes back with another banger
I love this.
The Michael Reeves Stratagem
and hes a little kid, 10 months to him is like 5 years. he'd even put Howard Wolowitz to shame
he probably worked 10 months on this
@@Turalcar That's who I immediately thought of.
Quality not quantity.
I am a software developer. At my former employer we played foosball as much as we coded. We were always joking about this very idea. To see this video makes me unreasonably happy.
lol, same here!
Same, haha
I feel we all worked together 😅
Just imagine, this could end up like the Battlebots or something. A team make their robot compete against other team while they develop as engineers at the same time. Some day we will have the Mecha Olympics or something LOOOL
A new "Stuff Made Here" is born !
Amazing project.
If only he could stop using the exact same punch lines as SMH.
Really!
@@impact_42 Hey, at least he only did it once.
I came looking for this comment.
I was about to say this too!
A god-level foosball robot and it’s remotely controllable? Insane! Quite possibly the coolest toy anyone’s ever had in their bedroom
It is until you realize I have 5 cameras menacingly staring at my bed... (albeit not plugged in all the time)
@@built-from-scratchI’m curious if you thought about using some sort of gyroscopic/accelerometer equipped ball instead of the cameras?
I'd like to see another set of motors added to the other side and he can invite other programmers to challenge his programming. Add in more camera angles and hi-speed replays and you've got something.
@@rider573 same thing I thought about - instead of robots killing robots in arena - this gem!
@@BuLLGotcha So we need a ball that's the same size and with a similar surface that's hollow enough to contain an accelerometer and all it's gubbins. It must not be bouncy and must be shock resistant.
sounds kinda hard
Bro is gonna blow up on yt I'm calling it
why are you here
@@limeedhothis last video was about making a terraria computer
fr
Not the only one doing it
but craftyMasterman, your a redstoner! why are you here?
You not only built an amazing machine, but your production values and narration were also top notch. This praise comes from a 77 year old man who never had the hand eye coordination to play an even acceptable game of foosball.
You are like Michael Reeves if he went to rehab
Yes
holly shit that no eyes smack was crazy
Definitely by far my favorite shot from the video haha! I practiced a few times beforehand but it somehow only took 2 attempts to get it on camera.
@@built-from-scratch i fully believed you were using a closed-eyes filter (like the many available on tiktok)
niice
@Themoonisachees this is such a violation of Occam's razor, especially since there's literally glare on my glasses when I do it! I'll take it as a compliment though if you think it's so hard I had to fake it
@@built-from-scratch At a high level of Foosball it's more about muscle memory. Your eyes are for setting up the shot because once you go you already know if you are going long mid or short.
Are you taking friendship applications? This is extremely impressive.
So ... friendship being ... you want free computer vision lessons from him?
@@ferocious_r There's also an assumption that we have a lot of shared interests since he's basically me but cooler
@@johiahdoesstuff1614 Sure was an assumption, to test you.
❤
@johiahdoesstuff1614 You're cringe
I was here before 100k subscribers. These projects make me question whether my brain is like some outdated caveman model. Strong Stuff Made Here vibes, and I'm here for it!
You know you've accomplished something special in the engineering and maker community when Jeff Geerling replies to your video!
@@thrawnis Heh, I draw inspiration from projects like this; I'm pretty sure it's about 14x more complicated than any of the physical-world things I've worked on. There are different types of complexity... but the motor control and mechanics of this project are amazing.
The companies that were smart enough to give you the materials for this project easily made their money back with the advertising, great video!
Bro if this shit doesn't blow up like your last. . . Man, that first seven seconds had me already hooked. It's not enough that you're building a robot, but you gotta pull off feats of skill like *that?* Man, my jaw dropped. Glad I subbed back then.
Alsp holy crap the flexing with that blind shot. You're nuts.
reassembly gag was pretty good
Thankfully he only had to do it once
Just like Stuff Made Here lol
I think it's an engineering thing.
the "racist" joke wasn't.
I’m blown away by your commitment to and execution of this project at such a young age. I hope you keep making things you find interesting and that it brings you tons of future success in whatever way you define success. Others may be able to do the technical stuff you can but your personality and sense of humor will always separate you.
With such projects across the internet the "getting there" part is usually pretty boring, so I often just skip to the good part of the presentation of the finished thing. But you've made the problem solving part as interesting as the final demo which made this video overall interesting to watch. Well done!
Video turned out amazing. Btw That's my hand in the stream at 13:48.
Can confirm if anyone had doubts about this prestigious honor, that was indeed him.
@@built-from-scratch Did the foosbar ever smack your fingers? XD
nice
Your hand is awesome, thank you so much for gracing us with such beautiful sight.
The hand made the video fr, I'd be otherwise very bored! Gracious sight!
This dude has 2 videos and he's already making higher quality content than 90% of creators
And many thousands of dollars in sponsors already!
When I was in college I played more foosball than I did studying. This is the coolest thing I've ever seen. You're brilliant my man!
Dude. I would give my left arm, three toes from my right foot, and an entire case of Klondike bars for half of your executive function.
I do think the dual motors per rod with linear belt drives was "easy mode", and the space that takes up is somewhat prohibitive. For version 2, I want to see single motor omni-wheel drive systems mounted directly on the side of the foosball table cabinet.
Oh and while you're at it, you should take a look at a machine learning approach to play. You could train a simple neural network on a digital foosball table then test it on the real thing. The machine learning part seems *RIGHT* up your alley!
Great, I watched all Stuff Made Here videos, and now I found another suspiciously similar channel to binge!
"works by design" is another good choice.
Sadly, it’s not gonna take you too long to “binge” 2 videos
@@simpli_A watch both videos twice and with 0.25x speed. thats a lot of content :)
yeeeeeeeaaaaaaas
Oh this is WAY better than Stuff Made Here. More interesting, more fun, and much better jokes!
Step 1: $2,500 for motors and motor drivers
Step 2: $10,000 for motion capture system
Step 3: $3,000 for foosball table
Step 4: Proft?
Motors and driver were given to him, he said, and he got the table for free from tournado. I'm not sure about the cameras. I really do hope he can get some money out of this while also furthering foosball and helping bring it to a larger audience.
For his last vid he probably got around 4k or even more, where the hell did he get the rest of the money and this is just one of his projects, he got a ton more - how?
Still mad respect for the hard work.
@@mxblock Rich family lol
If your only goal is profit you will be poor for the rest of your life.
@@mxblock Why everything should make money ?
It's not allowed to make something for fun ?
It's not allowed to make open-source project ? How do you know open-source devs get payed for their work ?
I make open source plugins, and I find it so so sad that everytime I tamk about it the first reaction is : it's coo' but why don't you sell it ? How will you make money ? You lose your time.
This guy is giving off stuff made here vibes. But but but. He is sooo young. How is the world producing such smart humans who can casually build / code and design incredible things. Love it.
Used to play a lot many moons ago. I always had the rear defender rod with two men and the front defender with 3.
I have also been a software engineer for 35 years and am very impressed with your skills, rarely do you see a hardware engineer also doing the software engineering. Nice job
I love that your brother has the confidence of a LLM!
Was this an LLM? It sounded like he wrote the instructions. Was actually gonna ask about using a model lol
Bro your channel is incredible, im a college student I think a few years older than you. Idk why but your channel is the epitome of ”I thought it so I did it.” A motivation I wish I had more off.
Well done young man! When I went through Engineering back in the early eighties, I would hustle foosball in bars, playing for cash and beer. My buddy and I would own the table almost every night we played. Good memories, when I think back. Your project is amazing, you're extremely bright and have a successful future to look forward to. Just don't get married until you're at least 35. Cheers from Canada.
Amazing. It's amazing what people can do when they think of something and want to bring it to fruition. I mean really want to. The thing that gets me is he looks like he hasn't even LIVED long enough to even learn all the stuff that we just witnessed. It's people like this bloke that drive innovation and invention. He's a superstar and i am subscribing. This is REAL reality TV.
this guy is the next big thing and he's only uploaded two videos, can't wait to see what he'll have in store for us later
You're one of my favorite youtubers and you only have two videos! I think it's partially because you have a very similar style to another of my favorites, Stuff Made Here. You made a few (maybe unintentional, but probably not?) references to some of his jokes (only have to do it once, magic wand, etc.) which just makes it better! I can't wait to follow your path to (hopefully) success as an engineering youtuber!
As a Gen-X'er who would spend every penny of my lunch money on foosball during my entire 4 years of Jr. High, your robot is simply amazing. I was pretty good back in the day, but I'm thinking in a straight up game your robot might have skunked me. You are right in that apart from having the skills of mastering setting up the ball and executing shots, foosball is all about reaction time on defense and surprise shot timing on offense with accurate ball placement. Certainly, no human can match the reaction of an amply powered computer and the small space your system needs to fit a ball is unreal. Awesome job!
The amount of passion into this is unleveled, UNBELIEVABLE JOB :O
4:29 Dude perfect better watch out!
you're obscenely talented
Nice job on this! I designed built one of these as well for Oklahoma State University, on ours I trained a neural network to control the rod actuators. Additionally a core objective of ours was to make it the same footprint as an actual foosball table because the previous version had the side mounted actuators like yours and was extremely large!
“The software was the part I *was originally* really looking forward to,” said every engineer ever.
Nonetheless, amazing work. Really impressive! Earned my sub.
you could train neural networks by continually pitting them against each other on your real foosball table. you could then eventually (after a long time) and up with a neural network that is very good at irl foosball
Ideally you'd be able to model the game in software so it didn't need to physically play each game for training.
It would be interesting to see how well training on a simplistic model translated to playing in the real world. Hopefully well enough to work as pre training, which could be fine tuned with real games. It would speed up the overall training time significantly.
@@JscWilson Human players can currently beat the robot cause they have a better intuition of the real physics. So a NN would definitively need to learn this. A physics simulation would need to be very accurate to do the training in order to be better than the hand written software.
@@salia2897 "Intuition of the real physics" isn’t the only factor. Foosball is dynamic-another critical factor is how quickly a player or robot can receive input, make decisions, and act upon them.
As an extreme example, imagine a robot capable of perfect predictions but taking an hour to process them. Another robot with faster reaction times, but less accurate predictions, could score a goal before the slower robot could respond.
More accurate predictions are obviously better (all else being equal), but the robot doesn't need to have a better "Intuition of the real physics" to beat a human.
That is why I said it would be interesting to see how realistic the model would need to be to be useful.
One approach could involve initial training on a simpler and faster model, followed by fine-tuning on a more realistic yet slower model. Such a strategy might outperform dedicating the entire training time solely to the realistic model - but again, the question is how accurate do the models need to be?
@@jessewilson3571 It does not need a better one. But it does need one that is good enough to do the required maneuvers that humans can do. And doing that can only be learned from a physics model that is good enough and that will already be quite complicated.
@@salia2897 With a quick Google search, you can find a number of examples of foosball-playing neural networks that have been trained using simulations. This includes a few public GitHub repositories with Unity models that aren't very complex.
So, training on simulations can definitely be done with models that aren't extremely complex.
First off, I am in complete awe of what you did, from start to finish the meticulous detail is amazing.
Second, this has been shared by many online foos groups so expect some praise and compliments from the foos community from all over.
Third, how did you account for the recoil needed to straighten out those rollovers? Seeing those snake shots at that speed gave me nightmares of the one time I played Brandon Munoz and his insane speed.
Also, and not to take one iota from this massive achievement, but have you seen the Foos Gadget one? It allows you to record a defense for a certain amount of time and then jump across the table to shoot against the defense you just recorded. It also has presets in a phone app that you can load up and send to the defensive rods with increasing difficulty, it's pretty cool.
However, those stick lane passes that your machine does are insane, reminds me of Tony Spredeman lane passes.
Lastly, there are some foosers already saying, "He should bring this to Worlds!" (Tornado World Finals, Lexington Kentucky, Labor Day weekend)
For the third, I didn't need to do much other than manually tune the timings on the snakes. The rotational motors are insanely fast, so even though the sideways motion to start the snake is faster than the average human's, when the ball is hit it has enough forward velocity that it's reasonably straight (hopefully I'm interpreting what you mean by recoil correctly here). This was actually a bit surprising to me; I originally started with the robot doing a push shot which I thought would be a lot more consistent, but it turns out snakes are much easier to get working.
For the first lastly, not 100% which device you mean, from what I can tell Foos Gadgets just sells goal spedometers/automatic scoring. Regardless the goal of this project wasn't to be solely a training aid, I really wanted a fully autonomous table so I didn't spend much time on stuff like a practice app.
For the last lastly, unfortunately it's probably not possible. I've already disassembled it (I want my room back!) and I'd like to move on to other projects for now. It's not out of the question though, it would be neat!
@@built-from-scratch Wow, I was only HOPING for a response and yet here you are! Yes, you interpreted the recoil I was speaking of correctly - when humans shoot a snake they need to strike the ball while moving in the opposite direction to offset the first rule of motion. From what you are saying, it sounds like your machine does it so fast that it doesn't allow spray, which is insane. It would have been cool to see what it did with a push, I have to recoil my push back to the wall so hard that it practically jars the table. Yeah, I added two "Lastly" paragraphs, sorry. I understand that us foosers probably won't see this at the next World or National Championships but it is impressive and the foos community would love to see it live and get a chance to meet someone who loved the game enough to attempt what you have done. Once again, bravo and keep creating!
*Uploads masterpiece,*
*Disappears for a year,*
*Uploads another masterpiece*
*Refuses to elaborate*
Would absolutely LOVE to see a collab between you and Stuff Made Here; maybe you guys could pick something else similar to foosball and have your robots compete..
the next logical step is to put a robot on each side.
I love that you come up with an idea and then follow it through to completion, no matter what it is. This was a treat to watch!
Wow... I can't believe what I'm seeing in your video! Beyond impressed with the skill, knowledge and tenacity it took to create FoosBar!
Nice video man. Glad you got a Tornado. That other table would have failed your test 100% of the time.
I am a primarily drunken foosball enjoyer, so I don’t encounter it often, but I am an engineer at heart; and holy hell this project is mad impressive.
You’re up next fs, feels like you’ll have 1 million subscribers within the next 18 months. Keep up the good work man
This channel will grow faster than this robot can shoot the ball. Nice to have i third channel to choose next to Stuff Made Here and Mark Rober
So glad I subscribed, this is fire. Excited to see what other projects you will work on!
This is awesome. Im so incredibly impressed with this project. I havent been this excited about finding a new engineering channel since Stuff Made Here years ago. I cannot wait to see wait to see what you do next
Dude, first of all this is amazing, you are obviously a true fooser and finally built a foosball simulation worth playing... This is big. I'm so excited. I sent this to all my foos friends... Just the idea that I could zone out and practice solo is a game changer in itself.
Tagging on to the end of your video here... I think with tweaks you've already realized that you have the ability to really fine-tune this thing to be unbeatable, But what's the fun in that? Chess against the computer is fun I'm sure, but as with the game of chess, the joy of foosball is really defined by the interactions between two players.
I feel like you've might not be seeing the obvious next step: making a whole second control setup on the other side and allowing two people to play online against each other on a physical table.
I have an idea here, and I'm going to send you a DM.
Ohhh boy!! I would love to see all those different robots he showed in the beginning of the video competing against each other!!
those motors and cameras are so overkill, i love it 🥰
This is such a Stuff Made Here idea and I love it.
Right? It's like a Young Stuff Made Here show
The new stuff made here has just arrived to TH-cam folks! Love it ❤
I wasn't about to like this but when you mentioned that everything is opensource I instantly liked the video even before you could mention it.
I worked on the Bosch Kicker table while in university a few years ago. Harware wise it was top of the line industrial hardware, a showcase assembly for bosch rexroth.
The software was written by the university I studied at. Last I worked on it a few years back it was not capable of really playing because we were focussing hard on the idea of using AI and we couldn't get the AI to do smart moves.
No way, he's back!
This is.. AMAZING! Maybe for another video, you could build 2 of these robots on one table and make them play each other with different strategies and continue improving themselves. Anyways, this was a great watch! :)
"I only need to do it once" must be reference to Stuff Made here video :D I love the idea behind this. Personaly I think not only work, but also fun should be passed to robots, so we have more time for just thinking.
Can't wait to see what else you make
Would be interesting to see a what a ML approach could do.
wow, pure respect to you for putting everything together in 8 months, you have done way more useful learning than most engineering student who have done 4 years of study. I am sure you already have many job offers, choose wisely in order to put your skills and creativity in good use.
"Arent you too young to want those servo motors?"
"Yes, yes I am"
Awesome video and robot man!
4:18 Ha! (I don't have anything else to add. Obligatory interaction for the algorithm.)
What an incredible project and video, so glad I found your channel!
Protect this kid at all cost. This is the kid that will invent real virtual reality gaming for us!
this is why nerds are important
The “At least it was only a one time reassembly” quote reminds me of Stuff Made Here when he was scanning each puzzle piece for the puzzle solving robot 😂
Seeing that is it basically your second video, I am honestly impressed by everything, from the content to the execution. Keep up the great job !
2:50 That cheap servo uses a potentiometer not a hall sensor
Okay fine you got me, I added this scene last minute and that was all I happened to have on hand. It's not like the power electronics (an H bridge) or the MCU (teensy) were accurate either though
@@built-from-scratch Lol
ok where in the world did you get all this money?
check his resume sometime
Kind of a useless comment. Where can I find it?@@danielgysi5729
Check the description, most of it is sponsored by the manufacturers
@@hrmny_ he doesnt even need to check the description, the dude literally stated in the video he was sponsored the stuff
I love how all of his projects are open source, and he is sharing his hard work that he took months making with all of his viewers, unlike other people who would put it behind a premium paywall or something
This is probably the craziest thing in my life. As a passionate foosball player and engineer, I couldn’t be more happy to see this.
well at least you only had to do it once
Ok
With the right approach, you could train a neural net to take care of all the robotic decisions and end up with a truly terrifying opponent
Could be cool to take the low-quality foosball table and turn it into a remote control for the robot, then deliver the remote control to a friends place and play foosball over the internet.
Dude. Who are you? 😮 This is amazing. TH-cam algorithm took me here and i am staying! Keep up the mindblowing work!
Mad props on this, awesome. Only thing I'd try adding, as it doesn't go too deep in the weeds, would be to "take shots from any point you can find a clear path". Even if it misses, it will rebound hard, and your robotic front line has better reaction time than humans so it can chain another shot from there.
Very impressive. Right up there with the self-solving Rubics cube.
Please keep doing this the world needs more people like you. You will go on to do great things for society and the world. remember this
When the world needed him the most, He returned!
I hope your brother grows to appreciate you for this. I also hope he shares you're neuron density!
Freak'n amazing project, well executed, and a great video. Thanks for sharing!
Would be fun to see the foosball machine playing itself, while learning how to get better
Never seen someone so immune to boredom
Saw about 30 seconds and subscribed like i did for Stuff Made Here. The more the merrier!
Very well done! People in the foosball community are completely amazed
Awesome video, amazing project and dedication, and I also loved the "at least I only had to do it once" foreshadowing joke. LOL. Excited to see what you do next!
This is hands down the most impressive technical project I've ever seen. I've seen the UBC IGEN table, would be hilarious to see this bot destroy another bot in a match
You gotta love a little brother's delusional self-confidence.
Seems like the logical next step is for Tornado to host robot foosball competitions using their table as the standard playing field.
I’m sure so many people have thought about this idea. I know I have. Ultimately we all thought.. yeah that’s going to be way too complicated. Really cool that you followed through with it!
Subscribed! Thank you for sharing your talent, ingenuity and passion with us ☺
I've never seen someone good at foosball before so just the first like 7 seconds of this video was mindblowing enough.
Dude you had me hooked in the first minute. Great intro. You will be big dude. Trust me. *random stranger on the internet*
Awesome work! I'd be really interested to see end to end deep reinforcement learning on this :)
Only 2 videos on your channel and already 80k subs??? You’re killing it, man!
It would be pretty cool for the robot to decide if possible to shoot with the two back players whenever there is a clear line of sight to the goal, this will work especially well if the opponent doesn't hold the middle point with the middle line