Unfortunately I'm currently not at home. So, cannot check the yaw encoder. I have only a picture of the roll encoder but I think it is the same. GND should be easily to be identified. The other 2 wires are +3.3V and the PWM signal, usually a thin pad with decoupling resistance.