udacity / fcnd-issue-reports

You can use this repository to file issue reports with the Flying Car Nanodegree content.
1 stars 4 forks source link

Potential Field Exercise #378

Open gabrcg opened 5 years ago

gabrcg commented 5 years ago

The attraction force equation is wrong both in the lecture as in the exercise. Instead of alpha(x - x_goal), it should be alpha(x_goal - x). Otherwise, the field will point away to the goal.