Not sure how to tell if the "Pitch" and "Yaw" connectors are reversed...…… /QUOTE]
First thing is to pull out the Yaw connector (Blue in your picture). Most cameras did not have enough wire on it to reach other connectors without dismounting the board and rerouting. If this one can only reach the Blue socket, then look under the board to see if you can follow the wire to the sensor. Its underneath the support, just behind the socket.
Otherwise, remount the roll motor, yoke assembly, and roll sensor. (No need to install covers) You can then unplug the sensors one at a time to see if each produces the proper code when powered back up. I would not recommend intentionally cross connecting them unless needed to resolve a question. I have done it, and not suffered consequences, but have not done it enough to state that no harm is possible.
..........., it looks like they no longer label the board like your image coder Y,R,P
I don't think Yuneec color coded them at all. At least not on a routine basis. The colors in the document are just what I added as an example. I've seen informal looking color coding on lots of Yuneec stuff. If you did not add the color in your last Picture, it's presence on the exact connectors in question would suggest a previous attempt to correct the issue.
One other oddity I recall. You would assume that the code sounds would match exactly what you unplug, or two would sound if two were unplugged. I recall that not being the case. In different combinations, you may get only one code when you expect two, etc. When all three are correctly connected and functioning, you get one correct code for each single item unplugged. That's about the only reliable reference I recall.