Text this: Adaptive Gain PID Control for Mechanical Systems