lookahead distance in pure_pursuit should depend more parameters #2116
Labels
component:control
Vehicle control algorithms and mechanisms. (auto-assigned)
priority:high
High urgency and importance.
type:new-feature
New functionalities or additions, feature requests.
Milestone
Checklist
Description
In current implementation of Autoware Universe, lookahead distance in
pure_pursuit
just depend the velocity. This causes unwanted behaviors. For example, iflookahead_distance_ratio
is low, when lateral error high in beginning (think that vehicle in side of road), vehicle enters the road with high heading error. If you increase thelookahead_distance_ratio
to smoother entrance to road, It causes increasing lateral error in high curvature part of road.Purpose
To avoid this,
lookahead_distance
should depend more variables (like lateral error and curvature of road). This will make the pure_pursuit more tunable.Possible approaches
lookahead_distance = lookahead_distance_ratio * velocity + lateral_error_ratio * lateral_error - curvature_ratio * curvature
If there is high lateral error in curvature, you can increase the curvature_ratio, If vehicle enters the road with high heading error, you can increase the lateral_error_ratio for smooth entrance to road.
Definition of done
Proposed approach tested in real vehicle tests, worked well.
The text was updated successfully, but these errors were encountered: