Keyboard controlled robot

The problem is once I make an attempt at merging the two codes and I can only move te rover not the servo I have setup. Basically I've tried taking each section of servo code and putting it where I believed it belonged in the wasd control code. It all condenses however does not allow me to control servos and rover at same time.