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

Create a hardware map file #3

Open
jasonsoohoo opened this issue Aug 19, 2023 · 0 comments
Open

Create a hardware map file #3

jasonsoohoo opened this issue Aug 19, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@jasonsoohoo
Copy link
Member

  • Create a file of constants that defines all of our hardware-specific numbers.

The robot is full of code that can be reused. A way to ensure reusability is by not hard-coding values directly in the middle of our function bodies. By replacing numbers deep in code with solidly named variables we can place all of our hardware-specific / environment variables inside of a single file. This means a user can change things like motor controllers, pneumatic modules, and sensors without having to dive into the code base. All of our configurations will be available from a single location.

@jasonsoohoo jasonsoohoo added enhancement New feature or request good first issue Good for newcomers labels Aug 19, 2023
@jasonsoohoo jasonsoohoo added this to the Initial Structure milestone Aug 19, 2023
@jasonsoohoo jasonsoohoo self-assigned this Oct 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

When branches are created from issues, their pull requests are automatically linked.

1 participant