Open gabrcg opened 6 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.
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.