I Made a Table Soccer Robot, and it's Better Than You Are
Вставка
- Опубліковано 4 чер 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/misprit7/foosbar
Twitter/X: / from_scratch_yt
Instagram: / from_scratch_yt
Github: github.com/misprit7
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: tornadofoosball.com
Home Billiards: homebilliards.ca
Music credits:
Rachmaninoff Piano Concerto No. 1, University of Washington Symphony: imslp.org/wiki/Special:Revers... - Наука та технологія
"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
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!
Bro is gonna blow up on yt I'm calling it
why are you here
@@limeedhothis last video was about making a terraria computer
oh my days craftymasterman
fr
Not the only one doing it
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.
You are like Michael Reeves if he went to rehab
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.
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
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.
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.
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!
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!
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
the next logical step is to put a robot on each side.
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
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.
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.
Absolutely awesome project. Thought about making this for a while but never imagined it could be as fast and precise as this. Unbelievable work!
What an incredible project and video, so glad I found your channel!
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
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.
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!
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 !
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!
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!
Subscribed! Thank you for sharing your talent, ingenuity and passion with us ☺
Nice video man. Glad you got a Tornado. That other table would have failed your test 100% of the time.
4:29 Dude perfect better watch out!
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!
I’m so glad I found this channel. Can’t wait for what you do next. Keep up the great work!
What a cool video and project. And love the music choices too, I don’t normally notice that. Great job, dude!!
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!
you're obscenely talented
That is absolutely amazing - well done. I can see big things in your future.
Man, you are soooooo talented.
Great project, can't wait for more 😁
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!
So glad I subscribed, this is fire. Excited to see what other projects you will work on!
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.
The amount of passion into this is unleveled, UNBELIEVABLE JOB :O
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
those motors and cameras are so overkill, i love it 🥰
This is awesome. It gave me the itch to make stuff again. Thank you, keep creating
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.
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.
This is such a Stuff Made Here idea and I love it.
Right? It's like a Young Stuff Made Here show
What an incredible project! Great job!
You have so much success ahead of you man. A vibrant personality with a brain that would make megamind blush.
Don’t ever stop!
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.
Can't wait to see what else you make
1. Mount Control board and motors on both sides.
2. Use Genetic Algorithm to play agains itself and improve.
3. Let it train for a month,
4. Make tournament of best trained AI generations, your algorithm and few unlucky humans.
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!
Awesome video and robot man!
Would be interesting to see a what a ML approach could do.
Great work! Amazing results!
Very cool. This looks like a perfect project for ML.
No way, he's back!
Certainly enjoying your channel. I'll continue watching for new vids, just hope it's not another 10 month wait! Great job!
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!
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
well at least you only had to do it once
GG! Finishing project like this is Huge achievement
Not only crazy good project, but also amazing filming and story telling. Congrats and very impressive!
this is why nerds are important
4:18 Ha! (I don't have anything else to add. Obligatory interaction for the algorithm.)
this is incredible. great work!
This is simply incredible! Much respect!
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
Impressive build!
Amazing project, congrats! That one last addition is so cool too :O
Monumental effort but a massive achievement!! Top work!!
This is so incredible on so many levels!
This video is seriously under viewed. Amazing creation and nice editing!
Awesome build! Well done.
I love foosball and I love this video, thank you for making such cool foosball table and sharing it with us 😊
Amazing project man. Kudos for going all the way!
That’s awesome , and an amazing amount of work.
Wow, first time here but i loved the video. Great one as video making and the idea is cool too. GJ
Wow. What a huge project this would have been. Great work!
What a cool project keep up the good work!
This is amazing! nice work, keep it going :)
Very impressive on all fronts, including the script and production. You’ve got serious talent and I (selfishly) can’t wait to see what’s next.
Hopefully it’s college and you take full advantage of that experience, even if it means taking a break from videos.
This is amaizing! Great Work!
super interesting project, great job and well done on the thoroughness! 1) good call on the Tornado...there's no other way 2) i appreciate your love & skill of foosball 3) your creativity and coding prowess will *hopefully* help you become a multi-millionaire as it's well deserved with your skillset (AI dependent). looking forward to more fun projects in the future! :)
Brilliant stuff. You have a very bright future ahead of you.
Congratulations!!! Nice work!
This is just amazing! Awesome job man!
Now this... This is engineering. Amazing build!
This is ridiculously impressive. I cannot begin to imagine how much time and energy was put into this. Well done.
One of the best videos I’ve seen in years!
Great job sir
Thank you for your hard work
Blessings and abundance
The multiple companies willing to help you with this was cool to see, I'm glad they don't only want to support well-established creators. Though with Michael Reeves posting just now, your competition is back online :)
Pretty impressive! Well done!
Freak'n amazing project, well executed, and a great video. Thanks for sharing!
this video is completely insane - major props
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 cool and it seems like an insane amount of effort!
You really are amazing. Please keep this up you're going to be the next stuff made here!
wow. impressed by every second of this video. great job