D-Point Trigonometric Path Planning based on Q-Learning in Uncertain Environments