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

Improved readability of DRIVE_WHEEL_TYPE enum #14

Merged
merged 2 commits into from
Nov 1, 2024

Conversation

KfirNeuman
Copy link
Contributor

Improved readability of DRIVE_WHEEL_TYPE enum

I changed the DRIVE_WHEEL_TYPE enum so that it uses a field for the wheel grip instead of a switch case. This should make it easier to read as all of the information is contained within the enum, and should it easier and safer to add more wheel types.

@catr1xLiu catr1xLiu merged commit 87ac146 into Shenzhen-Robotics-Alliance:main Nov 1, 2024
@catr1xLiu
Copy link
Contributor

Beautiful work, and thanks a lot for contributing!

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