Text this: PID trajectory tracking control for mechanical systems