Author: Kenneth Lew
Software for a Raspberry Pi–based 3D-printed ball-balancing robot built by Kenneth Lew and Lek Man.
- Real-time ball tracking using OpenCV
- PID control of the platform
- Orientation correction using MPU6050 with Madgwick filter
1. Clone the repository.
git clone https://github.com/yourusername/BallBalancingRobot.git
cd BallBalancingRobot2. Install Project
sh install.shThis script install system dependencies (eg. picamera2, pigpio, opencv) and installs the project as a command tool to the system.
Start the pigpio daemon:
sudo pigpiodRun script:
bbrobot bbrobot [-h] [--setpoint X Y] [--debug] [--no-imu]