Task planner asks explorer for next goal when no pirates