Text this: Path planning algorithm of unmanned aerial vehicle