Skip to content

Introduction

The development documentation contains some useful pointers on how to set up the system as well as discussions of some common issues on setting up.

Project layout

mkdocs.yml          # Documentation configuration file.
docs/**             # Documentation files.
src/
    arduino_code  # Arduino code.
    cart_pendulum_data_*  # PID data for each set
Pendulum_Control_Console.py # Main initialising script
analysis_results            # Data analysis results.

Generating PID sets

I was simualting the cartpole environment with different PID sets, as predicted by Genetic Algorithms taking into reward with different weight 1. IAE (angle and position), 2. maximum angle deviation, 3. maximum position overshoot and 4. control effort

Here is the code for the same