-
Notifications
You must be signed in to change notification settings - Fork 0
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
Correct swerve configuration #53
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
switch (corner) { | ||
case FRONT_LEFT: | ||
invertTurn = false; | ||
invertDrive = false; | ||
break; | ||
case FRONT_RIGHT: | ||
invertTurn = true; | ||
invertDrive = false; | ||
break; | ||
case BACK_LEFT: | ||
invertTurn = true; | ||
invertDrive = false; | ||
break; | ||
case BACK_RIGHT: | ||
invertTurn = false; | ||
invertDrive = true; | ||
break; | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ew.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
would you prefer I use a hashmap
We should also look into updating the PIDF constants for the krakens |
* feat: update swerve config for krakens and adjusted inversion (#53) * fix: dio ports * feat: use new beam breaks * feat: updated drivetrain constants --------- Co-authored-by: Zach Rutman <zarutman+git@gmail.com> Co-authored-by: Simon Weil <113215817+WeilSimon@users.noreply.github.com>
No description provided.