Skip to content

Latest commit

 

History

History
47 lines (38 loc) · 1.78 KB

README.md

File metadata and controls

47 lines (38 loc) · 1.78 KB

AutoPinball

A custom pinball machine that plays itself!

Checkout the full Instructables post!

Check out the video here:
AutoPinball Video

Straight up demonstration of the autonomy here:
AutoPinball Demonstration

Dependencies

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

Build

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

RUN IT!

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