PID control library (in Python?)
Posted: Wed Jul 29, 2015 7:31 pm
Does the Pi Droid Alpha (PiDA) have a PID control library, preferably in Python?
I have 5v LED and logic wheel encoders on my current chassis (repurposed Rug Warrior Pro) which can be used to implement PID (Proportional-Integrative-Derivative) control of the DC motors.
Proportional control yields slow start, then rapid acceleration toward the target velocity, then tapered acceleration approaching the target velocity.
The benefits are smooth starts and stops, with straight paths forward or backward, and more accurate rotations.
Alan
I have 5v LED and logic wheel encoders on my current chassis (repurposed Rug Warrior Pro) which can be used to implement PID (Proportional-Integrative-Derivative) control of the DC motors.
Proportional control yields slow start, then rapid acceleration toward the target velocity, then tapered acceleration approaching the target velocity.
The benefits are smooth starts and stops, with straight paths forward or backward, and more accurate rotations.
Alan