A local trajectory planning and control method for autonomous vehicles based on the RRT algorithm