Skip to content
This repository has been archived by the owner on Nov 16, 2023. It is now read-only.

[Feature]: Implement Pure Pursuit Controller #67

Closed
schwalga opened this issue Nov 30, 2022 · 2 comments · Fixed by #132
Closed

[Feature]: Implement Pure Pursuit Controller #67

schwalga opened this issue Nov 30, 2022 · 2 comments · Fixed by #132
Assignees
Labels
Acting enhancement New feature or request

Comments

@schwalga
Copy link
Contributor

Description

Implement node that calculates steering angle based on Pure Pursuit Controller

Definition of Done

Publishes correct steering angle based on Pure Pursuit Controller

@schwalga schwalga added enhancement New feature or request Acting labels Nov 30, 2022
@Julian-Graf
Copy link
Contributor

Test with Dummy Trajectory

@Julian-Graf Julian-Graf self-assigned this Dec 6, 2022
schwalga pushed a commit that referenced this issue Jan 7, 2023
schwalga pushed a commit that referenced this issue Jan 7, 2023
…ould be. Positions are only updated when there was a significant change.

Started filtering GPS signals.
schwalga pushed a commit that referenced this issue Jan 7, 2023
@schwalga schwalga self-assigned this Jan 7, 2023
@schwalga
Copy link
Contributor Author

schwalga commented Jan 7, 2023

While the pure pursuit controller appears to be working now, it can't be tested with the current state of the GPS sensor.
Since simple filters are not working, I created a separate issue to implement a more sophisticated filter.

After removing said simple attempt, this controller could be considered done.

@schwalga schwalga linked a pull request Jan 8, 2023 that will close this issue
7 tasks
schwalga added a commit that referenced this issue Jan 8, 2023
schwalga added a commit that referenced this issue Jan 8, 2023
schwalga pushed a commit that referenced this issue Jan 9, 2023
schwalga added a commit that referenced this issue Jan 9, 2023
schwalga pushed a commit that referenced this issue Jan 10, 2023
…ctory.

Added one more publisher for debugging.
schwalga pushed a commit that referenced this issue Jan 27, 2023
schwalga pushed a commit that referenced this issue Jan 30, 2023
schwalga pushed a commit that referenced this issue Jan 30, 2023
schwalga added a commit that referenced this issue Jan 31, 2023
# Description

This PR implements the pure pursuit controller. The first tests suggest,
that it is working as intended, however due to problems with the GPS
signal the car is not able to hold course at the moment.

While i tried fixing the problem at first under this issue, after a few
hours of trial and error I realise, that this warrants [a seperate
issue](#131). The documentation added in this PR gives a first overview
over the problem it will be amended with the final filter in #131. For
now I have left the simple filter added to `DummyTrajectorySub.py` so
that the controller can be tested by a reviewer.

Fixes #67
## Time invested

- 16h @schwalga (Most of the work has been done in 66-test due to a
misunderstanding (see cc59a2e))
- 7h @Julian-Graf 

## Type of change

- New feature (non-breaking change which adds functionality)

## Does this PR introduce a breaking change?

- No

## Most important changes

The most important file is `pure_pursuit_controller.py`

# Checklist:

- [x] My code follows the style guidelines of this project
- [x] I have performed a self-review of my own code
- [x] I have commented my code, particularly in hard-to-understand areas
- [x] I have made corresponding changes to the documentation
- [x] My changes generate no new warnings
- [x] I have added tests that prove my fix is effective or that my
feature works (might be obsolete with CI later on)
- [x] New and existing unit tests pass locally with my changes (might be
obsolete with CI later on)
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Acting enhancement New feature or request
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants