Skip to content

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.

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.)

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