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

[FEATURE] Minor Updates Through Overwriting config.json #128

Open
5 tasks
Tracked by #88
Mikefly123 opened this issue Jan 31, 2025 · 0 comments
Open
5 tasks
Tracked by #88

[FEATURE] Minor Updates Through Overwriting config.json #128

Mikefly123 opened this issue Jan 31, 2025 · 0 comments
Labels
enhancement New feature or request

Comments

@Mikefly123
Copy link
Member

Mikefly123 commented Jan 31, 2025

Story

  • As a Mission Operator.
  • I want be able to overwrite the configuration settings of the satellite.
  • So that I can change its behavior in flight without updating any of the code in runtime.

Acceptance Criteria

  • Add a new command to cdh.py that handles configuration updates
  • Add a new command to cdh.py that returns the current version and last modified date of the software and config files
  • Add to config.py a way to temporarily update a configuration variable (in RAM until the next reset)
  • Add to config.py a way to permanently overwrite a configuration variable in config.json (update that is persistent through resets)
  • Implement out of range error handling to block configuration updates that could create unhandled exceptions

Technical Details

Changing configuration variables is one of the safer ways to change the behavior of the satellite without having to inject new code into the runtime. This can include very simple changes like changing the critical_battery_voltage to a different value or more significant changes like changing the frequency that the radio is operating on.

One of the things to potentially consider when implementing this framework is thinking about how to handle safely updating configuration settings to ensure that there is a minimal risk that a user might accidentally push and update that will end up locking them out of the system. Thinking about how to architect that will probably be the bulk of the difficulty of this task.

Required Hardware

  • Any Version of the Flight Controller Board
@Mikefly123 Mikefly123 added the enhancement New feature or request label Jan 31, 2025
@Mikefly123 Mikefly123 changed the title Minor Updates Through Overwriting config.json [FEATURE] Minor Updates Through Overwriting config.json Jan 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant