A custom pinball machine that plays itself!
Checkout the full Instructables post!
Straight up demonstration of the autonomy here:
This repo has the following dependencies that must be installed.
To install ROS and rosserial_arduino, follow the links above and install as normal, for everything else, do the following:
sudo apt install libopencv-dev python3-opencv # OpenCV
sudo apt install python-tk # Tkinter
pip install APScheduler # APScheduler
To build the system do the following:
cd /path/to/AutoPinball
mkdir build
cd build
cmake ..
make
source devel/setup.bash
After you build it, you can put the source
command into your ~/.bashrc
to have it automatically source the directory whenever you start up a new bash shell. Just make sure that you give the full path, ex:
/home/<my-username>/AutoPinball/build/devel/setup.bash
There's a few different launch files that you can use depending on what you want to do.
If you want to run the whole thing, run this one from the launch
directory:
roslaunch automatic_pinball_c.launch