Skip to content

lew1101/BallBalancingRobot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BallBalancingRobot

Author: Kenneth Lew

Software for a Raspberry Pi–based 3D-printed ball-balancing robot built by Kenneth Lew and Lek Man.

Features

  • Real-time ball tracking using OpenCV
  • PID control of the platform
  • Orientation correction using MPU6050 with Madgwick filter

Installation

1. Clone the repository.

git clone https://github.com/yourusername/BallBalancingRobot.git
cd BallBalancingRobot

2. Install Project

sh install.sh

This script install system dependencies (eg. picamera2, pigpio, opencv) and installs the project as a command tool to the system.

Running the Script

Start the pigpio daemon:

sudo pigpiod

Run script:

bbrobot 

Usage

bbrobot [-h] [--setpoint X Y] [--debug] [--no-imu]

About

Software for a Raspberry Pi–based 3D-printed ball-balancing robot. PID control, OpenCV for ball tracking, and Madgwick filter for IMU feedback.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors