PID_5_Sensors

PID line follower library for multi-sensor arc configurations with dynamic Y-correction.

Author
birmanish
Maintainer
Christoper Bylan
Website
https://github.com/birmanish/PID_5_Sensors
Category
Sensors
License
MIT
Library Type
Contributed
Architectures
esp32, avr

Designed for robots using up to 7 analog sensors. Features: weighted centroid with encoder-based Y-correction, adaptive urgency Kp, built-in calibration (calibrationStart/Update/Finalize), configurable sensor count (setNbSensors), anti-debounce on isLost/isCrossing, edge detection (isEdgeRight/Left), single-call motor output (computeMotors), and debug helper (printState). Hardware-agnostic: bring your own sensor readings and motor outputs.

Downloads

Filename Release Date File Size
PID_5_Sensors-1.1.0.zip 2026-05-31 8.10 KiB
PID_5_Sensors-1.0.0.zip 7.59 KiB