Research on path generation and stability control method for UAV-based intelligent spray painting of ships