You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
computed_angle = angle_of_line(path[-10][0],path[-10][1],path[-1][0],path[-1][1])
In this line of code, why choose the tenth point from the bottom to calculate the Angle, and why not some other point? Can the value of "10" be changed? What is the basis for the modification?
The text was updated successfully, but these errors were encountered:
The 10 is a hyperparameter related to the overall length of the path to represent the angle.
With the last 10 points, we get an angle of the path entering the parking spot.
you can change the 10 value as long as it works but it should be the last points of the path.
computed_angle = angle_of_line(path[-10][0],path[-10][1],path[-1][0],path[-1][1])
In this line of code, why choose the tenth point from the bottom to calculate the Angle, and why not some other point? Can the value of "10" be changed? What is the basis for the modification?
The text was updated successfully, but these errors were encountered: