My P3S made a hard landing which didn't affect flight or do any damage but since then the gimbal will not claibrate. The ribbon cable looks to be fine.
There is an obvious issue with the yaw arm setting its position, likely a sensor issue or some form of binding/misalignment of the arm/shaft. Depending on the severity of the crash you may have broken the sensor board. Less likely but worthy of investigation are the ribbon cable and connectors between gimble and AC.