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

Interface the drivetrain class #2

Open
Lock-The-Door opened this issue Jan 9, 2024 · 0 comments
Open

Interface the drivetrain class #2

Lock-The-Door opened this issue Jan 9, 2024 · 0 comments
Assignees

Comments

@Lock-The-Door
Copy link
Contributor

The drivetrain code constantly freaking out is really concerning.

To prepare in advance, we should create a drivetrain interface with the same existing functions already implemented so we can easily swap out of the okapi lib if we need to.

As of writing this, the only important part of the class is the drive function which takes in two controller values to implement arcade drive and a getVelocity function which returns the current velocity.

@Lock-The-Door Lock-The-Door self-assigned this Jan 30, 2024
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

No branches or pull requests

1 participant