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

AutoNav #175

Open
wants to merge 12 commits into
base: master
Choose a base branch
from
Open

AutoNav #175

wants to merge 12 commits into from

Conversation

mlists
Copy link
Contributor

@mlists mlists commented Mar 6, 2021

The AutoNav code has become the basis of our new auto routines, I think it should be reviewed separately so that expansions on it become more manageable.

autonomous/autonav.py Outdated Show resolved Hide resolved
autonomous/autonav.py Outdated Show resolved Hide resolved
reversed: bool

def __init__(self, points, reversed) -> None:
self.start, *self.waypoints, self.end = points
Copy link
Member

Choose a reason for hiding this comment

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

Since points isn't a homogeneous list, would it be better to just pass in start and end separately? (At which point it'd be worth making this a dataclass.)

utilities/path_follow.py Outdated Show resolved Hide resolved
utilities/path_follow.py Outdated Show resolved Hide resolved
Comment on lines +16 to +18
reversed: bool

def __init__(self, points, reversed) -> None:
Copy link
Member

Choose a reason for hiding this comment

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

Should reversed have a default?

@mlists mlists mentioned this pull request Mar 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants