Skip to content

gavintranquilino/self-balancing-unicycle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

76 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

self-balancing-unicycle

PID controlled Unicycle/Inverted Pendulum Simulator in C++

Demo Video

Self-Balancing Unicycle Demo

Setting Up The Source Code

Requirements

  1. Install Git
  2. Install CMake
  3. Install C++ compiler

Installation

git clone https://github.com/gavintranquilino/ml-unicycle.git

Setting up the build with CMake

  1. Create a build/ and bin/ folder at the project root
mkdir build 
mkdir bin
  1. Change directory to build
cd build
  1. Build Makefile with CMake from source
  • This step can be skipped if it was ran previously
  • Or if a new library is created and needs to be included in the build
cmake -S ../ -B .
  1. Build with Makefile
cmake --build .
  1. Run the .exe
../bin/unicycle.exe

Resources

Setting up CMake

Inverted Pendulum

Relevant Math and Control Theory

About

Unicycle/Inverted Pendulum Simulator in C++

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published