Enhancing Autonomous Robot Navigation Based on Deep Reinforcement Learning: Comparative Analysis of Reward Functions in Diverse Environments