I made a PID loop with a sort of straight line assist and I don't know if I did it right

This is a really good example of what I was referring to by combining PID controllers