You wrote a PID controller for a virtual turret? Why? It’s virtual you can go open loop and the delay is negligible.
You don’t need a feedback loop here.