Trajectory and spray control planning on unknown 3D surfaces for industrial spray painting robot