These are the files we used in class with the Sphero RVR for control and API
- on/off control
- on/off control with tolerance
- proportional control
- proportional-integral control
- proportional-integral-derivative control, see PID controller on wikipedia
- VEX VR https://vr.vex.com
- Sphero RVR
- Motorized arm: both https://p5js.org and physical VEX V5
- TemperatureControlSimulator in https://p5js.org
Landing a Rocket - simulation on replit
Controlling a water valve - simulation on p5js
Controlling a robot arm to a specific angle just with torque - simulation on p5js
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: