A Cost-Effective Approach to Smooth A* Path Planning for Autonomous Vehicles