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

Pure pursuit ackermann vehicles controller #71

Merged
merged 26 commits into from
Apr 6, 2022

Conversation

luca-della-vedova
Copy link
Member

@luca-della-vedova luca-della-vedova commented Mar 3, 2022

New feature implementation

Implemented feature

This PR is a combined work of @codebot and @chianfern and reworks the ackermann controller to use a simpler approach based on pure pursuit.
Since it's a full refactor it will address pre-existing issues, specifically will close #53 and close #55

Implementation description

Together with the pure pursuit logic this PR adds:

ddengster and others added 24 commits September 29, 2021 16:47
Signed-off-by: ddengster <ed.fan@osrfoundation.org>
Signed-off-by: ddengster <ed.fan@osrfoundation.org>
Signed-off-by: Luca Della Vedova <luca@openrobotics.org>
Signed-off-by: Luca Della Vedova <luca@openrobotics.org>
Signed-off-by: Luca Della Vedova <luca@openrobotics.org>
Signed-off-by: Luca Della Vedova <luca@openrobotics.org>
Signed-off-by: Luca Della Vedova <luca@openrobotics.org>
Signed-off-by: Luca Della Vedova <luca@openrobotics.org>
Signed-off-by: Luca Della Vedova <luca@openrobotics.org>
Signed-off-by: Morgan Quigley <morgan@osrfoundation.org>
Signed-off-by: Morgan Quigley <morgan@osrfoundation.org>
Signed-off-by: Luca Della Vedova <luca@openrobotics.org>
Signed-off-by: Luca Della Vedova <luca@openrobotics.org>
Signed-off-by: Luca Della Vedova <luca@openrobotics.org>
Signed-off-by: Luca Della Vedova <luca@openrobotics.org>
Signed-off-by: Morgan Quigley <morgan@osrfoundation.org>
Signed-off-by: Morgan Quigley <morgan@osrfoundation.org>
Signed-off-by: Luca Della Vedova <luca@openrobotics.org>
Signed-off-by: Morgan Quigley <morgan@osrfoundation.org>
#68)

* Slotcar pursues a lookahead point on its path. Add display markers for Ignition.

Signed-off-by: Tan Chian Fern <chianfern@openrobotics.org>

* Add a short lifetime to waypoint markers

Signed-off-by: Tan Chian Fern <chianfern@openrobotics.org>

* New velocity compute function for Ackermann and differential drive

Signed-off-by: Tan Chian Fern <chianfern@openrobotics.org>

* Fix slowdown when turning, draw waypoint markers on path request, and cleanup.

Signed-off-by: Tan Chian Fern <chianfern@openrobotics.org>

* Handle very small displacements in velocity compute function and clear markers.

Signed-off-by: Tan Chian Fern <chianfern@openrobotics.org>

* Increase close_enough when holding and rotating towards next waypoint to accommodate slight translation due to rotation.

Signed-off-by: Tan Chian Fern <chianfern@openrobotics.org>

* Cleanup

Signed-off-by: Tan Chian Fern <chianfern@openrobotics.org>

* Fix slotcar not moving in gz due to very small velocity changes not taking effect.

Signed-off-by: Tan Chian Fern <chianfern@openrobotics.org>
Signed-off-by: Luca Della Vedova <luca@openrobotics.org>
Signed-off-by: Luca Della Vedova <luca@openrobotics.org>
@luca-della-vedova luca-della-vedova added this to In Review in Research & Development via automation Mar 3, 2022
Copy link
Member

@aaronchongth aaronchongth left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry for the delay! The refactor is looks great! I've so far tested on diff drive robots, but I think knowing other projects have been using the ackermann drive, I think we can safely merge this. Thanks!

@codebot codebot merged commit f943c8c into main Apr 6, 2022
Research & Development automation moved this from In Review to Done Apr 6, 2022
@codebot codebot deleted the feature/pure_pursuit_controller branch April 6, 2022 05:07
@luca-della-vedova luca-della-vedova restored the feature/pure_pursuit_controller branch April 6, 2022 05:08
@luca-della-vedova luca-della-vedova deleted the feature/pure_pursuit_controller branch July 1, 2022 03:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
5 participants