Whenever calibrating the compass, try removing the camera first. This way, the gimbal isn't fighting to stay righted and doesn't hit "gimbal lock" while rotating the craft, all the while removing all of the electrical interference it creates. Works like a charm every time!