kreier / control_system_examples_2023

These are the files we used in class with the Sphero RVR for control

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Examples of Control Systems

These are the files we used in class with the Sphero RVR for control and API

Examples to use Feedback control Loops

  1. on/off control
  2. on/off control with tolerance
  3. proportional control
  4. proportional-integral control
  5. proportional-integral-derivative control, see PID controller on wikipedia

Platforms

Simulations

Landing a Rocket - simulation on replit

Landing a Rocket

Controlling a water valve - simulation on p5js

Water Valve

Controlling a robot arm to a specific angle just with torque - simulation on p5js

Robot Arm

With an updated PID feedback control loop the specific angle are reached relatively fast, as this simulation shows. You can analyze the angle over time with Desmos:

Desmos angles

About

These are the files we used in class with the Sphero RVR for control

License:MIT License


Languages

Language:Python 93.3%Language:JavaScript 6.7%