Controlling Servo with a PS4 controller

I guess there is some incompatibility between Servo.h and one of the other libraries you have included. You could add them to your simple code one by one until it stops working. Or it may be a timer problem so you could change Servo.h to ServoTimer2.h and see if that helps.

But just for interest why do you want to to keep on writing 180 to your servo over and over and over again? That doesn't seem likely to do any useful steering.

Steve