Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lookahead distance in pure_pursuit should depend more parameters #2116

Closed
3 tasks done
brkay54 opened this issue Oct 19, 2022 · 0 comments · Fixed by #2127
Closed
3 tasks done

lookahead distance in pure_pursuit should depend more parameters #2116

brkay54 opened this issue Oct 19, 2022 · 0 comments · Fixed by #2127
Assignees
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.

Comments

@brkay54
Copy link
Member

brkay54 commented Oct 19, 2022

Checklist

  • I've read the contribution guidelines.
  • I've searched other issues and no duplicate issues were found.
  • I've agreed with the maintainers that I can plan this task.

Description

In current implementation of Autoware Universe, lookahead distance in pure_pursuit just depend the velocity. This causes unwanted behaviors. For example, if lookahead_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 the lookahead_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.

@brkay54 brkay54 added the component:control Vehicle control algorithms and mechanisms. (auto-assigned) label Oct 19, 2022
@brkay54 brkay54 self-assigned this Oct 19, 2022
@BonoloAWF BonoloAWF added type:new-feature New functionalities or additions, feature requests. priority:high High urgency and importance. labels Oct 26, 2022
@xmfcx xmfcx added this to the Bus ODD Nov-Dec Milestone milestone Nov 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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.
Projects
No open projects
Status: Done
Development

Successfully merging a pull request may close this issue.

3 participants