What is wrong with my turning pid

When I call my function turn Pid it does what I say for turning but turns back to its organically position and continues with the rest of the code I can’t figure out what is wrong

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.