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

Robot config files #142

Open
calebchalmers opened this issue Sep 12, 2024 · 1 comment
Open

Robot config files #142

calebchalmers opened this issue Sep 12, 2024 · 1 comment
Assignees
Labels
feature New feature
Milestone

Comments

@calebchalmers
Copy link
Contributor

calebchalmers commented Sep 12, 2024

There are a lot of constants for our robots and currently, each robot has a large C++ header file with all the relevant constants. Considering how much overlap there is between robot types, it would be nice to have a hierarchical config system which would allow for us to layer more specific configs on top of general ones. Also, robots might have the need for constants relevant only to them, which is currently awkward with the header files.

Goals:

  • Nicer config files (probably YAML, JSON, or XML)
  • Hierarchy -- ability to have specific config files which specify a subset of properties on top of more general configs (e.g. you have a general config for Standard and specific configs for each driver).
  • Run-time config switching (e.g. to allow switching a robot to demo mode without re-flashing)
@calebchalmers
Copy link
Contributor Author

@anemone1321 @KaitlynWChang any ideas for how to go about this?

@calebchalmers calebchalmers changed the title Better constants management (config files?) Robot config files Nov 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature
Projects
None yet
Development

No branches or pull requests

4 participants