Giter Club home page Giter Club logo

foosbar's Introduction


Foosbar

The (Unverifiably but Plausibly) World's Best Foosball Robot

Pitch

As a very enthusiastic foosball player, I've sunk countless hours into the game. As a programmer though, something about the idea of practice is fundamentally misguided. Repeating the same task over and over, in the hopes of slightly improving your marginal efficiency of it? It sounds ripe for automation.

So I did that! Foosbar is a completely autonomous foosball table that is robotically controlled on one side of the table, while a human plays on the other. It is capable of defending, passing and taking shots. It has successfully mechanized all my joy out of the game, leaving me free to pursue more important and deeply fulfilling things with my life.

Setup

Components

There are 3 main components of the project that I've dubbed software, firmware and frontend. software is the main directory for the code directly controlling the motors. frontend is for the 3d webapp enabling control of the table through a remote game controller. firmware is obsolete but originally for the teensy 4.1 mounted on the electronics connected to an e-paper display to show score, in the end I got lazy and didn't fully implement this.

Given that these are all very specific to my setup I don't anticipate anyone actually running any of this, so it's mostly here as reference for someone attempting something similar. Still, if only for my own sake here are some high level build instructions.

software

You will need to build uWebSockets and make it findable by cmake. Given that basically nobody as far as I can tell actually understands the arcane incantations required by cmake I'll tell you that I just ran make && sudo cp ./uSockets/uSockets.a /usr/local/lib/libusockets.a from inside the cloned directory. I'm sure that by saying so I'll get someone yelling at me that there's a more proper way though. You'll also need to install the qualisys realtime sdk in a similar way.

Once the requirements are installed, building is straightforward:

cd software
mkdir build && cd build
cmake ..
make
./foosbar

firmware

Standard pio project, just run

cd firmware
pio run -t upload

frontend

Just run

cd frontend
npx vite

foosbar's People

Contributors

misprit7 avatar

Stargazers

Cedric Ewen avatar Kai Pereira avatar  avatar sbsb99 avatar Greg DeAngelis avatar Jacobus Burger avatar Kenji Brameld avatar  avatar  avatar Fred Longo avatar  avatar Malik avatar vojta stefan avatar Ricardo Amorim avatar Yifu Chen avatar Florian Bär avatar Featherit avatar  avatar Connor Bennudriti avatar Bernardo Mariano avatar Umer Salman avatar Blair Johnson avatar  avatar Arthaud Proust avatar Kyle Jewiss avatar Willy Woitas avatar Andy Ganea avatar  avatar Farkas Péter avatar funytan avatar  avatar Ryan F Bracy avatar Darrell avatar Lucas avatar Cyclotomic Fields avatar Jonathan Chemla avatar  avatar  avatar Tim Shoda avatar Qichao Lan avatar Andrej Bartulin avatar  avatar Maciej avatar Sebastian Stehle avatar _Zaizen_ avatar Edward avatar Arnau Garcia avatar  avatar Thomas Walichiewicz avatar Israel Zúñiga de la Mora avatar Max avatar Florian Cassayre avatar Junwoo Hwang avatar Ali Dakik avatar Max0913 avatar  avatar Taulant Ganija avatar Stefan Danzl avatar Davi Ribeiro avatar Jean Mainguy avatar Onur Keskin, Ph.D. avatar Daniel avatar Aditya avatar  avatar Matic Drobez avatar  avatar Jaime Portela avatar KOTA avatar XonqNopp avatar Michael Kurt avatar Giufus avatar  avatar Wilson Cazarré avatar Alex Perathoner avatar  avatar Felix Erkinger avatar Florian Zachs avatar  avatar Cfomodz avatar Federico Berto avatar Halu avatar  avatar  avatar Simon Giesel avatar Dominik Ritter avatar freakyDude avatar  avatar Nurlan Aliyev avatar Kimberley Ni avatar  avatar  avatar Nick Reisenauer avatar  avatar Gabriel M. Dutra avatar Seif avatar  avatar  avatar Alan Fregtman avatar Jakub Vávra avatar Eric avatar

Watchers

 avatar  avatar Augustine avatar  avatar Fred Longo avatar  avatar  avatar  avatar

foosbar's Issues

There's no license

Hey, awesome project! I'm not sure how much it matters in this case, but you don't have a license on any of this project, and copyright defaults to all rights reserved when no other license is supplied. Is this intended to be released under an OSS license?

Thanks!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.