PID controlled Unicycle/Inverted Pendulum Simulator in C++
- Install Git
- Install CMake
- Install C++ compiler
git clone https://github.com/gavintranquilino/ml-unicycle.git
- Create a build/ and bin/ folder at the project root
mkdir build
mkdir bin
- Change directory to build
cd build
- 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 .
- Build with Makefile
cmake --build .
- Run the .exe
../bin/unicycle.exe
- Setting up CMake: Code, Tech, and Tutorials
- OpenAI gym: cartpole
- jasleon: Inverted-Pendulum
- Karooza: Modelling an inverted pendulum
